↑↓ selectEnter openEsc closeAll results

  1. Elbuz
  2. Elbuz User Guide
  3. Website and widgets
  4. Online chat and AI consultant
  5. Website chat

How to set up the chat widget on your website

18 min readUpdated

You set the chat's look, texts and behavior in one app window, and the site picks up changes itself — no code edits. Six items get you started; the rest has working defaults.

When you need this:

  • The chat has to go live today — six items give a working chat, the rest can wait.
  • Visitors think they're talking to a person — the header shows a virtual assistant labeled “AI”.
  • The same questions daily — a quick action button opens the delivery page or asks the AI.
  • Looking for a specific field — the tab map points to its article.

Where to start: minimum setup — six items.

What's on which tab

The form is split into tabs, and the tabs into cards with a title and a hint. Each topic has its own article:

Chat widget form map
TabCardsWhere to read
“Setup”“Chat features”, “Chat directories”chat visibility, consultants, buttons — here
“Setup”“AI model and behavior”model, reply language, limit
“Setup”“Site”, “JS, CSS settings”site address, CMS, event code, JS and CSS
“Setup”“Integration code”installing the chat on your site
“Information”company details summary, “Chat window texts”window texts for each language
“Information”“Articles for the consultant”article import — here
“View”button, styling, colors, product listchat look
“View”“Contextual AI suggestions”, “Proactive hints”, embeddingAI hints on pages
“Avatar”video consultant, the “3D mascot” cardvideo avatar consultant
“Products and prices”which products the consultant offers, prices, currencyprices and products in the chat
“Links and events”store pages, link templates, store APIlinks from the chat
“Links and events”cart button code, product IDsite cart from the chat
“Blocks”AI buttons inside site pagessmart assistant
The “Setup” tab: the “Chat features” and “Chat directories” cards
1Activity
2Show AI chat
3Consultants
4List of buttons
5Open demo site
  1. Turns the whole widget off, including the blocks on pages.
  2. Removes only the chat button and the AI hints.
  3. The employees the chat header is built from.
  4. Quick action buttons in the chat window.
  5. A demo page with your chat in a new tab.

What to fill in first

The six steps below give you a working chat. Anything not on the list can be set up later or left alone.

Minimum widget setup

Store details (payment, delivery, warranty) are the main source the bot answers customers from; how to fill them in and where else the AI gets answers is explained in the article about the chat knowledge base. Pasting the code into your site is covered in the article about installing the widget.

What you can leave alone

Field or tabWhy you can skip it
“Widget information”: “Name”, “Description”Internal; visitors don't see them
“AI model”, “AI reply language”, “No operator”Defaults: GPT-6-Luna, the page or contact language, complex cases go to a manager (details)
“JS, CSS settings”, “CMS ID”, “CMS theme”For a front-end developer who needs to fit the widget to the site
“Placing orders in chat”On out of the box: the AI places orders in the conversation itself
“Show shopping buttons”, the AI answer rating blockOff by default; the chat works without them
“Contextual AI suggestions”, “Proactive hints”The page card on chat opening is on out of the box, the rest is optional (AI hints)
The “Products and prices” and “Links and events” tabsNeeded when the site has several languages, its own prices or a cart that must work from the chat
“AI toolbar”, “Blocks”Separate features on site pages; they don't affect the chat

How changes are saved

The form has no “Save” button. As soon as you change a field and move to another one, the app sends the whole form to the server. The form is saved once more when you close the window.

Exceptions:

  • fields with a formatting toolbar — “Line under the message box” and “Line at the bottom of the chat window” — and values the app fills in itself (the “Generate” key, the event code after you choose a CMS) are sent with the next edit of any regular field or when you close the window. After such an edit, close the window;
  • the “Which products the consultant offers” condition is saved only by its own “Save” button (product selection);
  • rules added with the “Add rule” button on the “View” tab, and rule deletions, are saved only when you close the window.

You don't need to touch the site after making changes: the integration code doesn't contain your settings, the widget fetches them from the app itself.

The question, section and quick action button forms work the same way, without a save button.

How to turn the chat on and hide it

“Activity” vs. “Show AI chat”: what's the difference

Both switches sit in the “Chat features” card on the “Setup” tab, both are on for a new widget, and both hide the chat from the site. The difference is what disappears along with it.

  • “Activity” turns the whole widget off. The app stops sending its settings to the site, and your blocks and the page panel disappear along with the chat. Also, a disabled widget isn't included in the integration code: if you copy the code in this state, nothing will appear on the site.
  • “Show AI chat” removes the chat button and, with it, the AI suggestions: “Hint slider above the chat button” and “AI blocks on pages” on the “View” tab stop working. Blocks from the “Blocks” tab, if set up, keep working.

Setting the button position to “Hidden” on the “View” tab has the same effect as “Show AI chat”: the widget checks both settings in one place, and the result is identical.

The widget first checks “Activity”: if it's off, nothing is left on the site. The second check hides only the chat button and AI suggestions; blocks from the “Blocks” tab stay
NoYesNoYesA site page with the integration codeloadsIs “Activity” on?The site doesn't get the widgetsettingsNo chat button, no blocks, no AIsuggestionsIs “Show AI chat” onand the position not “Hidden”?No chat button, both“AI blocks on pages” checkboxesdon't applyBlocks from the “Blocks” tab workThe chat is placed per “Buttonposition”AI suggestions per the “View” tabcheckboxes
  • Action or result
  • Decision: the path depends on the answer

When the hint above the chat button appears

Who sees the “Hint slider above the chat button” and when is decided by two fields of the “Contextual AI suggestions” card on the “View” tab and by the close button on the hint itself.

  • “Show after, s”: how many seconds the visitor must stay on the page before the hint appears. The default is 0 (right away), the maximum is 600. If the chat is open at that moment, the hint doesn't appear.
  • “Only to visitors who have not written to the chat yet”: anyone who has sent at least one message to the chat no longer sees hints above the button. The visitor is recognized by the browser: in another browser or on another device, they're new again.
  • The close button on the hint: once the visitor closes the hint, it doesn't appear on any page of the site for an hour. This period can't be changed.
The Contextual AI suggestions card on the View tab with a 20-second delay and hints limited to visitors who have not written to the chat
1Show after, s
2Only to visitors who have not written to the chat yet
  1. Show after, s sets how many seconds a visitor must stay on the page before hints appear above the chat button; here it is 20.
  2. Only to visitors who have not written to the chat yet hides the hints above the button from people who have already talked to the chat.

Both fields apply only to the hint above the button: AI blocks on pages and the page card in the conversation don't depend on them. What the hint says and what it costs is covered in AI suggestions on pages.

Buttons in the “Chat directories” card

  • “Consultants” — the employee list; which of them appear in the chat is explained below.
  • “FAQ” — “List of frequently asked questions”, see FAQ in the chat.
  • “List of buttons” — quick action buttons in the chat window.
  • “Channels & messengers” — Telegram and Viber connections, visible only to those allowed to change them. See the article about support bots.
  • “AI toolbar settings” — the toolbar buttons for selected text (toolbar).
  • “Open demo site” — a demo page with your chat in a new tab: check the look and replies without putting the code on your site.

The “Text-to-speech mode” and “AI toolbar” switches in the same “Chat features” card are covered in the article about the AI model and behavior.

Who appears in the chat header

The chat window header shows who is talking to the visitor. This list isn't built in the widget form but from employee cards. The “Consultants” button on the “Setup” tab opens exactly that employee list.

In the employee card, under “Preferences” → “Work modes”, there are two switches everything depends on:

  • “Chat manager” — the employee appears in the chat header among the consultants. A live employee is labeled “‹name›, live consultant”.
  • “Virtual assistant” together with “Chat manager” is the persona the AI replies on behalf of. For each new conversation the app picks one such assistant at random. In the header, “AI” is added to their name, and below the name is the text from the card's “Brief description” field; if it's empty — “AI assistant”.

The photo comes from the “Photo” field, the name from the “First name” field in the visitor's language; an employee without a name in that language doesn't appear in the header. A disabled employee disappears from the header of new conversations, and if the assistant assigned to a conversation is disabled, the app assigns it another one.

Who comes first in the header depends on whether there is a virtual assistant. Without one, the header shows a live manager or a messenger
YesNoYesNoYesNoA visitor starts a new conversationIs there an active employeewith “Chat manager”and “Virtual assistant”?The app randomly assignsone of them to the conversationThe header shows their name withthe AI prefix,below it “Brief description”or “AI assistant”Is there an active employeewith “Chat manager”?A live manager comes first in theheaderlabeled “live consultant”Is at least one messenger filled inunder “Contacts”?A messenger comes first in theheaderHeader without a name or photo
  • Action or result
  • Decision: the path depends on the answer
The Work modes switches in an employee card: Chat manager and Virtual assistant
1Chat manager
2Virtual assistant
  1. Chat manager — the employee appears in the chat header.
  2. Virtual assistant — the AI replies on behalf of this employee.

If there is no virtual assistant with “Chat manager”, a live manager labeled “live consultant” comes first in the chat header, and the visitor will think they're talking to a person even though the AI is replying. Set up at least one virtual assistant before you put the code on the site.

When there's nobody at all with “Chat manager” and no messenger is filled in, the header stays without a name or photo.

Which live employees see tickets and how they're distributed is explained in the article about chat settings for your team.

How to add quick action buttons

“List of buttons” holds the buttons in the chat window, above the conversation. All active buttons are shown on all pages, sorted by the “Order” field, and by name when the order is the same. A new button is created with “Add” in the list and is active right away. Fill in “Name” and “Description” on each language's tab: in a language without a name the button will be blank.

The key field in the button form is “Button click action”. It determines which other fields you need:

ActionWhat happens on clickWhat to fill in
“Message in chat”the chat opens, the button name is sent as the visitor's message, and the AI replies following your instruction“Name”, “Task for AI (prompt)”
“Click on the button”the app clicks an element on your site. If the element isn't on the page, nothing happens“CSS selector”
“Open link”the address opens in a new tab“Link”
“Open link in window”the page opens in a pop-up window over the site; the visitor stays on the page“Link”

“Description” is the tooltip shown when you hover over the button. The “Position” field (“Top” or “Bottom”) currently doesn't affect where the button sits in the chat window: all buttons are in one row above the conversation.

Quick action button form: activity, position, click action and AI prompt
1Button click action
2Task for AI (prompt)
  1. Button click action — the chosen action decides which fields below are needed.
  2. Task for AI (prompt) — the instruction the robot follows for the "Message in chat" action.

What article import overwrites

The article import buttons change data without asking, so it's worth knowing what exactly will change before you click.

“Import” and “Refresh” for articles

“Import” creates an article from each link in the field. If an article with that link already exists, it's skipped with the “Already exists” status and its text isn't updated.

“Refresh” ignores the links field. It goes through all articles ever imported from a link that are enabled and not in the Trash, downloads each page again and overwrites the article's name, heading, full and short text, meta title and meta description in the main language. Your manual edits to these fields are lost. “Refresh” doesn't touch disabled articles or articles in the Trash.

The “Articles for the consultant” card: importing information pages by URL
1Manage Articles
2Links
3Import
4Refresh
  1. Opens the list of articles the AI sees.
  2. One page address per line.
  3. Creates articles from new links and skips existing ones.
  4. Overwrites every article ever loaded by link.
  • If the page was removed from the site or doesn't return code 200, the results table shows a row with the error “Failed to fetch: …”, and the article keeps its previous text. It isn't deleted or disabled automatically: you can only remove it manually.
  • If no title was found on the page, the row shows “Could not extract title” and the article doesn't change.
  • “Updated successfully” appears as soon as there is at least one result row, even if every row is an error. Check the Status column in the table.
  • The app waits up to 30 seconds for a page; the whole refresh is limited to 5 minutes.

Scenarios

Launch the chat today, no extras

Go through the six steps on the list. “Activity” and “Show AI chat” are already on for a new widget, the model is set by default, and you don't need the product tabs. Visitors will see the button in the bottom left corner, a header with your virtual consultant and a greeting the AI writes for the page. Placing orders in chat is on out of the box — the AI takes orders right in the conversation; shopping buttons are off (“View” tab checkboxes).

Customers are used to writing in messengers

Fill in the Telegram, Viber or WhatsApp fields in the company details. “Message a consultant” participants will appear in the chat header, and a visitor who doesn't want to talk to a bot can switch to your messenger with one click.

A common request in one button

In “List of buttons”, add a “Delivery” button with the “Open link in window” action and the delivery page address — the visitor reads the terms without leaving the product card. Make a second button, “Find a product”, with the “Message in chat” action and a task for the AI listing which questions to ask the buyer. Both buttons will be visible on all site pages: you can't show “Delivery” only on product cards.

Cap endless conversations

Set “Max. messages in chat” (limit) and fill in the phone number in the company details. Once a conversation exceeds the limit, the visitor gets your number and the bot stops replying in that conversation: the input field and quick action buttons disappear. An empty limit field doesn't turn the limit off — 300 messages apply.

The hint shouldn't get in the way of reading the page

Set “Show after, s” to 20 and select “Only to visitors who have not written to the chat yet”. The hint above the button is shown to someone who has spent 20 seconds looking at the page and hasn't talked to the chat yet. A regular customer who has already written won't see it, and a hint closed with the close button doesn't come back for an hour (when the hint appears).

What to do when the widget misbehaves

What you see in the widget and what to do about it
What you seeWhyWhat to do
There is no chat button on the site even though the code is in place “Show AI chat” is off, the “Hidden” position is selected, or “Activity” is off Check all three settings; after turning “Activity” on, copy the code again (activity)
The chat header has no consultant name or photo, or “live consultant” comes first even though the AI is replying There is no active employee with “Chat manager” and “Virtual assistant” Turn on both switches in the employee card and add a photo (consultants)
“The maximum number of messages has been exceeded! If you have any questions, please contact us by phone” The conversation exceeded “Max. messages in chat” Raise the limit if conversations are cut off too early; fill in the phone number in the company details (limit)
“Hint slider above the chat button” is selected, but there is no hint above the button “Show after, s” is set, you have already written to the chat with “Only to visitors who have not written to the chat yet” on, or you closed the hint less than an hour ago Wait the set number of seconds without opening the chat; check in another browser where you haven't written to the chat (when the hint appears)
A button with the “Click on the button” action does nothing There is no element with that “CSS selector” on this page Check the selector against the site page together with your front-end developer (buttons)
The chat title and texts are in a different language from the page There is no translation for the page language in the company details, this language's tab in “Chat window texts” is empty, or a specific language is selected in “AI reply language” Fill in the translation in the company details and the language tab in “Chat window texts” (languages)
An edit in a large text field was lost These fields are saved with the next edit of another field or when the window closes After editing the text, close the window, not the browser tab (saving)

FAQ

Why doesn't the welcome message work?

There is no separate greeting field. The AI writes the first message of every new conversation for the page, using the store name from the company details (greeting).

How do I change the consultant's name and photo in the chat?

In the employee card, not in the widget form: the name, photo and “Brief description” come from there. The “Consultants” button in the widget form opens the employee list (consultants).

How do I hide the chat from the site without removing the code?

Turn off “Show AI chat” or choose the “Hidden” position — the chat button disappears, blocks keep working. Turn off “Activity” — the widget is disabled completely (what's the difference).

Can I show the chat button only on mobile devices and not on desktop?

No. There's no device choice either in the widget settings or in quick action buttons: whatever is on is visible on both phones and computers. Only the sidebar differs — on a phone a button replaces it (sidebar).

Can I show a quick action button only on product cards?

No. An active button is visible on all pages; you can only remove it from a page by disabling it completely (buttons).

How do I make the AI always reply on its own without calling a manager?

Turn on the “No operator” switch in the widget settings. The AI won't promise a manager's reply or hand the chat over to a person, and the call-a-manager button disappears from the site (details).

How do I make the AI reply in the customer's language rather than the page language?

In the “AI reply language” field, choose “Automatic: language of the customer's message”. You can also set one language for all replies there (options).

Can a deleted quick action button be restored?

No, a deleted button is gone for good. If you don't need a button for a while, turn off its “Activity”.

Where to find it and who has access

Menu
Products → Categories → “Catalog tools” block → “Widget settings - Smart Assistant” tile
From the widget form
“Setup” tab → “Consultants”, “FAQ”, “List of buttons”, “Channels & messengers” buttons
Access right
the form has no separate right; FAQ lists check their own rights
Prepare
a photo and a short intro for the virtual consultant, filled-in company details

A store has one chat widget. When you open the window for the first time, the app creates the widget record itself, with “Activity” already on.

Related topics

Was this article helpful?

Missing a feature? Tell us.

We will add it for free if other users need it too.

If only you need it, we will agree on it separately.

Article contents

Suggest an improvement

Try Elbuz free