Skip to main content
AlonChat

Web Widget

Add website chat as a bubble or bar, then style it and install it

Web Widget#

Website chat is one embed with two looks. Chat widget is a floating bubble. Chat bar is a bar on the page. Turning one on replaces the other, and both use the same install code.

Open Deploy, then Manage on Chat widget or Chat bar. The editor is Chat widget or Chat bar, with a live preview. Save changes stores that channel’s look and text. Saving does not turn the channel on, place it on your website, or start live auto-reply.


Turn website chat on#

  1. Go to Deploy and find On your website.
  2. Turn Chat widget or Chat bar On. Confirm the switch if the other one is already on.
  3. Choose Manage to edit that look.
  4. Open Install, copy the code shown there, and add it to your site. Until the channel is on, Install says website chat is off and does not show the code.
  5. Turn AI Auto-Reply on only when you want the agent to answer on that website chat. Off means the chat stays silent. AlonChat can refuse to turn auto-reply on until the agent is ready for live replies. If the bubble is set to channel links only, the Chat widget card has no auto-reply switch, because those buttons open other apps instead of this chat.

A plan limit can also keep a new website surface off until you free an agent slot or change the plan.


Editor tabs#

TabWhat it is for
ContentName, greeting, suggestions, input, notices, and the lead-capture shortcut
StyleColors, light or dark, text size, and the bubble or bar
AIWhether website chat follows Guidance or its own style, and source links
CallingA call button in the public widget. Shown only when website voice is available
InstallEmbed code, allowed domains, and identity verification

Calling is not on every agent. When it is available, Website voice calls shows a call button so customers can speak with the same agent. Use Manage the Agent voice experience for the voice itself. See Voice.


Content#

SettingWhat it changes
Display nameName in the chat header
Initial messageFirst message visitors see when chat opens
Suggested messagesQuick replies under the first message. Show suggestions hides or shows them
Response modeFor each suggestion: AI Reply, an instant Direct Reply from a Q&A, or Workflows
Message placeholderHint inside the message box. A required lead form replaces it until that form is submitted
Collect user feedbackThumbs up and thumbs down on replies
Regenerate messagesLets the visitor ask for another AI reply
AttachmentsLets visitors send images, video, audio, documents, and voice notes
Enable emoji pickerShows the emoji button in the composer
Dismissible noticeA notice visitors can close. Use [text](url) for a link
Privacy consent gateBlocks chat until the visitor presses accept. You set the message, policy link, and button labels
Show decline buttonOptional. Declining keeps chat closed and shows your decline message
FooterA short line under the input, with optional [text](url) links
Auto-show popupOpens chat on its own after 1–5 seconds
Attention bubblesUp to three short notes above the bubble. Subtle jump repeats that motion every 2–10 seconds
Lead captureShows whether the lead form is off, required, or timed. Configure opens Collect Lead. It does not enable the form by itself

Suggested messages are buttons, not extra training. A direct reply sends the selected Q&A immediately. A workflow starts only when the visitor taps that suggestion.


Style#

These apply to both the bubble and the bar:

SettingWhat it changes
AppearanceLight or Dark chat surface
Text sizeDefault or Compact text
Profile pictureImage shown for the agent
Primary colorAccent used for the visitor’s messages
Use for header backgroundFills the header with that accent. Check the preview if the title is hard to read

Chat bar only:

SettingWhat it changes
SurfaceSolid or Glass bar
PositionLeft, Center, or Right
Scrolled logoOblong or Circle logo after the page scrolls

Chat widget bubble only:

SettingWhat it changes
Bubble button colorColor of the floating button
Bubble icon & text colorColor of the icon and label. Auto keeps them readable on the button color
Launcher contentWebsite chat, Channel links, or Both
Channel destinationsUp to seven public links: WhatsApp, Messenger, Telegram, Viber, Instagram, Call, Text / SMS, Email, or Other link. A link does not connect that app to your inbox
Display behaviorAuto, Collapsed, or Show immediately. Shown when the launcher includes channel links
PositionBubble on the Left or Right
Chat bubble icon styleSparkle bubble, Filled bubbles, Outlined bubble, Outlined bubbles, or your own JPG, PNG, or SVG
Show text in the chat bubbleAdds a label on the button, with the icon on the left or right

AI#

SettingWhat it changes
Use widget-specific styleOff uses the style from Guidance on every channel. On lets you write a style for website chat only
Show source links in web chatShows source links on grounded website answers. Other messaging channels stay without those links

Widget-specific style does not change what the agent is allowed to do. It changes how website chat is written.


Install#

Copy the snippet from Install. Do not retype it from this page. The same floating-chat script follows whichever of Chat widget or Chat bar is on.

SettingWhat it changes
Platform installsConnect Shopify or WordPress without editing the theme. Shopify then needs AlonChat enabled in App embeds. WordPress uses a site URL and pairing code
Allowed domainsLimits where the embed may load. Leave it off to allow any site that has the code. On, add domains such as example.com or *.example.com, without http://
Floating chat (script)The bubble or bar, using the same script
Inline chat (iframe)A chat panel fixed in the page. It does not include the floating launcher or website identity verification
Identity verificationA secret key for identifying logged-in visitors. Save settings once to create it. Keep it on your server, never in the page or a public repo. Rotating it signs out existing tokens

The manual guide on the same tab covers a custom site, Wix, and WordPress or Shopify theme fallbacks. Those steps only place the code. They do not turn auto-reply on.

Allowed domains save as you edit them. The tab warns you before copying if none are set. You can still copy, but an open embed can then be used on any site.

For the inline panel and other website setups, see Embedding. For logged-in visitors, see Identity verification.


Check it#

Use the preview while you edit, then save. After the channel is on and the code is on a published page:

  1. Confirm the bubble or bar is in the corner or position you chose.
  2. Open it and send a test message.
  3. If AI Auto-Reply is on, confirm the agent answers. If it is off, silence is expected.
  4. If lead capture is on, submit the form yourself. Opening chat does not create a lead.
  5. Check the conversation in AlonChat.

If it does not appear#

  • Website chat is off on Install. Turn Chat widget or Chat bar on under Deploy.
  • The pasted code is not the current snippet from Install.
  • Allowed domains is on and this site is not listed.
  • The page was not published, or a cache or ad blocker is hiding the script.
  • Colors look old. Save Style, then refresh or try a private window.

If the bubble appears but the agent does not answer, check AI Auto-Reply, credits under billing, and the same question in Agent Studio test. A saved widget is not proof the agent is answering customers yet.


Next steps#