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.

The Live Chat Skill allows your raia AI agent to interact directly with users on your website. This guide covers every configuration option available in 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.

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.off, once_per_session, always
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.Boolean (true / false)
File UploadsAllows users to upload files in the chat interface.Boolean (true / false)
Message Length LimitMaximum character count for user messages.Number (default: 3000)
Reasoning DetailsShows the AI's "thinking" process to the user.Boolean (true / false)
Reasoning LabelCustom text displayed while the AI processes.String (e.g., "Thinking...")
Citations EnabledShows source citations for retrieved information.Boolean (true / false)
Use Current Page TextInjects the text of the user's current webpage into the AI context.Boolean (true / false)
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 true, the widget will only load if a valid JWT/Security Key is passed.

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)

The Live Chat widget exposes an API for developers embedding the chat via script or iframe.

Developers can send commands to the widget using window.raiaChat or postMessage to:

  • Open/Close the chat
  • Send a message programmatically
  • Set user data (SET_USER)
  • Inject context (SET_CONTEXT)
  • Update the theme dynamically (UPDATE_THEME)
  • Set the unread message count
  • Override configuration on the fly (PATCH_SKILL_CONFIG)

Tip

Always test configuration changes in SDK Studio (sdk.raia.run) before pushing them live. The preview updates in real time so you can verify theming, launcher behavior, and welcome messages instantly.