Chat widget

Paste this before </body> on your site. Your widget key is in Settings, Channels.

<script src="https://helpbat.officebats.com/widget.js" data-key="wk_..." async></script>

What visitors get

  • A launcher button in your brand colour, left or right.
  • A pre chat form: name, email (required by default, so you can reply if they leave) and their question.
  • Live replies with typing indicators both ways.
  • File upload (same types and sizes as email).
  • When nobody is online, the conversation still becomes a ticket and the visitor is told the reply comes by email.
  • Links to your help center.

What agents see

Chats arrive in the inbox on the chat channel. The ticket shows the pages the visitor viewed, whether they are still on the site, and when they are typing. Replies on chat go out at once (no undo window). If the visitor has left, the reply is emailed.

Allowed sites

List the origins that may use your widget in Settings, Channels, like https://www.example.com or *.example.com. When the list is empty any site can load it; set it before you go live.

The AI agent

Turn on the AI agent for chat in Settings, AI. It answers from published public articles and hands off to a person when it is not confident enough, when the visitor asks for a person, or after two answers. See AI.