Install guide

Add the chat to your website

One line of code, no server setup. It works on any site that lets you add a script: plain HTML, WordPress, Wix, Shopify, Laravel and more.

1

Get your widget key

Create a free workspace, then open Settings → Install the chat widget. The line there already has your key in it, ready to copy.

2

Paste one line

It looks like this, with your own key:

<script src="https://supportbaton.oyolloo.com/widget.js" data-key="your-widget-key" async></script>

Where it goes on your platform:

  1. Open your page (or the shared layout/footer file).
  2. Paste the code just before </body>.
  3. Save and upload.
3

Check that it works

  1. Open your site in a private window. The chat bubble shows in the corner.
  2. Send a test message.
  3. It appears in your workspace’s inbox. Reply from there and the answer shows on your site.

Before the AI can answer, add knowledge (pages, files, FAQs) in your workspace. Until then, chats go to your team.

4

Optional: show who is chatting

If your site knows the visitor (they are logged in), add their name and email to the same line. Your team sees them in the inbox, marked Unverified, because anyone could type them.

<script src="https://supportbaton.oyolloo.com/widget.js" data-key="your-widget-key"
  data-user-name="Jane Doe" data-user-email="jane@example.com" async></script>
5

For developers: verified users

To mark a logged-in user as Verified, your server signs their id with your identity secret (Settings → Install the chat widget → Advanced; admins only). The secret must never be in page code. A wrong signature is ignored and the chat stays anonymous.

Sign the id on your server

// On YOUR server only. Never put the secret in browser code.
const crypto = require("crypto");
const signature = crypto
  .createHmac("sha256", process.env.SUPPORTBATON_IDENTITY_SECRET)
  .update(String(user.id))
  .digest("hex");

Pass it to the widget

<script src="https://supportbaton.oyolloo.com/widget.js" data-key="your-widget-key"
  data-user-id="{user.id}" data-user-email="{user.email}"
  data-user-name="{user.name}" data-user-signature="{signature}" async></script>
6

If something is wrong

The chat bubble does not show
Check that data-key is exactly the key from Settings, and that the line sits just before </body> on the page you are looking at.
It shows on some pages only
The line was added to one page instead of the shared layout or footer. Move it to the file every page uses.
I added it but nothing changed
A cache plugin or CDN may still serve the old page. Clear the cache, then reload.
My site uses a Content-Security-Policy
Allow https://supportbaton.oyolloo.com in script-src and connect-src, or the browser blocks the widget. Images in chats come from our file storage, so img-src must allow https: images too.