Dashboard configuration
These are the main fields you configure in the Settings → Widget UI. Each field maps directly to a property in theClientXConfig interface that the widget receives at session start.
Suggested questions
Suggested questions appear as clickable chips on the widget home screen and in the launcher bar’s rotating placeholder. You have two modes:- AI mode (default)
- Manual mode
In The widget also falls back to AI-generated questions in the launcher bar’s rotating placeholder while it waits for the server response, cycling through built-in defaults first.
ai mode the widget automatically generates contextual questions by scraping the visible text on the current page (title, meta description, headings, and body paragraphs) and sending it to the ClientX server. Questions update automatically on every SPA navigation so visitors always see relevant chips no matter which page they’re on.This is the default — you don’t need to configure anything to enable it.SmartBar
The SmartBar is a proactive bubble that appears after a configurable delay to engage visitors before they leave. On desktop it appears as a floating “Dynamic Island” pill above the launcher. On mobile it injects the message into the launcher placeholder instead to avoid a double-pill layout.sessionStorage and the bubble does not re-appear for the rest of that browser session.
SmartBar parameters
boolean
required
Set to
true to activate the SmartBar. When false (the default) no proactive bubble is shown.string
default:"ai"
Controls how the proactive message is generated.
"ai"— The server generates a personalized opener based on the current page URL, using your knowledge base for context. Falls back tomessageif the request fails."manual"— Uses the staticmessagestring you provide.
string
The static message shown when
mode is "manual", or used as a fallback when mode is "ai" and the server request fails. If this is empty and the server request also fails, the widget uses "Have a question? I can help." as a last resort.string
Optional label appended to a generic fallback message (e.g.
"Book a Demo - ask me anything"). Only used when message is empty and the AI fetch fails.number
default:"3000"
Milliseconds to wait after page load before showing the SmartBar. Set higher values (e.g.
8000) on pages where you want visitors to read before being interrupted.boolean
default:"true"
When
true, a dismiss (×) button appears on the expanded bubble. When false, the visitor can only interact by clicking the bubble — they cannot close it without opening the widget.AI Section
The AI Section is an embedded ask-anything bar you can place anywhere on your page by adding adata-clientx-section attribute to a container element. It renders inside a Shadow DOM so your page CSS does not affect it.
aiSection config object:
AI Section parameters
boolean
required
Set to
true to activate the AI Section on any element with data-clientx-section.string
Large bold heading rendered above the input bar (e.g.
"Got questions about our product?").string
Placeholder text inside the input field. Defaults to
"Ask me anything…" if not set.string[]
Array of pill-style suggestion chips rendered below the input bar. Up to four are shown. Clicking a chip opens the main widget panel and sends the question automatically.
Changes saved in the dashboard take effect immediately on the next visitor session — no redeployment or script tag update needed. The widget always fetches the latest configuration at session start.