Guide, not a native app
HTML website
Open the template that renders the page, paste the snippet from Connect agent immediately before </body>, and deploy. Any static site, custom backend, or docs host that can load a third-party script uses this path. Hosted GitBook docs are not in that set: they do not allow custom JavaScript.
If the widget never appears, confirm the UUID in the src and that the browser actually requested /embed.js. There is no second Heeya file such as /static/js/widget.js. For Docusaurus, the script belongs in site config, not a plugin: see add an AI chatbot to Docusaurus. For GitBook as a knowledge source rather than a widget host, see add an AI chatbot to GitBook.