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 = "dc703d26-e6dd-4528-8a2f-2f2ea41af366"; window.superinterface.assistantId = "38e512f1-cba5-4a17-bac1-7a16fd03aa65"; const e = document.createElement("script"); e.src = "https://superinterface.ai/javascript/ThreadDialog.js"; e.async = 1; document.getElementsByTagName("head")[0].appendChild(e); })(); </script>