Docs are in the process of being written - some pages may be empty. If you can’t find something, please refer to the source code in GitHub repository or contact support.

JavaScript

An easy way to add an assistant to your website is to use a script tag. It’s a simple copy and paste operation and you are good to go.
index.html
<script type="text/javascript"> (function() { window.superinterface = window.superinterface || {}; window.superinterface.publicApiKey = "{{apiKey}}"; window.superinterface.assistantId = "{{assistantId}}"; const e = document.createElement("script"); e.src = "https://superinterface.ai/javascript/ThreadDialogFilesEnabled.js"; e.async = 1; document.getElementsByTagName("head")[0].appendChild(e); })(); </script>