Skip to content

raia Chat · Section

Live Chat Configuration Guide

Complete reference for every Live Chat widget setting — general chat, welcome screen, theming, launcher, voice, access controls, interactive buttons, and developer controls.

Before you start, make sure you’ve read the raia Chat overview.

The Live Chat Skill allows your raia AI agent to interact directly with users on your website. This guide lists documented configuration options for the Live Chat widget, from basic messaging to advanced theming, API controls, and proactive engagement.

01

General Chat Configuration

These settings define the core behavior and capabilities of the chat interface.

Live Chat → Chat Capabilities: upper Chat Behavior section.
  1. Highlight 1: Automatic Open Chat Mode
  2. Highlight 2: Auto Open Delay (seconds)
  3. Highlight 3: Message length limit
FeatureDescriptionValues / Options
Default PageThe screen that opens when the widget is launched.home, chat, voice-chat
Auto Open ModeControls if and when the widget opens automatically.On screen: Automatic Open Chat Mode — Never, Once, Once per session, Every time (developer values: no, once, once_per_session, every_time). To turn off auto-open, choose no.
Auto Open DelayTime in seconds before the widget auto-opens.Number (default: 3)
View ModeHow the chat is displayed on the screen.popup (floating), sidebar (anchored)
Popup SizeThe dimensions of the chat window.small, medium, big, full_height
Streaming ChatStreams the AI's response in real-time as it generates.On / Off toggle (developer value: true / false)
File UploadsAllows users to upload files in the chat interface.On / Off toggle (developer value: true / false)
Message Length LimitMaximum character count for user messages.Number (default: 3000)
Reasoning DetailsShows the user processing details while a reply is prepared. These are not the model's hidden reasoning.On / Off toggle (developer value: true / false)
Reasoning LabelCustom text displayed while the AI processes.String (e.g., "Thinking...")
Citations EnabledShows source citations for retrieved information.On / Off toggle (developer value: true / false)
Use Current Page TextInjects the text of the user's current webpage into the AI context.On / Off toggle (developer value: true / false)

SDK Studio (sdk.raia.run) lets you preview these settings before you change them on your site.

SDK Studio → Auto-open mode options.
  1. Highlight 1: Auto-open mode.
  2. Highlight 2: The four values: no, once, once_per_session, every_time.
Widget view, size and automatic-opening settings.
  1. Highlight 1: View mode and Popup size: how and how large the chat appears.
  2. Highlight 2: Auto-open mode and Auto-open delay (s).
Theme and voice settings.
  1. Highlight 1: Theme mode (auto follows the visitor's system setting).
  2. Highlight 2: Voice chat enabled.
Suggestion visibility and add control.
  1. Highlight 1: Suggestions → Show mode: when suggested prompts appear.
  2. Highlight 2: Add suggestion: add a suggested prompt.
02

Welcome & Home Screen Content

The Home screen acts as a landing page before the user starts a chat.

FeatureDescription
Title Line 1 & 2The main greeting text on the Home screen.
Welcome MessageThe first message the AI sends when a chat session starts.
Primary Button TitleText for the main "Start Chat" button (e.g., "Ask a question").
Primary Button DescriptionSubtitle text under the primary button (e.g., "We're here to help").
SuggestionsPredefined quick-reply prompts (up to 4) users can click to start chatting.
Suggestions Open ModeHow suggestions appear around the launcher. (automatic, hover, none)
LinksQuick-access URLs displayed on the Home screen.
Link TargetHow links open (_blank, _self, _parent, _top).
DisclaimerMarkdown-supported text shown at the bottom of the Home screen.
Chat Footer ContentCustom text displayed at the bottom of the active chat view.
03

Theming & Design (UI Config)

The Live Chat widget supports extensive UI customization across Light, Dark, and System themes.

  • Widget Template: Choose between default or hero layout styles.
  • Content Vertical Alignment: Align Home screen content to the top or bottom.

Color Customization (per Light/Dark Theme)

ElementDescription
Background Color Typesolid or gradient
Background ColorMain background color of the chat window.
Message BackgroundBackground color of the user's message bubbles.
Intro Text ColorColor of the greeting text.
Intro Text Font Sizesmall, medium, large
Button BackgroundBackground color of quick-reply and action buttons.
Button Title/Subtitle ColorText colors for the primary action buttons.
Link Title ColorColor of the external links on the Home screen.
Logo Background ColorBackground color behind the avatar/logo.
Background Image URLOptional background image for the Home screen.
04

Launcher Button Configuration

The launcher is the button users click to open the chat widget.

FeatureDescriptionValues / Options
TypeWhat the launcher displays.icon_only, text_only, icon_and_text
Widget Button TextThe text displayed if text is enabled.String (e.g., "Chat with us")
Border RadiusShape of the launcher.0px (Square), 8px (Rounded), 100% (Circular)
SizeThe physical size of the launcher in pixels.String (e.g., 56px)
ColorBackground color of the launcher.HEX or RGB string
Text & Icon ColorColor of the icon/text inside the launcher.HEX or RGB string
Launcher ThemeVisual style of the launcher.default, solid, gradient, glassmorphism, custom
Attention EffectAnimation to draw the user's eye.none, pulse
Launcher TeaserContent shown next to the closed launcher.none, suggestions, proactive

Proactive Bubble

If Launcher Teaser is set to proactive, a small message bubble will pop out of the closed launcher to engage the user.

  • Message: The text inside the bubble.
  • Delay Seconds: How long to wait before showing the bubble.
05

Voice Chat Settings

If your agent supports voice, these settings control the audio experience.

FeatureDescription
Voice Chat EnabledAllows users to click a microphone icon to talk to the AI.
Voice Chat SubtitlesDisplays real-time text transcriptions during the voice call.
06

Access Controls & User Information

Restrict who can chat and what information they must provide.

FeatureDescription
Required User InformationIf true, users must fill out a form before chatting.
User FieldsConfigurable form fields (text, email, phone_number, select).
Required Conversation InfoRequires users to provide context before a specific conversation starts.
Email VerificationRequires users to verify their email via OTP.
Phone VerificationRequires users to verify their phone number via OTP.
Security Key RequiredIf on, your page must pass the Security Key when it starts the widget (see the INIT example in the Live Chat SDK developer guide).

Availability Rules

  • Limit Chat Hours: Set specific chatStartTime, chatEndTime, and daysOfWeek when the chat is online.
  • Limit Unavailable Dates: Specify specific dates (holidays) when the chat is offline.
  • Warning Messages: Custom text displayed when the chat is offline due to hours or dates.
07

Interactive Chat Buttons (In-Chat Actions)

You can configure custom buttons that appear inside the chat flow based on specific conditions.

FeatureDescription
Button Typewebhook, prompt, end_chat, new_chat, escalation, book_demo, open_url
Appearance ConditionWhen the button shows: after_every_response, regex_match, after_every_n_responses, after_n_seconds_since_last_request
Hide After TriggerIf true, the button disappears once clicked.
Appears Once Per SessionIf true, the button will only be shown once per user session.
Button Styledefault, custom, solid, outline, accent, danger, ghost, link
Shape & SizeCustom shape (square, rounded, circular) and size (xs to xl).
08

Developer Controls (Iframe & API)

Script embeds expose window.raiaChat. Iframe embeds use browser messages with their own internal names, so follow the iframe example in the developer guide instead of mixing the two.

With a script embed, call window.raiaChat.sendCommand(type, payload) to:

  • Open or close the chat (OPEN_CHAT, CLOSE_CHAT)
  • Send a message for the user (SEND_MESSAGE)
  • Set user details for context and personalization — not proof of identity (SET_USER)
  • Inject context (SET_CONTEXT)
  • Update the theme (UPDATE_RAIA_CHAT_THEME)
  • Switch the view mode (SET_VIEW_MODE)
  • Override configuration on the fly (PATCH_SKILL_CONFIG)

Tip

To preview your changes before they go live, try them in SDK Studio (sdk.raia.run), then check the result on your test page, since a few settings may look slightly different there.