↑↓ selectEnter openEsc closeAll results

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

How to launch the chat on your website: where to start

12 min readUpdated

The AI chatbot for ecommerce answers visitors as an AI consultant and calls a manager when needed. Site and messenger chats share one window.

When you need this:

  • Night-time delivery and payment questions — the AI answers 24/7 from your store data.
  • A customer asks for a person — the chat goes to “Needs a manager”, an alert to a Telegram group.
  • A shopper orders right in the chat — the AI collects the details and creates a “Customer order”.
  • Customers write in messengers — those chats are in “Chat dialogs” too.

Where to start: the launch route — seven steps from site code to manager alerts.

What the chat can do and where to read about it

There are five parts, and each is set up in a different place. Install only the first one and you get a bot that knows nothing about your store and never calls anyone for help.

  • Website widget. The chat button and the conversation window. The code goes into your site template once; after that you change the look, texts and behavior in the admin panel without touching the site. Installation: how to install the chat on your website; tabs and form fields: chat widget settings.
  • AI consultant. Answers from your store data, catalog, articles and your instructions. It doesn't make up what isn't there: it says there's no data or hands the conversation to a manager. What to fill in so it gives real answers: where the chat AI gets its answers.
  • The “Chat dialogs” operator window. All conversations arrive here: from the website, Telegram, Viber, Instagram and Facebook Messenger. A manager picks up a ticket, replies, passes it to a colleague, closes it. Daily work: the “Chat dialogs” window.
  • Messengers. A Telegram or Viber bot becomes one more channel of the same chat, with its own mode: the AI answers, a person answers, or the AI first, then a person. Connecting: support bots.
  • Leads, orders, alerts. A customer left a phone or email — you get an email and a tag in the chat. With order taking on, the AI collects the details and creates a “Customer order” document. Leads, orders and AI calls for a manager can be sent to your team's Telegram group. All of this: leads and orders from the chat, Telegram alerts.
Who answers the customer, and what happens when a manager is needed or the customer leaves contact details
WebsiteTelegram / Viber“Operator only”“AI answers on its own” or“AI first, then operator”YesNoYesNoCustomer writesFrom where?The AI answersas the virtual assistantChannel modeA manager answersin “Chat dialogs”Customer asks for a personor the AI has no data?“Needs a manager” folder+ alertCustomer left contact detailsor placed an order?Email to the store's address,message to the Telegram group ifconnected;an order becomes a “Customerorder” documentThe conversation goes on
  • Action or result
  • Decision: the path depends on the answer

Team-wide rules — ticket distribution, working hours, auto-close, target response time, archive — are covered in how to set up chat for an operator team. Ready-made questions for visitors: chat FAQ; a video consultant that speaks out loud: video consultant avatar.

The same widget also has an on-page part: AI buttons and blocks right on your site's pages — see the smart assistant. The AI searches the catalog for the chat through smart search, so without it the bot can't answer questions about products.

If the smart search widget is also on your site, on desktop the chat is built into the search window: the assistant sees the shopper's query and offers help on its own — see chat assistant in the search window.

Launch route

Seven steps in the order that's easiest to follow. Each one links to the article that covers it in detail.

  1. Check the widget's “Activity”, copy the code and paste it into your site templateWidget settings - Smart Assistant, “Setup” tab
  2. Choose the button position and color, fill in “Chat window title” in each languageWidget settings - Smart Assistant, “View” and “Information” tabs
  3. Fill in your company details, upload articles, write the “Task for AI (prompt)”Widget settings - Smart Assistant, “Information” tab
  4. Decide who answers: create a virtual assistant for the AI and turn on “Chat manager” for real employeesEmployee card, “Work modes”
  5. Set ticket distribution, working hours, auto-close and target response timeChat settings
  6. Fill in the email in your company details and connect alerts to the managers' Telegram groupWidget settings - Smart Assistant; Chat settings, “Alerts to a Telegram group” section
  7. If needed, connect Telegram and Viber and choose a reply mode for eachChat settings → “Set up channels”

After step one, the chat already opens on your site. But until step three is done, the AI will answer delivery and warranty questions by saying it has no such information: it doesn't receive empty fields at all.

What AI in the chat costs and which models it uses

Daily AI spending and the split by model are shown in analytics, not only in your balance. Open Analytics → Smart AI chat analytics, set “Date from” and “Date to” at the top (the last 30 days by default), click “Refresh” and go to the “Chat quality” tab.

Chat quality tab with the daily AI cost chart and the AI model usage table
1AI cost per day
2AI model usage
  1. AI cost per day — cost and tokens for each day of the period.
  2. AI model usage — how many replies each model gave and what they cost.
Block on the “Chat quality” tabWhat it shows
“AI cost per day”chart: cost and tokens of AI replies for each day of the period
“AI model usage”table: “Model”, “Messages”, “Tokens”, “Cost” — how many replies each model gave and what they cost over the period
“Median first response time”, “Min. first response time”, “Max. first response time”, “Median reply time”how quickly the customer gets a reply from the store in general, from the AI or from a person
“Feedback”how many replies customers rated “Useful answer” and how many “Not useful”
“Distribution by status”how many chats of the period are in each status

Cost in the model table is shown in US dollars. If the model was changed mid-period, the table shows both, each with its own message count.

Response time on this tab is measured from the customer's message to the store's first reply, whoever gave it: the AI, an employee or an auto-reply. So when the AI replies, the median is often 0 s. The median is the typical value, unaffected by occasional replies days later. If there are no measurements for the period, the tiles show “—”. How fast people themselves reply, without AI, is shown on the “Operators” tab.

How fast operators reply

The “Operators” tab shows the work of people without AI: the median first reply time, the share of replies within the target time and customer ratings, for the team and for each employee.

Where: Analytics → Smart AI chat analytics → “Operators” tab

The period is set by the same “Date from” and “Date to” at the top of the window. Customer chats from all “Chat dialogs” channels count: the website, messengers and marketplaces.

The “Operators” tab in “Smart AI chat analytics”: explanation, summary tiles and the table by team member
1“AI only” tile
2“First reply, median” tile
3“Within SLA” tile
4“Replies” column
5“Rating” column
  1. “AI only” counts the chats in which no person replied during the period.
  2. “First reply, median” is measured from the handover to a person and does not include AI replies.
  3. “Within SLA” shows “not set” until a target response time is defined.
  4. “Replies” is the number of replies per team member, with the most active one listed first.
  5. “Rating” shows the average customer rating and the number of ratings, or a dash when there are none.

How response time is calculated

  • A wait starts with a customer message that nobody has answered yet. Several messages in a row make one wait, counted from the first of them.
  • An AI reply ends the wait without a measurement. The widget bot, an AI employee or an auto-reply isn't operator work and doesn't count toward response time.
  • “Reply” is the time from the start of the wait to an employee's reply. The measurement is credited to whoever replied.
  • “First reply” is a person's first reply in the chat. It's counted from the message the AI didn't answer, that is, from the handover to a person, not from when the chat was created.
  • An employee's second message in a row counts toward “Replies”, but without a time: the customer wasn't waiting for it.
  • A measurement falls into the period by the moment of the reply. If a customer wrote on the evening of the 31st and the manager replied on the 1st, it's a measurement for the new month.

All times are medians: half of the replies are faster than this number. One reply the next morning would spoil an average, but not the median.

TileWhat it shows
“Customer chats”chats in which the customer wrote during the period
“Answered by people”of these, chats where at least one employee replied during the period
“AI only”the rest: no person replied during the period, including chats nobody has answered yet
“First reply, median”, “Reply, median”medians for the whole team
“Within SLA”the share of replies no longer than “Target response time, minutes”; with no target, “not set”
“Rating (count)”the average rating from 1 to 5 that customers gave after the chat was closed during the period, and the number of ratings. It covers all ratings of the period, so it may differ from the ratings in the table, which includes only employees who replied in this period

The table under the tiles shows the same for each employee: “Chats”, “Replies”, “First reply”, “Reply”, “Within SLA”, “Rating”. Whoever replied the most comes first; a deleted employee is shown by number, for example “#17”. A rating goes to the employee the chat is assigned to, or, if it's unassigned, to the last person who replied in it.

Target time and working hours

“Within SLA” is based on “Target response time, minutes” in the chat settings. Until it's set, the tile shows “not set” and the column shows a dash.

If “Count response time in working hours only” is on there, nights and weekends aren't included in response time. The table gets an “In working hours” column, the “Reply, median” tile shows working time, and “Within SLA” is calculated in working minutes. The working hours schedule alone, without this switch, doesn't change the report, and the “Overdue” folder counts the same way. The switch itself works only when “Support working hours” is on and the schedule has at least one working day.

Internal notes and service lines don't count. The tab doesn't show how many chats were closed or how long it took to resolve a ticket.

Which ad campaigns bring visitors to your site

The “UTM campaigns” table shows which ads brought visitors to the pages that have the chat widget. Each row is one combination of the utm_source, utm_medium and utm_campaign tags from the URL of the first page the person landed on.

Where: Analytics → Smart AI chat analytics → “Marketing” tab

“UTM campaigns” table: source, medium, campaign, unique users and chats, average time on page
1Export CSV
2Source, Medium, Campaign
3Unique users
4Avg. time on page
5No tag — dash
  1. Exports all campaigns of the period to a file.
  2. Tags taken from the address of the page the visitor landed on first.
  3. How many different visitors came from the campaign.
  4. How long visitors stayed on the landing page on average.
  5. The link has no utm_medium and utm_campaign added.
ColumnWhat it shows
“Source”, “Medium”, “Campaign”source, channel and campaign name from the UTM tags; no tag — a dash
“Unique users”how many different visitors came from this campaign
“Unique chats”how many different widget chats are linked to these visits
“Avg. time on page”average time spent on the landing page

Rows are sorted from the campaign with the most visitors; the screen shows the first 200, the file has all of them. Set the period with “Date from” and “Date to” at the top of the window; the “CSV Export” button above the table downloads it as a file.

Only visits with UTM tags in the first page's URL are counted: a person who arrived without tags doesn't make it into the table. To tag your ad links, use the UTM link builder.

Scenarios: which case is yours

The bot answers on its own

On the website, the AI answers as a virtual assistant: an employee with “Chat manager” and “Virtual assistant” on in their card (consultants in the chat header). Create one before adding the code to your site. The AI answers to the point once your store data is filled in and products are in the smart search index (chat knowledge base).

When a customer asks for a person or asks about something not in the data (a custom price, a warranty case, a complaint), the AI says a manager will reply, and the chat goes to the “Needs a manager” folder. To cover these chats, you need at least one real employee with “Chat manager”.

Leads and orders in Telegram

Alerts come from your store's connected Telegram bot: in “Chat settings”, “Alerts to a Telegram group” section, you add the bot to your team group, and three switches decide what gets sent there. For the AI to take orders, turn on “Placing orders in chat” on the widget's “View” tab. Step by step: leads and orders from the chat.

The Alerts to a Telegram group section with three toggles
1Three toggles
2Status line
  1. Three toggles — a manager is needed, new order, new lead: what is sent to the group.
  2. The line below shows the state: here the store's Telegram bot is not connected yet and must be connected in channels first.

Without Telegram, leads and orders arrive by email at the address in your company details.

Managers reply from their phones

The chat has no separate mobile app. Instead, an alert about a customer calling for a manager, a lead or an order arrives in the Telegram group with an “Open chat” button. It opens Elbuz in the phone's browser right on that conversation in “Chat dialogs” (after sign-in if there's no session). You reply from there. For the phone view, see Elbuz on your phone.

You can't write to the customer directly from the group: the bot doesn't process messages from group members. From the group you can only bring the bot back into the conversation with the “Resume bot” button — for chats from messengers.

Telegram and Viber

You create the bot in the messenger itself, paste its token in “Chat settings” → “Set up channels”, and choose who answers on each channel: an operator, the AI, or the AI first, then an operator. Messages arrive in the same “Chat dialogs” window. Step by step: support bots.

If the customer writes several messages in a row, the AI waits until they finish and answers everything in one message (how the AI replies to several messages).

This is a support channel, not a store. If you need to show a catalog and take purchases through a Telegram bot, that's a different feature — Telegram shop.

Instagram, Facebook Messenger, WhatsApp

These channels connect not with a bot token but by signing in to a Meta account. Instagram and Facebook Messenger are available to all accounts; WhatsApp is enabled for an account separately. Step by step: support bots in messengers.

FAQ

Do I need a developer to put the chat on my website?

You need someone with access to the site template: the code from the “For widget” field goes there once. After that, the look, texts and AI model are changed in the admin panel, and the changes reach the site on their own.

Who answers the customer on the website — a bot or a person?

First the AI, as a virtual assistant. When the customer asks for a person or the AI has no data, the chat goes to the “Needs a manager” folder, and an employee with the “Chat manager” flag takes over (the bot answers on its own).

Why does the AI say it has no delivery information?

The AI doesn't receive empty company details fields at all, and it isn't allowed to make things up. Fill in “Delivery terms” in your company details, and for other languages — in the site's “Texts for customers in other languages” block.

Does the chat search products by meaning rather than by words?

No. The chat searches products by the words in names and descriptions; there is no semantic product search in the chat. So names and descriptions should contain the words customers use when they ask.

How do I message a colleague or send them a file through the chat?

There's no separate chat for employees. In a chat with a customer, switch to the “Internal note” tab above the input field: colleagues will see the message and file, the customer won't (notes).

Can I schedule a message to a customer for the morning?

No, messages go out immediately. You can postpone the chat itself with the clock button “Snooze”: at the chosen time it returns to the general list, and you write then (snooze a chat).

Can I automatically get a weekly chat report by email?

No, there are no report mailings. Statistics are in “Smart AI chat analytics”; tables from the “Pages and Products” and “Marketing” tabs can be saved with the “CSV Export” button (analytics).

How can I see which managers reply to customers slowly?

Open the “Operators” tab in “Smart AI chat analytics”: for each employee, it shows the median first reply time and the median for all other replies, the share within the target time and customer ratings. AI replies aren't included (operators).

Where it is and who has access

Only the chat window has a menu item. Widget settings open from the category directory, team settings from the chat window.

Menu
Customers → Chat dialogs
Widget settings
Products → Categories → “Catalog tools” block → “Widget settings - Smart Assistant” tile
Chat settings
in the “Chat dialogs” window — the gear at the top of the left column
Analytics
Analytics → Smart AI chat analytics
Access right
rights to the windows plus “Chat manager” in the employee card; team rules — the “Global chat settings” block right
Prepare
access to the site template; texts on payment, delivery, returns and warranty in each language
The Catalog tools tile row with the Widget settings - Smart Assistant tile
1Widget settings - Smart Assistant
  1. Widget settings - Smart Assistant — the only entry point for configuring the site chat.
Main menu with the “Customers” group expanded and the Chat dialogs item
1Chat dialogs
  1. Chat dialogs — the only menu entry that opens the chat window.

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