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.
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.
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:
- Open your page (or the shared layout/footer file).
- Paste the code just before </body>.
- Save and upload.
- Install a header & footer code plugin, for example WPCode.
- Open its Header & Footer screen and paste the code into the Footer box.
- Save. It now shows on every page.
- Open your site dashboard → Settings → Custom Code.
- Click Add Custom Code and paste the code.
- Choose All pages and place it in Body - end, then Apply.
- Online Store → Themes → ⋯ → Edit code.
- Open layout/theme.liquid.
- Paste the code just before </body> and Save.
- Open your main layout (for Laravel usually resources/views/layouts/app.blade.php).
- Paste the code just before </body>.
- Deploy as usual.
Check that it works
- Open your site in a private window. The chat bubble shows in the corner.
- Send a test message.
- 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.
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>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");<?php
// On YOUR server only. Never put the secret in browser code.
$signature = hash_hmac('sha256', (string) $user->id, getenv('SUPPORTBATON_IDENTITY_SECRET'));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>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.