activepieces
, which has a method called configure
that you should call after the container has been rendered.
async
or defer
attributes.configure
returns a promise which is resolved after authentication is done.Parameter Name | Required | Type | Description |
---|---|---|---|
prefix | ❌ | string | Some customers have an embedding prefix, like this <embedding_url_prefix>/<Activepieces_url> . For example if the prefix is /automation and the Activepieces url is /flows the full url would be /automation/flows . |
instanceUrl | ✅ | string | The url of the instance hosting Activepieces, could be https://cloud.activepieces.com if you are a cloud user. |
jwtToken | ✅ | string | The jwt token you generated to authenticate your users to Activepieces. |
embedding.containerId | ❌ | string | The html element’s id that is going to be containing Activepieces’s iframe. |
embedding.builder.disableNavigation | ❌ | boolean | Hides the folder name and back button in the builder, by default it is false. |
embedding.builder.hideLogo | ❌ | boolean | Hides the logo in the builder’s header, by default it is false. |
embedding.builder.hideFlowName | ❌ | boolean | Hides the flow name and flow actions dropdown in the builder’s header, by default it is false. |
embedding.dashboard.hideSidebar | ❌ | boolean | Controls the visibility of the sidebar in the dashboard, by default it is false. |
embedding.hideFolders | ❌ | boolean | Hides all things related to folders in both the flows table and builder by default it is false. |
navigation.handler | ❌ | ({route:string}) => void | If defined the callback will be triggered each time a route in Activepieces changes, you can read more about it here |