Docs
ChangelogالعربيةDashboard
DocumentationAPI reference
DocumentationChat widget
  • Introduction
  • Core concepts
    • Quick Start
  • Nabrah Agents overview
    • Agents
    • Custom tools
    • Knowledge base
    • Analysis groups
    • Follow-ups
    • Inbound services
    • Outbound services
    • Call logs
    • Plugins overview
    • Web-call widget
    • Chat widget
  • Nabrah CX overview
    • Insights overview
    • AI insights
    • Voice insights
    • WhatsApp insights
    • Email insights
    • WhatsApp
    • WhatsApp templates
    • WhatsApp campaigns
    • Instagram
    • Email inbox
    • Saved replies
    • Ticketing
    • Contacts
  • Nabrah Studio overview
    • Text to speech
    • Pronunciation dictionaries
    • Speech to text
    • Conversational STT
    • Voice cloning
    • Voices
  • Account
  • Workspace & teams
    • TTS-V1
    • TTS-V2
    • STT-V1

Integrations

Chat widget

The Chat widget adds a chat window to your website. Your agent answers first, your team steps in when needed, and every conversation lands in your inbox.

Screenshot 2026-10-20 084412.png

Creating a widget

Open Agents → Integrations → Plugins, choose Chat widget and click New chat widget. Setup runs through five steps, with a live preview beside them the whole way.

The Chat widget page lists your widgets as cards, each with a small preview, its agent and a Web calls label when voice is on.

Step 1: Setup

Field

Description

Name

A label to recognize this widget later, up to 120 characters. Visitors don't see it

Agent

The agent that answers chats on this widget. Type in Search agents to find it in a long list

Display name

An optional label shown in your inbox, so your team can tell this widget apart. Visitors don't see it

Auto-close conversations after

How long a conversation stays open once the visitor goes quiet, from 1 to 24 hours. Default: 2 hours

Bot replies per chat

After this many agent replies, the chat goes to your team, or closes if no one can take it. 1 to 200. Default: 40

When you edit a saved widget, Widget enabled turns it off and on. When off, the widget disappears from every site that uses it.

Screenshot 2026-10-20 085318.png

Tools on this widget

The agent's tools are listed here, each with its own switch. Pick an agent first. The list is empty until you do. Tools you add to the agent later start off here until you turn them on.

Website visitors aren't verified. Tools that rely on a verified phone number get none on web chat, so turn on only what's safe for the public.

Allowed websites

Only the sites you list can load the widget. Separate them with commas, for example https://example.com, https://www.example.com. You can list up to 50 sites.

Set this before you go live. The embed code is public on your page. If the list is empty, anyone can copy your snippet and run your widget and spend your usage on their own site.

Handing off to your team

Turn on Allow referring to a human and choose who takes over.

Mode

What happens

Anyone available

Any teammate connected to this inbox

Specific people

Always hands over to the people you list

By department

The agent reads the conversation and picks the right team

Screenshot 2026-10-20 085035.png

For Specific people and By department, each person has their own availability hours. A live line at the bottom of the panel shows the current time and whether anyone is reachable right now, so you can see at a glance whether a handoff would reach someone.

Screenshot 2026-10-20 085047.png
If you use departments, keep the descriptions broad. The agent must pick a department every time, and it sees only the text in When should the AI choose this? and nothing else. If no description matches what the visitor is asking, nobody is contacted.
Screenshot 2026-10-20 085108.png

Step 2: Design

Start from a template, then adjust whatever you want. Your texts are kept when you switch templates.

Templates — eight ready-made styles: Help Center, Messenger, Islands, Clay, Assistant, Pastel, Wave, and Noir.

Screenshot 2026-10-20 085624.png

Position & size — which corner the launcher sits in, and how big it is.

Brand & theme — brand color, theme (Auto, Light, Dark), font, corner radius, shadow, and a frosted glass effect. Language can be fixed to English or Arabic, or left on Automatic to follow each visitor's browser.

Screenshot 2026-10-20 085630.png

Launcher button — shape, icon or image URL, spacing, and whether it shows on mobile. A Teaser message puts a short bubble beside the button after a delay you set, and the widget can open on its own after a number of seconds (0 means never).

Screenshot 2026-10-20 085638.png

Chat window — width, height, and full screen on mobile.

Header — style, title, subtitle, status text and icon, avatar, and whether to show the team member's name after a handoff.

Messages — chat background, bubble shape, separate colors for visitor and reply bubbles and text, avatars, timestamps, and how the welcome message and notices are displayed.

Message box — bar or card style, send button, and whether visitors can send voice messages.

Hiding Powered by Nabrah.Ai is available on Enterprise plans.

Undo, redo and reset buttons sit at the top of the step.

Step 3: Texts

Six pieces of text visitors read, each with an English and an Arabic field side by side:

  • Welcome message

  • When no one is available

  • When a chat ends

  • Pre-chat intro

  • Message box placeholder

  • New chat button

Screenshot 2026-10-20 090220.png

Leave a field empty to use the default shown. Which language a visitor sees follows the Language setting in Design. On Automatic, the widget uses Arabic on Arabic websites, otherwise the visitor's browser language.

These texts are the widget's own wording. What your agent says comes from the agent itself, so if the widget is in Arabic but the agent replies in English, visitors see both. Set the agent's language to match.

Step 4: Pre-chat

Ask visitors for their details before their first message.

Turn on Show the pre-chat form, then set Name, Email and Phone to Hidden, Optional or Required. Consent text adds a checkbox visitors must tick before they can start.

Screenshot 2026-10-20 090454.png
Visitor details aren't verified. A visitor can type any name, any email, any number. Treat these as a way to reach someone back, never as proof of who they are.
Asking for an email or phone number means collecting personal data. Fill in the consent text and point it at your privacy policy before you turn those fields on.

Step 5: Voice

Let visitors call the agent adds an AI orb to the chat. Visitors tap it to start a voice call without leaving the widget.

  • The same agent answers chats and calls

  • Calls work exactly like the Web-call widget

  • Calls use your call minutes

Show the call screen adds a Call state to the preview so you can see what visitors get. Choose an agent in Setup first. Voice calls can't be turned on without one.

Screenshot 2026-10-20 090756.png

Click Create widget when you're done. Your chat widget is ready shows the embed code to paste on your site.

The live preview

The panel beside every step shows the widget exactly as visitors will see it, updating as you type. Switch between:

  • Conversation, Pre-chat, No one available, Chat ended — and Call when voice is on

  • English and Arabic

  • Light and dark

  • Desktop and mobile

The offline and chat-ended states are the hardest to test on a live site, so check them here before you publish.

Adding the widget to your site

Once the widget is created, an Install tab appears.

<script
  src="https://app.nabrah.ai/webchat/v1.js"
  data-widget-id="wch_xxxxxxxxxxxxxxxxxxxxxx"
  data-api-base="https://api.nabrah.ai"
  async
></script>
  1. Copy the code.

  2. Paste it just before the closing </body> tag on every page where the chat should appear.

  3. Add your site to Allowed websites, then open your site to check it.

Screenshot 2026-10-20 091344.png
Design changes don't need a new snippet. The appearance is served from Nabrah, so edits apply to your live site as soon as you save. (The Web-call widget is different: its button settings are part of the snippet, so changing how its button looks needs a new snippet.)

Test on this page loads the live widget inside Nabrah so you can send a real message. Add https://app.nabrah.ai to your allowed websites first.

Sign out all visitors ends every visitor's session on this widget. Their next message starts a new conversation. Use it if a link or device may have been shared, or after a change you want everyone to see fresh.

Handling conversations

Chats appear in CX → Inbox → Web chat, where your team reads and replies. A chat reaches them when the agent hands off, when it hits the Bot replies per chat limit, or when a visitor asks for a person.

Type / in the message box to insert a saved reply. The Saved replies tab on the same page is where you add and edit them. The Settings tab lists your chat widgets and opens each one's customizer.

Troubleshooting

Symptom

Cause

Fix

The widget doesn't appear

The snippet is missing, or the site isn't in Allowed websites

Check the snippet sits before </body>, and add the exact site

Test on this page does nothing

https://app.nabrah.ai isn't in Allowed websites

Add it, then test again

The agent doesn't reply

No agent is selected in Setup

Pick one

Chats never reach the team

Allow referring to a human is off, or nobody is available

Turn it on, and check the availability line in the handoff panel

A department handoff contacts nobody

No department description matched the conversation

Broaden the descriptions in When should the AI choose this?

The widget is in Arabic but replies come in English

The agent's language doesn't match the widget's

Set the agent's language, or fix Language in Design

A tool returns nothing on web chat

It relies on a verified phone number

Web chat has no caller number to check, so turn the tool off here

Check the allowed websites

A site isn't a full address, or there are more than 50

Write each as https://example.com, up to 50 sites

Web chat is turned off for this workspace

Web chat isn't enabled for your workspace

Contact us to turn it back on

Voice calls are turned off for this workspace

Voice calls aren't enabled for your workspace

Contact us to turn them on

Choose an agent in Setup to turn on voice calls

No agent is selected

Pick an agent in Setup, then return to Voice

Frequently asked questions

Do design changes reach my live site? Yes. The design is served from Nabrah, so changes apply as soon as you save. The snippet stays the same.

Can I turn a widget off without deleting it? Yes. Edit the widget and turn off Widget enabled in Setup. It disappears from every site until you turn it back on.

Where do I answer chats? In CX → Inbox → Web chat. Use / in the message box for saved replies.

Who can create and change chat widgets? Members with edit access to API keys in their workspace permissions. Answering chats needs edit access to Web chat.

Last updated November 25, 2026

PreviousWeb-call widgetNextNabrah CX overview
© 2026 Nabrah. All rights reserved.
ChangelogPrivacy PolicyTerms of Service

On this page

  • Creating a widget
  • Step 1: Setup
  • Handing off to your team
  • Step 2: Design
  • Step 3: Texts
  • Step 4: Pre-chat
  • Step 5: Voice
  • The live preview
  • Adding the widget to your site
  • Handling conversations
  • Troubleshooting
  • Frequently asked questions