HomeGuidesAPI ReferenceRelease notes
Log In
Guides

Embed your app

Once you build and deploy an application, whether it’s based on our native studio or your external registered agent, SUPERWISE® provides an easy way to embed your deployable application.
Users have three out-of-the-box embedding options:

📘

Notice

The supplied code snippets differ depending on whether the application is configured to require authentication or not. Therefore, if you change your authentication settings, please make sure to update your code snippet accordingly.


SDK

If you are a Python developer, this will be the best option for you. Use our SDK to query the deployable application.

To get started with the SDK, please visit here.

API

If you use the deployable application as a backend service and want to develop automation based on it or build your own UI on top, and you are not a Python developer, use our REST API “ask” endpoint. The provided code snippet includes an example of how to query the API.

IFrame

SUPERWISE provides an out-of-the-box chat client experience. The iframe includes a built-in UI for chatting with the deployable agent, feedback buttons, and relevant interactions to enable a good, usable generic chat experience. Simply embed the IFrame code snippet in your website, and you will get a fully functional chat experience already connected to our deployed backend.

🚧

Use in trusted domains only

Ensure that your website and the iframe are running on trusted domains to maintain the security of the API token.

💪

Give It a Try!

You can test the iframe by using the React code example and embedding it in this React playground. Just make sure to insert your Application ID and API key.

Done! Just like that, your application is now live and accessible to your users right within the comfort of your own platform.