Skip to content

Add the chat widget to your website

Paste one line of code to show a chat bubble that answers visitors from your database, with allowed sites and a live test.

The website widget is a chat bubble you add to your site or app. Visitors ask questions and get answers from your connected database, with prices and order links.

Turn it on

  1. Open Website widget and switch it On.
  2. Set the title, greeting, colour and position, then Save changes.
  3. Make sure the assistant is switched on from the dashboard (it needs an active plan and at least one AI key).

Install the code

Copy the Embed code and paste it just before the closing </body> tag of every page where the chat should appear:

<script src="https://YOUR-API/api/v1/widget/embed.js" data-key="wk_xxxxxxxxxxxx" async></script>

It works with plain HTML, WordPress, Shopify, Webflow, Next.js, React and any other site builder that lets you add a script.

Restrict where it works

The widget key is public (it is part of your page source). Under Allowed sites list your domains, one per line, for example https://myshop.com. Requests from other sites are rejected. Leave it empty to allow any site.

If the key is abused or leaked, use New key — the old code stops working immediately.

Test it

The Live test panel uses the same endpoint as real visitors, so you see exactly what customers see: answers, product cards and order buttons.

Take over a conversation

Website chats appear under Conversations with a web label. Turn on human takeover to pause the assistant and reply yourself — visitors see your message in the widget within a few seconds.

Language

The assistant replies in the language the visitor writes in. You can set a preferred language in the bot settings if you want to force one.

Was this guide helpful?