Chatbot

Embedding the Widget

Add the floating chat bubble to your website with a single script tag.

Copy your script tag

From your chatbot's dashboard page, copy the provided script tag and paste it anywhere in your site's HTML, ideally just before </body>. No build step, no npm package, it works on any site that can include a script tag: WordPress, Shopify, a custom-built site, anything.

<script src="https://xara.bot/api/chatbot/YOUR_API_KEY" async></script>
The widget only responds to requests coming from *.xara.bot or the Website Url configured on your chatbot, so a naive scraper can't reuse your key from an unrelated site. If you want to test from localhost before your site is live, enable "Allow local dev calls" on the chatbot's details page first.