Embed an App

It is possible to embed an app even if it is not a native feature. However, you can embed an app using iframes. Let's see how to do so!

The Embed SDK is not available with iframes, therefore, it is not usable with an embedded Toucan app.

1. Get the URL of your app

First, you have to the URL of your app. You can find it in your browser's URL bar.

You should get something similar to:

https://solution.toucantoco.com/breezy-v3

2. Create the iframe

Once you have your URL, you can create an iframe using this as src attribute:

<iframe src="https://solution.toucantoco.com/breezy-v3" width="100%" height="100%"></iframe>

3. Authenticate your iframe

Now, you have to pass down your authentication token to identify your users for this app. To do so,

please follow the authentication documentation and then pass it down in your script with the URL parameter embed_token.

<iframe src="https://solution.toucantoco.com/breezy-v3?embed_token=OPAQUE_TOKEN" width="100%" height="100%"></iframe>

Congrats! ๐ŸŽ‰

You know how to embed a Toucan app within your application!

Last updated