Widget embed
The Envomate chat widget is a single script tag plus your tenant public key. It renders a floating bubble on any page and forwards conversations to the same AI pipeline as WhatsApp.
Get your widget key
Each company has one widget key. It is safe to put in browser code: the widget only opens on websites you have allowed (below), and it cannot read your dashboard data. A new key is shown once, to an admin, when the key is rotated; until the dashboard has a page for it, the Envomate team gives you your key during onboarding.
Allow your website
In the dashboard, open AI Persona → Widget websites and add every site the widget will run on, as https:// plus the domain with no path (for example https://www.yourshop.co.id). Up to 20. The widget refuses to connect from any other site, so a copied key is useless elsewhere. Only admins can change this list.
Add the widget to your pages
The widget is one script, widget.js, built from the Envomate widget package and served from your Envomate deployment. Load it just before the closing </body> tag, then start it with your key:
<script src="https://<your-envomate-host>/widget.js"></script>
<script>
window.Envomate.initWidget({
widgetKey: "<your widget key>",
apiBase: "https://<your-envomate-api-host>",
});
</script>position ("bottom-right" or "bottom-left") and primaryColor are optional. A shorter form, <script src="…/widget.js" data-public-key="…">, mounts the widget on its own once your deployment includes the auto-mount release; until then use initWidget as above.