🖼️ Web-widget (iframe) - embed
Dockflow Web Widget (iframe)
The Dockflow Web Widget allows you to embed our web application seamlessly into your website. This documentation provides guidance on how to integrate and customize the widget.
Integration
To integrate the Dockflow Web Widget into your website, follow these steps:
- Obtain your Web Widget API Key from Settings > Organisation > Web Widget API Key in the Dockflow application.
- Embed the following iframe code into your HTML page:
<iframe src="https://widget.dockflow.com?key=YOUR_API_KEY_HERE" width="600" height="400" frameborder="0"></iframe>
Replace YOUR_API_KEY_HERE
with your actual API key obtained in step 1.
Arguments
The following arguments can be appended to the widget URL:
key
: (mandatory) Your Web Widget API Key.search
: (optional) A reference to search for within the Dockflow application.hash_search
: (optional) A SHA256-hashed reference to search for. This is useful for preventing users from manually searching other files.
Example Usage
- Basic usage with only the mandatory
key
argument:
https://widget.dockflow.com?key=YOUR_API_KEY_HERE
- Usage with additional search reference:
https://widget.dockflow.com?key=YOUR_API_KEY_HERE&search=reference
- Usage with SHA256-hashed search reference:
https://widget.dockflow.com?key=YOUR_API_KEY_HERE&hash_search=hashed_reference
Customization
You can customize the appearance and behavior of the widget by modifying the iframe attributes such as width
, height
, etc. Additionally, you can apply CSS styles to the widget container on your website to further customize its appearance.