Website chat widget
In the console, open your project → Go live. Turn on website chat, list the websites allowed to use it, and copy the snippet.
The chat button
Section titled “The chat button”Paste the snippet before </body> on every page where you want it:
<script src="https://chat.beru.airesearchlabs.si/widget.js" data-beru-key="beru_pk_…" async></script>A button appears in the bottom-right corner and opens the chat. It’s about 5 KB, works on phones, and your page’s styles can’t break it.
Options
Section titled “Options”| Attribute | What it does |
|---|---|
data-beru-key |
Required: your project’s public key from Go live. It can only chat |
data-beru-color |
The button and visitor-message colour, e.g. #0a7a60 |
data-beru-avatar |
An https image shown on the button and beside the assistant’s name |
data-beru-mode="page" |
Fill an element with id beru-root instead of showing a button |
The hosted chat link
Section titled “The hosted chat link”Go live also gives you a link to a full-page chat, with a QR code, for emails, social media or a sign on your front desk. Nothing to install.
Settings (Go live)
Section titled “Settings (Go live)”- Allowed websites: only these sites can use your key; up to 20,
httpsonly. - Assistant name and greeting.
- Show sources: off by default. Turn it on to show visitors which document and page each answer came from.
- Answer length: short or standard.
- Remember visitors: keep facts a visitor shares for their next visit, in that browser.
- “Powered by Beru”: always shown on Try; can be hidden on Build and Scale.
- Turn off chat / Turn on chat: stops or restarts the button and the link at once.
What visitors see
Section titled “What visitors see”Answers come only from your shared documents, never from other visitors or private documents. A conversation lasts for the visit in that browser tab, so follow-up questions work. Visitors can rate answers; ratings and unanswered questions show up in your Unanswered inbox.