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.
<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:
e.async = 1;
document.getElementsByTagName("head")[0].appendChild(e);
})();
</script>