Customize the AI Chat Widget for your brand, launch behavior, visitor flow, prompts, session rules, and advanced website use cases.
Use this page when the widget is already installed and you want it to feel right for your website, support workflow, and visitor journey.
Prefer tinkering to reading? The Playground lets you tweak the most common options live and copy the generated snippet. Need implementation guidance for richer widget UI? Go straight to Custom Components, React Components, or Headless.
For Widget v5, Companion mode covers the floating workspace, sidebar and fullscreen layouts, page context, annotations and mentions. Set displayMode: 'companion' in your widget options to use it; the classic popover remains the default.Choose website capabilities in Channels → Web chat, alongside the live widget preview. Use Settings → Advanced for progress updates, memory and available capabilities such as scheduled follow-ups. The embed’s features options can switch supported capabilities off for one site; setting them to true does not enable an organization-disabled feature. Installing v5 or a coding skill does not turn on streaming for your organization.See the v5 configuration reference for option names, or install a coding skill to help apply them in your app.
If the built-in theme options are not enough, use for deeper styling. This is the right option when you need to target specific widget parts with custom CSS.
Use when you want a simple welcome message for a new chat.
2
Use advanced messages only when needed
Switch to when some opening messages should stay visible in the conversation and others should disappear after the first reply.
3
Keep the opening copy focused
Use the welcome area to set expectations, not to explain every feature of your support flow.
const options = { token: '<WIDGET_TOKEN>', initialMessages: ['Hi, how can I help today?'],};
1
List the most common starting intents
Use for the first few things visitors usually ask.
2
Choose the position
Use to decide whether they appear above the input or closer to the welcome copy.
3
Keep the list short
Pick the questions that reduce hesitation and help visitors start quickly.
4
Require a choice before typing (optional)
Set requireInitialQuestion to true to require a choice before typing. The popover hides the message box; Companion keeps it visible but disabled below the starter pills. Selection sends the first message and enables follow-ups. Leave it off to allow free text from the start.
const options = { token: '<WIDGET_TOKEN>', initialQuestions: ['Where is my order?', 'Can I change my plan?'], requireInitialQuestion: true,};
Each new or reset session requires a choice. Existing sessions with messages stay editable. Add at least one non-empty question; if the list is empty or contains only whitespace, the message box stays available.
requireInitialQuestion is available in Widget 4.0.63 and Widget 5.0.0. Earlier v5 betas, including beta.10, do not support it. Try it under First visit → Require an initial question in the Playground.
1
Turn on the prompt
Use when you want the widget to ask whether the latest AI answer solved the issue.
2
Use it after self-serve answers
This works best when the AI often resolves issues without a human handoff.
3
Keep the next step clear
Pair it with your handoff setup so visitors who still need help know what happens next.
Need to collect visitor details before chat starts? Use for the built-in form, when your site already knows the visitor’s name or email, and only for the extra fields you truly need.
Use for page-level or runtime details the AI may need on each message.
2
Keep it focused on what changes the answer
This is the right place for an approved page URL, product ID, or current screen context. Exclude query strings and fragments; if the path contains private information, send an approved route label instead.
This page is for choosing the right configuration direction. Use the implementation guides next when you need details:
Custom Components
Decide when richer UI is worth the extra implementation work.
React Components
Register action-specific UI in the default React widget.
Headless
Build fully custom rendering with the headless widget packages.
Mobile Support
Configure the widget for iOS, Android, and React Native support screens.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Open.cx Docs","description":"Documentation for OpenCX, an AI-powered omnichannel customer support platform. Build AI agents for chat, phone, email, WhatsApp, and SMS with knowledge bases, actions, and human handoff.","colors":{"primary":"#0A0A0A","light":"#FAFAFA","dark":"#0A0A0A"},"logo":{"light":"https://mintcdn.com/openchat/ivWwffb57vEmukK4/logo-light.svg?fit=max\u0026auto=format\u0026n=ivWwffb57vEmukK4\u0026q=85\u0026s=f6a5e94f4909a4d8df45757989c11afe","dark":"https://mintcdn.com/openchat/ivWwffb57vEmukK4/logo.svg?fit=max\u0026auto=format\u0026n=ivWwffb57vEmukK4\u0026q=85\u0026s=84cc8ee0de542d166e76b53651f4f4e8"},"favicon":"https://mintcdn.com/openchat/ivWwffb57vEmukK4/favicon.png?fit=max\u0026auto=format\u0026n=ivWwffb57vEmukK4\u0026q=85\u0026s=68fa269328f9c95d4404b9073ac8aa37","api":{"openapi":"https://api.open.cx/api-json","playground":{"display":"interactive"},"mdx":{"server":"https://api.open.cx"}},"appearance":{"default":"dark","strict":false},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#0A0A0A"}},"navbar":{"links":[{"href":"https://platform.open.cx","label":"Dashboard"}],"primary":{"type":"button","label":"Get Started","href":"https://open.cx"}},"seo":{"metatags":{"og:type":"website","og:site_name":"OpenCX Docs"},"indexing":"all"},"fonts":{"heading":{"family":"Inter Tight"},"body":{"family":"Inter"}},"styling":{"eyebrows":"section","codeblocks":"dark","latex":true},"contextual":{"options":["copy","view","claude","chatgpt"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openchat","hasAudioNarration":false,"actualSubdomain":"openchat","customDomains":["docs.open.cx"],"gitSource":{"type":"github","owner":"opencx-labs","repo":"opencx","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada4f653bd44d763c3afa26","collectionId":"21a9ec78-20eb-426a-a33d-36db866046c0","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada4f653bd44d763c3afa26"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6ada4f653bd44d763c3afa26","clientVersion":"0.0.3939","searchFilterCounts":[{"language":"default","tag":"API Reference","count":333},{"language":"default","tag":"Integrations","count":113},{"language":"default","tag":"Ticketing Systems","count":100},{"language":"default","tag":"Build Agents","count":64},{"language":"default","tag":"Agent Training","count":53},{"language":"default","tag":"Help Center","count":45},{"language":"default","tag":"Sequences","count":40},{"language":"default","tag":"Channels","count":37},{"language":"default","tag":"Setup Integration","count":32},{"language":"default","tag":"Main Knowledge Sources","count":30}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"@keyframes orbit{0%{transform:rotate(calc(var(--angle)*1deg)) translateY(calc(var(--orbit-radius)*-1px)) rotate(calc(var(--angle)*-1deg))}to{transform:rotate(calc(var(--angle)*1deg + 360deg)) translateY(calc(var(--orbit-radius)*-1px)) rotate(calc(var(--angle)*-1deg - 360deg))}}@keyframes docs-footer-status-pulse{0%,to{box-shadow:0 0 0 0 rgba(16,185,129,.55)}50%{box-shadow:0 0 0 5px transparent}}:root{--radius:0.375rem;--radius-sm:0.125rem;--radius-md:0.25rem;--radius-lg:0.375rem;--radius-xl:0.75rem;--radius-2xl:1.125rem;--radius-3xl:1.5rem;--radius-full:9999px}.card,.card-group .card,.card-group card,card,card-group card{border-radius:var(--radius-3xl)}#search-bar-entry,#topbar-cta-button>a,#topbar-cta-button>a>span.absolute,.accordion,.accordion-group .accordion,.callout,.zendesk-flow .zendesk-flow-frame,[data-accordion-item],[data-accordion],accordion,accordion-group accordion,callout,div[class*=language-],div[class*=language-] pre,figure.shiki,pre,pre.shiki,pre>code{border-radius:var(--radius-xl)}.integration-orbit a[href]{touch-action:manipulation}.integration-orbit a[href] img{pointer-events:none}:root{--docs-context-bg:#ffffff;--docs-context-bg-hover:#f5f5f5;--docs-context-border:rgba(10, 10, 10, 0.16);--docs-context-border-strong:rgba(10, 10, 10, 0.32);--docs-context-text:#0a0a0a;--docs-context-muted:rgba(10, 10, 10, 0.6);--docs-context-accent:#0a0a0a;--docs-context-trigger-bg:linear-gradient(180deg, rgba(10, 10, 10, 0.04), transparent 48%),\n var(--docs-context-bg);--docs-context-trigger-bg-hover:linear-gradient(180deg, rgba(10, 10, 10, 0.07), transparent 52%),\n var(--docs-context-bg-hover);--docs-context-trigger-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.9),\n 0 1px 2px rgba(15, 23, 42, 0.04);--docs-context-menu-bg:radial-gradient(circle at top right, rgba(10, 10, 10, 0.05), transparent 38%),\n linear-gradient(180deg, #ffffff, #fafafa);--docs-context-menu-border:rgba(10, 10, 10, 0.14);--docs-context-menu-shadow:0 24px 60px rgba(15, 23, 42, 0.16),\n 0 0 0 1px rgba(10, 10, 10, 0.06);--docs-context-hover-text:#0a0a0a;--docs-context-item-hover:rgba(10, 10, 10, 0.06);--docs-context-divider:rgba(10, 10, 10, 0.1)}html.dark{--docs-context-bg:#0a0a0a;--docs-context-bg-hover:#161616;--docs-context-border:rgba(255, 255, 255, 0.2);--docs-context-border-strong:rgba(255, 255, 255, 0.36);--docs-context-text:#fafafa;--docs-context-muted:rgba(250, 250, 250, 0.72);--docs-context-accent:#fafafa;--docs-context-trigger-bg:linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),\n var(--docs-context-bg);--docs-context-trigger-bg-hover:linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 48%),\n var(--docs-context-bg-hover);--docs-context-trigger-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.05),\n 0 0 0 1px rgba(255, 255, 255, 0.08);--docs-context-menu-bg:radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),\n linear-gradient(180deg, #121212, #050505);--docs-context-menu-border:rgba(255, 255, 255, 0.14);--docs-context-menu-shadow:0 24px 60px rgba(0, 0, 0, 0.42),\n 0 0 0 1px rgba(255, 255, 255, 0.08);--docs-context-hover-text:#ffffff;--docs-context-item-hover:rgba(255, 255, 255, 0.1);--docs-context-divider:rgba(255, 255, 255, 0.12);--primary:250 250 250;--primary-light:245 245 245;--primary-dark:10 10 10}#page-context-menu button[aria-label='More actions'],#page-context-menu-button{color:var(--docs-context-text)!important;background:var(--docs-context-trigger-bg)!important;border-color:var(--docs-context-border)!important;box-shadow:var(--docs-context-trigger-shadow)}#page-context-menu-button{border-right-color:var(--docs-context-divider)!important}#page-context-menu button[aria-label='More actions'] svg,#page-context-menu-button svg,body [data-radix-popper-content-wrapper] [role=menuitem] svg{color:var(--docs-context-accent)!important}#page-context-menu button[aria-label='More actions']:hover,#page-context-menu button[aria-label='More actions'][data-state=open],#page-context-menu-button:hover{color:var(--docs-context-hover-text)!important;background:var(--docs-context-trigger-bg-hover)!important;border-color:var(--docs-context-border-strong)!important}body [data-radix-popper-content-wrapper] [role=menu]{color:var(--docs-context-text)!important;background:var(--docs-context-menu-bg)!important;border:1px solid var(--docs-context-menu-border)!important;border-radius:var(--radius-xl)!important;box-shadow:var(--docs-context-menu-shadow)!important}body [data-radix-popper-content-wrapper] [role=menuitem]{color:var(--docs-context-text)!important;border-radius:var(--radius-lg)!important}body [data-radix-popper-content-wrapper] [role=menuitem] *{color:var(--docs-context-text)!important}body [data-radix-popper-content-wrapper] [role=menuitem] [class*=text-gray],body [data-radix-popper-content-wrapper] [role=menuitem] [class*=text-slate],body [data-radix-popper-content-wrapper] [role=menuitem] [class*=text-white],body [data-radix-popper-content-wrapper] [role=menuitem] [class*=text-zinc],body [data-radix-popper-content-wrapper] [role=menuitem] p{color:var(--docs-context-muted)!important}body [data-radix-popper-content-wrapper] [role=menuitem]:hover,body [data-radix-popper-content-wrapper] [role=menuitem][data-highlighted]{color:var(--docs-context-hover-text)!important;background:var(--docs-context-item-hover)!important}html:not(.dark) #sidebar{border-right:1px solid #e5e5e5!important}html.dark #sidebar{border-right:1px solid #262626!important}#sidebar,#sidebar *,#sidebar-content,#sidebar-content *{scrollbar-color:rgba(113,113,122,.4) transparent}#sidebar ::-webkit-scrollbar,#sidebar-content ::-webkit-scrollbar{width:8px;background:0 0}#sidebar ::-webkit-scrollbar-corner,#sidebar ::-webkit-scrollbar-track,#sidebar-content ::-webkit-scrollbar-corner,#sidebar-content ::-webkit-scrollbar-track{background:0 0}#sidebar ::-webkit-scrollbar-thumb,#sidebar-content ::-webkit-scrollbar-thumb{background-color:rgba(113,113,122,.4);border-radius:9999px!important;border:2px solid transparent;background-clip:content-box}#sidebar ::-webkit-scrollbar-thumb:hover,#sidebar-content ::-webkit-scrollbar-thumb:hover{background-color:rgba(113,113,122,.7)}html.dark #sidebar,html.dark #sidebar *,html.dark #sidebar-content,html.dark #sidebar-content *{scrollbar-color:rgba(161,161,170,.35) transparent}html.dark #sidebar ::-webkit-scrollbar-thumb,html.dark #sidebar-content ::-webkit-scrollbar-thumb{background-color:rgba(161,161,170,.35)}html.dark #sidebar ::-webkit-scrollbar-thumb:hover,html.dark #sidebar-content ::-webkit-scrollbar-thumb:hover{background-color:rgba(161,161,170,.6)}#sidebar-content>div>div.sticky.top-0.pointer-events-none.bg-gradient-to-b{background-image:none!important}html.dark #sidebar img[src*='/images/mcp/claude.svg'],html.dark #sidebar img[src*='/images/mcp/cursor.svg'],html.dark #sidebar img[src*='/images/mcp/windsurf.svg'],html.dark #sidebar img[src*='/images/mcp/zed.svg']{filter:invert(1) brightness(.92)}#navbar{box-shadow:none!important;row-gap:.25rem!important}html:not(.dark) #navbar{border-bottom:1px solid #e2e8f0!important}html.dark #navbar{border-bottom:1px solid #3f463f!important}#navbar #header,#navbar #navigation-items,#navbar navigation-items{border-bottom:none!important;box-shadow:none!important}#navbar .nav-tabs,#navbar nav-tabs{border-top:none!important;border-top-width:0!important;box-shadow:none!important}#navbar .h-16 .h-full.relative.flex-1.flex.items-center.gap-x-4.min-w-0{border-bottom:none!important;border-bottom-width:0!important;box-shadow:none!important}:not(pre)>code:is(.dark *){color:rgb(var(--primary-light))}:not(pre)>code{color:rgb(var(--primary))}html:not(.dark) #search-bar-entry{background-color:#fff!important;color:#404040}html:not(.dark) #navbar div.backdrop-blur{backdrop-filter:blur(14px) saturate(180%)!important;-webkit-backdrop-filter:blur(14px) saturate(180%)!important;background-color:rgba(255,255,255,.72)!important}html.dark #navbar div.backdrop-blur{backdrop-filter:blur(6px) saturate(125%)!important;-webkit-backdrop-filter:blur(6px) saturate(125%)!important;background-color:rgba(10,10,10,.6)!important}html:not(.dark) #topbar-cta-button>a>span.absolute{background-color:#0a0a0a!important}html:not(.dark) #topbar-cta-button>a .text-white{color:#fafafa!important}html.dark #topbar-cta-button>a>span.absolute{background-color:#fafafa!important}html.dark #topbar-cta-button>a .text-white,html.dark #topbar-cta-button>a svg{color:#0a0a0a!important}.nav-tabs-item>span>svg:first-child,.nav-tabs-item>svg{display:none!important}.toc-item{padding-left:12px!important;border-left:2px solid rgba(148,163,184,.22)!important;transition:border-color .18s ease,color .18s ease}html.dark .toc-item{border-left-color:rgba(148,163,184,.2)!important}.toc-item:hover{border-left-color:rgba(10,10,10,.45)!important}html.dark .toc-item:hover{border-left-color:rgba(250,250,250,.55)!important}.toc-item:has(>a[class*=text-primary]),.toc-item:has(>a[style*=color]){border-left-color:rgb(var(--primary))!important}html.dark .toc-item:has(>a[class*=text-primary]),html.dark .toc-item:has(>a[style*=color]){border-left-color:rgb(var(--primary-light))!important}button[data-state][aria-label],button[data-state][aria-label]>*,span.tooltip{cursor:help!important}#navbar .h-16 img[src*='logo.svg'],#navbar .h-16 img[src*=logo-light]{transform:scale(1.1);transform-origin:left center}#navbar .h-16>div>div:has(#search-bar-entry){justify-content:flex-end!important}#navbar .h-16>div>div.ml-auto.justify-end{flex:0 0 auto!important}.integration-orbit-grid-fade{background-image:linear-gradient(to right,rgb(0 0 0/.07) 1px,transparent 1px),linear-gradient(to bottom,rgb(0 0 0/.07) 1px,transparent 1px);background-size:16px 16px;background-position:center center;-webkit-mask-image:radial-gradient(72% 72% at 50% 50%,#000 0,#000 38%,transparent 82%);mask-image:radial-gradient(72% 72% at 50% 50%,#000 0,#000 38%,transparent 82%)}html.dark .integration-orbit-grid-fade{background-image:linear-gradient(to right,rgb(255 255 255/.08) 1px,transparent 1px),linear-gradient(to bottom,rgb(255 255 255/.08) 1px,transparent 1px)}.animate-orbit{animation:orbit var(--duration) linear infinite}.zendesk-flow-frame{background-image:radial-gradient(ellipse 80% 50% at 50% 50%,rgb(34 197 94/.04),transparent 70%)}html.dark .zendesk-flow-frame{background-image:radial-gradient(ellipse 80% 50% at 50% 50%,rgb(34 197 94/.06),transparent 70%)}.zendesk-flow-grid{background-image:linear-gradient(to right,rgb(0 0 0/.05) 1px,transparent 1px),linear-gradient(to bottom,rgb(0 0 0/.05) 1px,transparent 1px);background-size:24px 24px;background-position:center center;-webkit-mask-image:radial-gradient(80% 70% at 50% 50%,#000 0,#000 45%,transparent 90%);mask-image:radial-gradient(80% 70% at 50% 50%,#000 0,#000 45%,transparent 90%)}html.dark .zendesk-flow-grid{background-image:linear-gradient(to right,rgb(255 255 255/.05) 1px,transparent 1px),linear-gradient(to bottom,rgb(255 255 255/.05) 1px,transparent 1px)}#footer,.chat-assistant-floating-input,[class*=chat-assistant-floating]{display:none!important}.docs-footer{margin-top:5rem;padding-top:3rem;padding-bottom:1.5rem;border-top:1px solid rgba(228,228,231,.7);font-size:.875rem;color:rgb(82 82 91);line-height:1.5}html.dark .docs-footer{border-top-color:rgba(63,63,70,.35);color:rgb(161 161 170)}.docs-footer__top{display:flex;flex-direction:column;gap:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(228,228,231,.55)}html.dark .docs-footer__top{border-bottom-color:rgba(63,63,70,.25)}@media (min-width:768px){.docs-footer__top{flex-direction:row;gap:3rem}}.docs-footer__brand{display:flex;flex-direction:column;gap:.75rem;max-width:16rem;flex-shrink:0}@media (min-width:768px){.docs-footer__brand{width:16rem}}.docs-footer__logo-link{display:inline-flex;width:fit-content}.docs-footer__logo{height:1.75rem;width:auto}.docs-footer__logo--dark,html.dark .docs-footer__logo--light{display:none}html.dark .docs-footer__logo--dark{display:inline-block}.docs-footer__desc{margin:.25rem 0 0;font-size:.8125rem;line-height:1.55;color:rgb(63 63 70)}html.dark .docs-footer__desc{color:rgb(212 212 216)}.docs-footer__label{margin:.75rem 0 .25rem;font-size:.6875rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgb(82 82 91)}html.dark .docs-footer__label{color:rgb(161 161 170)}.docs-footer__socials{display:inline-flex;gap:.875rem;align-items:center}.docs-footer__socials a{display:inline-flex;align-items:center;justify-content:center;color:rgb(24 24 27);transition:opacity .15s ease}.docs-footer__socials a:hover{opacity:.65}html.dark .docs-footer__col-header,html.dark .docs-footer__socials a{color:rgb(244 244 245)}html.dark .docs-footer__socials a:hover{opacity:.7}.docs-footer__columns{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}@media (min-width:640px){.docs-footer__columns{grid-template-columns:repeat(3,minmax(0,1fr))}}.docs-footer__col{display:flex;flex-direction:column;gap:.5rem}.docs-footer__col-header{margin:0 0 .5rem;font-size:.8125rem;font-weight:700!important;color:rgb(24 24 27)}.docs-footer__col a{font-size:.8125rem;color:rgb(63 63 70);text-decoration:none;transition:color .15s ease}.docs-footer__col a:hover,.docs-footer__status:hover{color:rgb(24 24 27)}html.dark .docs-footer__col a{color:rgb(212 212 216)}html.dark .docs-footer__col a:hover,html.dark .docs-footer__status:hover{color:rgb(244 244 245)}.docs-footer__bottom{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;padding-top:1.25rem}@media (min-width:640px){.docs-footer__bottom{flex-direction:row;align-items:center;justify-content:space-between}}.docs-footer__copy{font-size:.75rem;color:rgb(82 82 91)}html.dark .docs-footer__copy,html.dark .docs-footer__status{color:rgb(161 161 170)}.docs-footer__status{display:inline-flex;align-items:center;gap:.5rem;font-size:.6875rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgb(82 82 91);text-decoration:none;transition:color .15s ease}.docs-footer__status-dot{display:inline-block;flex-shrink:0;width:.5rem;height:.5rem;background-color:#10b981;border-radius:var(--radius-full);box-shadow:0 0 0 0 rgba(16,185,129,.55);animation:docs-footer-status-pulse 2.4s ease-in-out infinite}@media (prefers-reduced-motion:reduce){.docs-footer__status-dot{animation:none;box-shadow:0 0 0 3px rgba(16,185,129,.25)}}#pagination{margin-top:3rem;padding-top:2rem;border-top:1px solid rgba(228,228,231,.8)}html.dark #pagination,html.dark #table-of-contents-layout .feedback-toolbar{border-top-color:rgba(63,63,70,.6)}#table-of-contents-layout{flex-direction:column}#table-of-contents-layout .feedback-toolbar{width:100%;margin-top:1.5rem;padding-top:1.5rem;padding-bottom:0;border-top:1px solid rgba(228,228,231,.8)}#table-of-contents-layout .feedback-toolbar>div{flex-direction:column;align-items:flex-start;gap:.75rem}#table-of-contents-layout .feedback-toolbar p{white-space:normal}"}],"page":{"pagePath":"widget/configuration","slug":"/widget/configuration","pageMetadata":{"title":"Widget configuration","sidebarTitle":"Configuration","description":"Customize the AI Chat Widget for your brand, launch behavior, visitor flow, prompts, session rules, and advanced website use cases.","icon":"gear","keywords":["widget configuration","widget theme","inline widget","headerButtons","initialQuestions","require a starting question","sessionCustomData","messageCustomData","router chatScreenOnly","widget headers","translationOverrides","widget","chat widget","web widget","website chat","embedded chat"],"href":"/widget/configuration"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Customize the AI Chat Widget for your brand, launch behavior, visitor flow, prompts, session rules, and advanced website use cases.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Heading,Info,Note,Step,Steps,Tab,Tabs,Tip,Tooltip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use this page when the widget is already installed and you want it to feel right for your website, support workflow, and visitor journey.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Prefer tinkering to reading? The `,_jsx(_components.strong,{children:_jsx(_components.a,{href:`/widget/playground`,children:`Playground`})}),` lets you tweak the most common options live and copy the generated snippet. Need implementation guidance for richer widget UI? Go straight to `,_jsx(_components.a,{href:`/widget/custom-components`,children:`Custom Components`}),`, `,_jsx(_components.a,{href:`/widget/custom-components-react`,children:`React Components`}),`, or `,_jsx(_components.a,{href:`/widget/custom-components-headless`,children:`Headless`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`configure-widget-v5`,children:`Configure Widget v5`}),`\n`,_jsxs(_components.p,{children:[`For Widget v5, `,_jsx(_components.a,{href:`/widget/companion-mode`,children:`Companion mode`}),` covers the floating workspace, sidebar and fullscreen layouts, page context, annotations and mentions. Set `,_jsx(_components.code,{children:`displayMode: 'companion'`}),` in your widget options to use it; the classic popover remains the default.`]}),`\n`,_jsxs(_components.p,{children:[`Choose website capabilities in `,_jsx(_components.a,{href:`https://platform.open.cx/channels/configure/widget`,children:`Channels → Web chat`}),`, alongside the live widget preview. Use `,_jsx(_components.a,{href:`https://platform.open.cx/settings/ai-features`,children:`Settings → Advanced`}),` for progress updates, memory and available capabilities such as scheduled follow-ups. The embed’s `,_jsx(_components.code,{children:`features`}),` options can switch supported capabilities off for one site; setting them to `,_jsx(_components.code,{children:`true`}),` does not enable an organization-disabled feature. Installing v5 or a coding skill does not turn on streaming for your organization.`]}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/widget/configuration-reference#widget-v5-options`,children:`v5 configuration reference`}),` for option names, or `,_jsx(_components.a,{href:`/widget/agent-skills`,children:`install a coding skill`}),` to help apply them in your app.`]}),`\n`,_jsx(Heading,{level:`2`,id:`decide-what-to-configure`,children:`Decide what to configure`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`How should the widget look?`,icon:`paintbrush`,id:`how-should-the-widget-look`,children:_jsx(_components.p,{children:`Decide on the widget brand, copy, colors, launcher visuals, and deeper styling.`})}),_jsx(Accordion,{title:`How should the widget open?`,icon:`message`,id:`how-should-the-widget-open`,children:_jsx(_components.p,{children:`Decide between the default floating launcher, inline embed, open-by-default behavior, and delayed open.`})}),_jsx(Accordion,{title:`What should visitors see first?`,icon:`comment`,id:`what-should-visitors-see-first`,children:_jsx(_components.p,{children:`Decide what visitors should see first, including welcome copy, suggested questions, and a quick resolution prompt.`})}),_jsx(Accordion,{title:`What extra data should travel with the conversation?`,icon:`database`,id:`what-extra-data-should-travel-with-the-conversation`,children:_jsx(_components.p,{children:`Decide what AI context, human-only metadata, and action-request data should travel with the conversation.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`match-the-widget-to-your-brand`,children:`Match The Widget To Your Brand`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Bot and human identity`,id:`bot-and-human-identity`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Set the AI identity visitors should see`,children:_jsxs(_components.p,{children:[`Use `,_jsx(Tooltip,{tip:`Configuration object for the AI identity shown in the widget header and message bubbles — includes name and avatar.`,children:_jsx(_components.code,{children:`bot`})}),` for the AI name and avatar shown in the widget header and AI messages.`]})}),_jsx(Step,{title:`Set the default human-support appearance`,children:_jsxs(_components.p,{children:[`Use `,_jsx(Tooltip,{tip:`Configuration object for the default human agent appearance shown after handoff — includes avatar.`,children:_jsx(_components.code,{children:`humanAgent`})}),` when your team wants a consistent human avatar after handoff.`]})}),_jsx(Step,{title:`Apply both in one options object`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` options`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\u003cWIDGET_TOKEN>'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` bot:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'Acme Support'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` avatarUrl:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'https://example.com/acme-bot.png'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` humanAgent:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` avatarUrl:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'https://example.com/support-team.png'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})})]})}),_jsx(Tab,{title:`Logos and launcher visuals`,id:`logos-and-launcher-visuals`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Decide what brand visuals should appear`,children:_jsxs(_components.p,{children:[`Use `,_jsx(Tooltip,{tip:`Configuration object for brand visuals — organization logo, launcher images, and other visual identity assets.`,children:_jsx(_components.code,{children:`assets`})}),` when the widget should look like part of your site instead of a generic chat tool.`]})}),_jsx(Step,{title:`Start with the welcome logo`,children:_jsx(_components.p,{children:`The most common first change is the organization logo on the welcome screen.`})}),_jsx(Step,{title:`Add the assets object`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` options`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\u003cWIDGET_TOKEN>'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` assets:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` organizationLogo:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'https://example.com/logo.png'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})})]})}),_jsx(Tab,{title:`Theme, language, and copy`,id:`theme%2C-language%2C-and-copy`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Use theme for color and layout`,children:_jsxs(_components.p,{children:[_jsx(Tooltip,{tip:`Configuration object for colors, panel sizing, spacing, and other layout-level visual settings.`,children:_jsx(_components.code,{children:`theme`})}),` controls colors, panel sizing, spacing, and other layout-level visuals.`]})}),_jsx(Step,{title:`Use text settings for wording`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`textContent`}),`, `,_jsx(_components.code,{children:`language`}),`, and `,_jsx(Tooltip,{tip:`Custom text overrides for specific widget UI strings — lets you match product vocabulary without changing the language setting.`,children:_jsx(_components.code,{children:`translationOverrides`})}),` help the widget match your product vocabulary.`]})}),_jsx(Step,{title:`Start with a small configuration first`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` options`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\u003cWIDGET_TOKEN>'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` language:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'en'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` theme:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` primaryColor:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#0A0A0A'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})})]})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`If the built-in theme options are not enough, use `,_jsx(Tooltip,{tip:`A string of custom CSS injected into the widget for deeper styling beyond the theme object.`,children:_jsx(_components.code,{children:`cssOverrides`})}),` for deeper styling. This is the right option when you need to target specific widget parts with custom CSS.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`choose-how-the-widget-opens`,children:`Choose How The Widget Opens`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Floating launcher`,icon:`message`,id:`floating-launcher`,children:_jsxs(_components.p,{children:[`Keep chat available across the site without taking permanent page space. See `,_jsx(_components.a,{href:`/widget/install-widget#floating-launcher`,children:`Floating launcher setup`}),`.`]})}),_jsx(Accordion,{title:`Inline embed`,icon:`rectangle-list`,id:`inline-embed`,children:_jsxs(_components.p,{children:[`Place the widget inside a page section, such as a help page, pricing page, or account area. See `,_jsx(_components.a,{href:`/widget/install-widget#inline-embed`,children:`Inline embed setup`}),`.`]})}),_jsx(Accordion,{title:`Open by default`,icon:`arrow-up-right-from-square`,id:`open-by-default`,children:_jsxs(_components.p,{children:[`Open the widget on first render for cases like a webview or a dedicated support screen. See `,_jsx(_components.a,{href:`/widget/install-widget#open-by-default`,children:`Open by default setup`}),`.`]})}),_jsx(Accordion,{title:`Open after a delay`,icon:`clock`,id:`open-after-a-delay`,children:_jsxs(_components.p,{children:[`Open the widget after time on page when you want a proactive nudge instead of an always-on interruption. See `,_jsx(_components.a,{href:`/widget/install-widget#open-after-a-delay`,children:`Delayed open setup`}),`.`]})})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Need to change session behavior too? Use options like `,_jsx(Tooltip,{tip:`When true, hides the new-conversation option while an open thread already exists.`,children:_jsx(_components.code,{children:`oneOpenSessionAllowed`})}),`, `,_jsx(Tooltip,{tip:`Takes first-time visitors directly into the chat flow when there is no history to resume.`,children:_jsx(_components.code,{children:`router.goToChatIfNoSessions`})}),`, `,_jsx(Tooltip,{tip:`Removes the sessions browser and lands the visitor directly in the chat experience.`,children:_jsx(_components.code,{children:`router.chatScreenOnly`})}),`, and `,_jsx(Tooltip,{tip:`Array of button identifiers shown in the widget header — e.g. resolve-session.`,children:_jsx(_components.code,{children:`headerButtons`})}),`. For the user-facing effect of those settings, see `,_jsx(_components.a,{href:`/widget/conversation-sessions`,children:`Conversation Sessions`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`shape-the-first-visit-experience`,children:`Shape The First-Visit Experience`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Welcome messages`,id:`welcome-messages`,children:[_jsxs(Steps,{children:[_jsx(Step,{title:`Choose the opening message style`,children:_jsxs(_components.p,{children:[`Use `,_jsx(Tooltip,{tip:`Array of welcome messages displayed when a new conversation starts.`,children:_jsx(_components.code,{children:`initialMessages`})}),` when you want a simple welcome message for a new chat.`]})}),_jsx(Step,{title:`Use advanced messages only when needed`,children:_jsxs(_components.p,{children:[`Switch to `,_jsx(Tooltip,{tip:`Extended welcome messages where some stay visible in the thread and others disappear after the first reply.`,children:_jsx(_components.code,{children:`advancedInitialMessages`})}),` when some opening messages should stay visible in the conversation and others should disappear after the first reply.`]})}),_jsx(Step,{title:`Keep the opening copy focused`,children:_jsx(_components.p,{children:`Use the welcome area to set expectations, not to explain every feature of your support flow.`})})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` options`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\u003cWIDGET_TOKEN>'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` initialMessages:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'Hi, how can I help today?'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})]}),_jsxs(Tab,{title:`Suggested questions`,id:`suggested-questions`,children:[_jsxs(Steps,{children:[_jsx(Step,{title:`List the most common starting intents`,children:_jsxs(_components.p,{children:[`Use `,_jsx(Tooltip,{tip:`Suggested starting questions shown to the visitor to reduce hesitation and guide the first message.`,children:_jsx(_components.code,{children:`initialQuestions`})}),` for the first few things visitors usually ask.`]})}),_jsx(Step,{title:`Choose the position`,children:_jsxs(_components.p,{children:[`Use `,_jsx(Tooltip,{tip:`Controls whether suggested questions appear above the input field or closer to the welcome copy.`,children:_jsx(_components.code,{children:`initialQuestionsPosition`})}),` to decide whether they appear above the input or closer to the welcome copy.`]})}),_jsx(Step,{title:`Keep the list short`,children:_jsx(_components.p,{children:`Pick the questions that reduce hesitation and help visitors start quickly.`})}),_jsx(Step,{title:`Require a choice before typing (optional)`,children:_jsxs(_components.p,{children:[`Set `,_jsx(_components.a,{href:`/widget/configuration-reference#requireinitialquestion`,children:_jsx(_components.code,{children:`requireInitialQuestion`})}),` to `,_jsx(_components.code,{children:`true`}),` to require a choice before typing. The popover hides the message box; Companion keeps it visible but disabled below the starter pills. Selection sends the first message and enables follow-ups. Leave it off to allow free text from the start.`]})})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` options`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\u003cWIDGET_TOKEN>'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` initialQuestions:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'Where is my order?'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'Can I change my plan?'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` requireInitialQuestion:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})}),_jsx(_components.p,{children:`Each new or reset session requires a choice. Existing sessions with messages stay editable. Add at least one non-empty question; if the list is empty or contains only whitespace, the message box stays available.`}),_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`requireInitialQuestion`}),` is available in Widget `,_jsx(_components.code,{children:`4.0.63`}),` and Widget `,_jsx(_components.code,{children:`5.0.0`}),`. Earlier v5 betas, including beta.10, do not support it. Try it under `,_jsx(_components.strong,{children:`First visit → Require an initial question`}),` in the `,_jsx(_components.a,{href:`/widget/playground`,children:`Playground`}),`.`]})})]}),_jsxs(Tab,{title:`Helpful prompt`,id:`helpful-prompt`,children:[_jsxs(Steps,{children:[_jsx(Step,{title:`Turn on the prompt`,children:_jsxs(_components.p,{children:[`Use `,_jsx(Tooltip,{tip:`A built-in widget prompt that asks the visitor whether the AI's answer resolved their issue, before the conversation moves on.`,children:`thisWasHelpfulOrNot`}),` when you want the widget to ask whether the latest AI answer solved the issue.`]})}),_jsx(Step,{title:`Use it after self-serve answers`,children:_jsx(_components.p,{children:`This works best when the AI often resolves issues without a human handoff.`})}),_jsx(Step,{title:`Keep the next step clear`,children:_jsx(_components.p,{children:`Pair it with your handoff setup so visitors who still need help know what happens next.`})})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` options`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\u003cWIDGET_TOKEN>'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` thisWasHelpfulOrNot:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` enabled:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Need to collect visitor details before chat starts? Use `,_jsx(Tooltip,{tip:`When true, the widget shows a built-in form asking for the visitor's name and email before chat begins.`,children:_jsx(_components.code,{children:`collectUserData`})}),` for the built-in form, `,_jsx(Tooltip,{tip:`Pre-populates the name and email fields in the data collection form with values your app already knows.`,children:_jsx(_components.code,{children:`prefillUserData`})}),` when your site already knows the visitor’s name or email, and `,_jsx(Tooltip,{tip:`Adds custom fields beyond name and email to the built-in data collection form.`,children:_jsx(_components.code,{children:`extraDataCollectionFields`})}),` only for the extra fields you truly need.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`attach-context-without-changing-the-ai-prompt`,children:`Attach Context Without Changing The AI Prompt`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`AI context`,id:`ai-context`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Use context for runtime information`,children:_jsxs(_components.p,{children:[`Use `,_jsx(Tooltip,{tip:`Runtime data (page URL, product ID, screen context) sent with each message so the AI can tailor its response.`,children:_jsx(_components.code,{children:`context`})}),` for page-level or runtime details the AI may need on each message.`]})}),_jsx(Step,{title:`Keep it focused on what changes the answer`,children:_jsx(_components.p,{children:`This is the right place for an approved page URL, product ID, or current screen context. Exclude query strings and fragments; if the path contains private information, send an approved route label instead.`})}),_jsx(Step,{title:`Add the context object`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` options`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\u003cWIDGET_TOKEN>'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` context:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` page:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` window`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`location`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`origin`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` + `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`window`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`location`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`pathname`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})})]})}),_jsx(Tab,{title:`Human-only message data`,id:`human-only-message-data`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Use messageCustomData for per-message notes`,children:_jsxs(_components.p,{children:[_jsx(Tooltip,{tip:`Per-message metadata attached to each contact message — intended for human agents, not the AI.`,children:_jsx(_components.code,{children:`messageCustomData`})}),` travels with each contact message but is intended for human use, not to guide the AI response.`]})}),_jsx(Step,{title:`Use it for operational metadata`,children:_jsx(_components.p,{children:`Good examples include app version, platform, or support workflow metadata.`})}),_jsx(Step,{title:`Add the message metadata`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` options`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\u003cWIDGET_TOKEN>'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` messageCustomData:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` platform:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'WEB'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})})]})}),_jsx(Tab,{title:`Session-level notes`,id:`session-level-notes`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Use sessionCustomData when the session starts`,children:_jsxs(_components.p,{children:[_jsx(Tooltip,{tip:`Metadata attached when the session is created — useful for filtering, routing, and human operator context.`,children:_jsx(_components.code,{children:`sessionCustomData`})}),` is attached when the session is created and is useful for human operators and filtering.`]})}),_jsx(Step,{title:`Keep it tied to the session itself`,children:_jsx(_components.p,{children:`Good examples include visit IDs, plan tier, workspace ID, or a support-route label.`})}),_jsx(Step,{title:`Add the session metadata`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` options`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\u003cWIDGET_TOKEN>'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` sessionCustomData:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` visitId:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'visit_123'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`pass-data-to-ai-actions`,children:`Pass Data To AI Actions`}),`\n`,_jsx(_components.p,{children:`If your AI calls your APIs, the widget can send request data with those action calls:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(Tooltip,{tip:`Custom HTTP headers sent with AI action requests to your APIs.`,children:_jsx(_components.code,{children:`headers`})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(Tooltip,{tip:`Custom query parameters appended to AI action request URLs.`,children:_jsx(_components.code,{children:`queryParams`})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(Tooltip,{tip:`Custom properties merged into the body of AI action requests.`,children:_jsx(_components.code,{children:`bodyProperties`})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Use these when the action request needs customer-specific or page-specific data. If your main problem is secure API credentials, see `,_jsx(_components.a,{href:`https://platform.open.cx/settings`,children:`General settings`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-ui-conversation-modes`,children:`Advanced UI: Conversation Modes`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Use modesComponents`,id:`use-modescomponents`,children:[_jsxs(_components.p,{children:[`Use `,_jsx(Tooltip,{tip:`Widget components that take over the full chat area to drive a structured flow — like onboarding, qualification, or multi-step forms — instead of normal back-and-forth messages.`,children:`modesComponents`}),` when the widget should temporarily switch from normal chat to a guided flow, such as onboarding, qualification, or structured data collection.`]}),_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Good fit`,icon:`check`,children:_jsx(_components.p,{children:`Multi-step flows, guided forms, and canvas-style experiences.`})}),_jsx(Card,{title:`What you control`,icon:`sliders`,children:_jsx(_components.p,{children:`The UI shown during the active mode, the submit action, and the exit flow back to the conversation.`})})]}),_jsx(Note,{children:_jsx(_components.p,{children:`Choose this when the widget is driving a flow, not just rendering the result of one action.`})})]}),_jsxs(Tab,{title:`Use custom components`,id:`use-custom-components`,children:[_jsx(_components.p,{children:`Use custom components when the AI stays in a normal chat thread but one action result should render as richer UI.`}),_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Good fit`,icon:`bolt`,children:_jsx(_components.p,{children:`Order summaries, balance cards, booking confirmations, and status views.`})}),_jsx(Card,{title:`Where to continue`,icon:`paintbrush`,href:`/widget/custom-components`,children:_jsx(_components.p,{children:`Use the custom components guides for the React and headless implementations.`})})]}),_jsx(Info,{children:_jsx(_components.p,{children:`Choose this when you are rendering a result inside the conversation, not taking over the conversation flow.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`where-to-go-next`,children:`Where To Go Next`}),`\n`,_jsx(_components.p,{children:`This page is for choosing the right configuration direction. Use the implementation guides next when you need details:`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Custom Components`,icon:`paintbrush`,href:`/widget/custom-components`,children:_jsx(_components.p,{children:`Decide when richer UI is worth the extra implementation work.`})}),_jsx(Card,{title:`React Components`,icon:`react`,href:`/widget/custom-components-react`,children:_jsx(_components.p,{children:`Register action-specific UI in the default React widget.`})}),_jsx(Card,{title:`Headless`,icon:`code`,href:`/widget/custom-components-headless`,children:_jsx(_components.p,{children:`Build fully custom rendering with the headless widget packages.`})}),_jsx(Card,{title:`Mobile Support`,icon:`phone`,href:`/widget/native-mobile`,children:_jsx(_components.p,{children:`Configure the widget for iOS, Android, and React Native support screens.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Widget configuration","sidebarTitle":"Configuration","description":"Customize the AI Chat Widget for your brand, launch behavior, visitor flow, prompts, session rules, and advanced website use cases.","icon":"gear","keywords":["widget configuration","widget theme","inline widget","headerButtons","initialQuestions","require a starting question","sessionCustomData","messageCustomData","router chatScreenOnly","widget headers","translationOverrides","widget","chat widget","web widget","website chat","embedded chat"],"href":"/widget/configuration"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Configure Widget v5","slug":"configure-widget-v5","depth":2,"children":[]},{"title":"Decide what to configure","slug":"decide-what-to-configure","depth":2,"children":[]},{"title":"Match The Widget To Your Brand","slug":"match-the-widget-to-your-brand","depth":2,"children":[]},{"title":"Choose How The Widget Opens","slug":"choose-how-the-widget-opens","depth":2,"children":[]},{"title":"Shape The First-Visit Experience","slug":"shape-the-first-visit-experience","depth":2,"children":[]},{"title":"Attach Context Without Changing The AI Prompt","slug":"attach-context-without-changing-the-ai-prompt","depth":2,"children":[]},{"title":"Pass Data To AI Actions","slug":"pass-data-to-ai-actions","depth":2,"children":[]},{"title":"Advanced UI: Conversation Modes","slug":"advanced-ui-conversation-modes","depth":2,"children":[]},{"title":"Where To Go Next","slug":"where-to-go-next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/openchat/671ce9e295bc0bed/docs-footer.js","/_mintlify/custom/openchat/5e08dc26b4af039b/opencx-widget.js","/_mintlify/custom/openchat/b138b1492ac22a58/docs-feedback.js"],"subdomain":"openchat","siteName":"Open.cx Docs","title":"Widget configuration - Open.cx Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-30T15:32:47.517Z","originalFileLocation":"widget/configuration.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Customize the AI Chat Widget for your brand, launch behavior, visitor flow, prompts, session rules, and advanced website use cases.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Open.cx Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Widget configuration - Open.cx Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Customize the AI Chat Widget for your brand, launch behavior, visitor flow, prompts, session rules, and advanced website use cases.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenCX Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.open.cx/widget/configuration\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openchat.mintlify.app/_mintlify/api/og/v2?division=Setup+Channel\u0026amp;title=Widget+configuration\u0026amp;description=Customize+the+AI+Chat+Widget+for+your+brand%2C+launch+behavior%2C+visitor+flow%2C+prompts%2C+session+rules%2C+and+advanced+website+use+cases.\u0026amp;theme=d54eff92696b8858e82ef866\u0026amp;signature=721ce3b91c7a6675cf3bed3ca103d2eee2f6140897aad5e5779397cff0adc2cf\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Widget configuration - Open.cx Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Customize the AI Chat Widget for your brand, launch behavior, visitor flow, prompts, session rules, and advanced website use cases.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openchat.mintlify.app/_mintlify/api/og/v2?division=Setup+Channel\u0026amp;title=Widget+configuration\u0026amp;description=Customize+the+AI+Chat+Widget+for+your+brand%2C+launch+behavior%2C+visitor+flow%2C+prompts%2C+session+rules%2C+and+advanced+website+use+cases.\u0026amp;theme=d54eff92696b8858e82ef866\u0026amp;signature=721ce3b91c7a6675cf3bed3ca103d2eee2f6140897aad5e5779397cff0adc2cf\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/openchat/RMvbDkK3gsg3p3OQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Open.cx Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A0A0A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.open.cx/widget/configuration\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/widget/configuration.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.open.cx/#organization\",\"name\":\"Open.cx Docs\",\"url\":\"https://docs.open.cx\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openchat/ivWwffb57vEmukK4/logo-light.svg?fit=max\u0026auto=format\u0026n=ivWwffb57vEmukK4\u0026q=85\u0026s=f6a5e94f4909a4d8df45757989c11afe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.open.cx#website\",\"name\":\"Open.cx Docs\",\"url\":\"https://docs.open.cx\",\"publisher\":{\"@id\":\"https://docs.open.cx/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.open.cx/widget/configuration#webpage\",\"url\":\"https://docs.open.cx/widget/configuration\",\"name\":\"Widget configuration\",\"description\":\"Customize the AI Chat Widget for your brand, launch behavior, visitor flow, prompts, session rules, and advanced website use cases.\",\"dateModified\":\"2026-09-30T15:32:47.517Z\",\"isPartOf\":{\"@id\":\"https://docs.open.cx#website\"},\"breadcrumb\":{\"@id\":\"https://docs.open.cx/widget/configuration#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.open.cx/widget/configuration#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Chat Widget\",\"item\":\"https://docs.open.cx/widget/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setup Channel\",\"item\":\"https://docs.open.cx/widget/install-widget\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Widget configuration\",\"item\":\"https://docs.open.cx/widget/configuration\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.open.cx/widget/configuration#article\",\"headline\":\"Widget configuration\",\"name\":\"Widget configuration\",\"description\":\"Customize the AI Chat Widget for your brand, launch behavior, visitor flow, prompts, session rules, and advanced website use cases.\",\"url\":\"https://docs.open.cx/widget/configuration\",\"mainEntityOfPage\":{\"@id\":\"https://docs.open.cx/widget/configuration#webpage\"},\"dateModified\":\"2026-09-30T15:32:47.517Z\",\"keywords\":\"widget configuration, widget theme, inline widget, headerButtons, initialQuestions, require a starting question, sessionCustomData, messageCustomData, router chatScreenOnly, widget headers, translationOverrides, widget, chat widget, web widget, website chat, embedded chat\",\"publisher\":{\"@id\":\"https://docs.open.cx/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.open.cx#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Open.cx Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Open.cx Docs","nav":{"global":null,"tabs":[{"tab":"Get Started","icon":"book-open","pages":[{"title":"Get Started","href":"/welcome"}]},{"tab":"Build Agents","icon":"robot","groups":[{"group":"Overview","pages":[{"title":"Build Agents get started","sidebarTitle":"Get Started","icon":"rocket","href":"/build-agents/get-started"}]},{"group":"AI Chat Widget","pages":[{"title":"Widget overview","sidebarTitle":"Overview","icon":"messages","href":"/widget/introduction"},{"title":"Playground","icon":"play","mode":"wide","href":"/widget/playground"},{"group":"Setup Channel","icon":"gear","pages":[{"title":"Install Widget","icon":"plug","href":"/widget/install-widget"},{"title":"Widget v5 Companion mode","sidebarTitle":"Companion mode","icon":"sparkles","href":"/widget/companion-mode"},{"title":"OpenCX widget AI coding skills","sidebarTitle":"AI coding skills","icon":"terminal","href":"/widget/agent-skills"},{"title":"Migrate the widget from v4 to v5","sidebarTitle":"Migrate to v5","icon":"arrow-up","href":"/widget/migrate-to-v5"},{"title":"Mobile Support","description":"Add OpenCX AI chat to your iOS, Android, or React Native app with a WebView support screen.","icon":"phone","href":"/widget/native-mobile"},{"title":"Widget configuration","sidebarTitle":"Configuration","icon":"gear","href":"/widget/configuration"},{"title":"Authentication","description":"Choose how the AI Chat Widget should recognize visitors, protect conversation history, and support signed-in customers.","icon":"shield-check","href":"/widget/authentication"},{"title":"Widget connections and approvals","sidebarTitle":"Connections","icon":"plug","href":"/widget/connections"},{"title":"Widget sessions and unread replies","sidebarTitle":"Sessions","icon":"route","href":"/widget/conversation-sessions"},{"title":"Configuration reference","sidebarTitle":"Reference","icon":"code","href":"/widget/configuration-reference"}]},{"group":"Components","icon":"cubes","pages":[{"title":"Widget overview","sidebarTitle":"Overview","icon":"paintbrush","href":"/widget/custom-components"},{"title":"Widget React components and launcher","sidebarTitle":"React components","icon":"react","href":"/widget/custom-components-react"},{"title":"Headless widget setup and hooks","sidebarTitle":"Headless","icon":"code","href":"/widget/custom-components-headless"}]},{"title":"Widget troubleshooting","sidebarTitle":"Troubleshooting","icon":"wrench","href":"/widget/troubleshooting"}]},{"group":"AI X (Twitter) Support","pages":[{"title":"Connect X (Twitter)","icon":"plug","href":"/twitter/connect-twitter"}]},{"group":"AI App Review Support","pages":[{"title":"Connect App Store and Google Play reviews","sidebarTitle":"Connect app reviews","icon":"star","href":"/app-reviews/connect-app-reviews"}]},{"group":"AI WhatsApp Support","pages":[{"title":"Whatsapp overview","sidebarTitle":"Overview","icon":"comment-dots","href":"/whatsapp/introduction"},{"group":"Setup Channel","icon":"gear","pages":[{"title":"Create WhatsApp Agent","icon":"plug","href":"/whatsapp/connect-whatsapp"},{"title":"WhatsApp Flow","icon":"route","href":"/whatsapp/messaging-rules"},{"title":"Messaging Rules","icon":"scale-balanced","href":"/whatsapp/whatsapp-rules"}]},{"title":"Whatsapp troubleshooting","sidebarTitle":"Troubleshooting","icon":"wrench","href":"/whatsapp/troubleshooting"}]},{"group":"AI SMS Support","pages":[{"title":"Sms overview","sidebarTitle":"Overview","icon":"comment-sms","href":"/sms/introduction"},{"group":"Setup Channel","icon":"gear","pages":[{"title":"Connect SMS","icon":"plug","href":"/sms/connect-sms"},{"title":"SMS Flow","icon":"route","href":"/sms/message-routing"},{"title":"US Number Compliance","icon":"flag","href":"/sms/compliance"}]},{"title":"Sms troubleshooting","sidebarTitle":"Troubleshooting","icon":"wrench","href":"/sms/troubleshooting"}]},{"group":"Phone \u0026 Telephony","pages":[{"title":"Phone and telephony overview","sidebarTitle":"Overview","icon":"phone","href":"/phone/introduction"},{"group":"Setup","icon":"gear","pages":[{"title":"Phone numbers and routing","sidebarTitle":"Numbers and routing","icon":"phone","href":"/phone/numbers-and-routing"},{"title":"Create Phone Agent","icon":"plus","href":"/phone/create-agent"},{"title":"Agent Configuration","icon":"sliders","href":"/phone/agent-config"},{"title":"Classical IVR","href":"/phone/call-flows"},{"title":"SIP Integration","icon":"server","href":"/phone/sip-integration"}]},{"group":"Calling","icon":"phone","pages":[{"title":"Inbound Calls","icon":"phone-arrow-down-left","href":"/phone/inbound-calls"},{"title":"Call answering and ringing settings","sidebarTitle":"Call answering","icon":"phone-volume","href":"/phone/call-answering"},{"title":"Phone answer-time SLA","sidebarTitle":"Answer-time SLA","icon":"stopwatch","href":"/phone/answer-time-sla"},{"title":"Outbound Calls","icon":"phone-arrow-up-right","href":"/phone/outbound-calls"},{"title":"Human phone calling and transfers","sidebarTitle":"Human calling","icon":"phone","href":"/phone/human-calling"},{"title":"Live interpretation for team phone calls","sidebarTitle":"Live interpretation","icon":"language","href":"/phone/live-interpretation"},{"title":"Voice SDK integration","sidebarTitle":"App voice SDK","icon":"microphone","href":"/phone/voice-sdk"},{"title":"Phone Desk agent workspace","sidebarTitle":"Phone Desk","icon":"headset","href":"/phone/phone-desk"},{"title":"Phone recordings, transcripts, and summaries","sidebarTitle":"Recordings and transcripts","icon":"phone","href":"/phone/recordings-and-transcripts"}]},{"group":"Automation","icon":"bolt","pages":[{"title":"Phone call lifecycle and outcomes","sidebarTitle":"Call outcomes","icon":"phone","href":"/phone/call-outcomes"},{"title":"Phone follow-up workflows and callbacks","sidebarTitle":"Follow-up workflows","icon":"phone","href":"/phone/follow-up-workflows"}]},{"title":"Phone calling troubleshooting","sidebarTitle":"Troubleshooting","icon":"phone","href":"/phone/troubleshooting"}]},{"group":"AI Email Support","pages":[{"title":"Email overview","sidebarTitle":"Overview","icon":"envelope","href":"/email/introduction"},{"group":"Setup Channel","icon":"gear","pages":[{"title":"Sending Domains \u0026 DNS","icon":"globe","href":"/email/sending-domains"},{"title":"Sequence email sender settings","sidebarTitle":"Sequence senders","icon":"paper-plane","href":"/email/sequence-senders"},{"title":"Connect Email","icon":"paper-plane","href":"/email/forwarding"},{"title":"Email Flow","icon":"diagram-project","href":"/email/forwarding-rules"}]},{"title":"Email troubleshooting","sidebarTitle":"Troubleshooting","icon":"wrench","href":"/email/troubleshooting"}]},{"group":"AI Actions","pages":[{"title":"AI Actions","sidebarTitle":"Overview","icon":"bolt","href":"/actions/introduction"},{"title":"Build An Action","sidebarTitle":"Build an action","icon":"plug","href":"/actions/build-an-action"},{"title":"OpenAPI Import","sidebarTitle":"OpenAPI import","icon":"file-import","href":"/actions/openapi-import"},{"title":"MCP Servers","sidebarTitle":"MCP servers","icon":"plug-circle-bolt","href":"/actions/mcp-servers"},{"title":"Authentication","sidebarTitle":"Authentication","icon":"shield-halved","href":"/actions/authentication"},{"title":"Execution","sidebarTitle":"Execution","icon":"diagram-project","href":"/actions/execution"},{"title":"Actions troubleshooting","sidebarTitle":"Troubleshooting","icon":"wrench","href":"/actions/troubleshooting"}]},{"group":"Resources","pages":[{"title":"Manage Contacts","icon":"user","href":"/contacts/manage-contacts"},{"title":"Guaranteed Message Delivery","icon":"paper-plane","href":"/resources/guaranteed-delivery"},{"title":"Increase Automation","sidebarTitle":"Increase automation","icon":"chart-line","href":"/resources/increase-automation"},{"title":"Collect Customer Satisfaction","sidebarTitle":"CSAT","icon":"star","href":"/resources/csat"}]}]},{"tab":"Ticketing","icon":"ticket","pages":[{"title":"Ticketing","href":"/ticketing/structured-fields"}]},{"tab":"Connect","icon":"arrows-left-right","pages":[{"title":"Connect","href":"/connect/introduction"}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/dashboard/introduction"}]},{"tab":"MCP","icon":"network-wired","pages":[{"title":"MCP","href":"/mcp/introduction"}]},{"tab":"Agent Training","icon":"book","pages":[{"title":"Agent Training","href":"/knowledge/introduction"}]},{"tab":"AI Safety","icon":"shield","pages":[{"title":"AI Safety","href":"/safety/introduction"}]},{"tab":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api-reference/authentication"}]},{"tab":"Partners","icon":"handshake","pages":[{"title":"Partners","href":"/partners/introduction"}]}]},"title":"Widget configuration - Open.cx Docs","buildId":"dpl_5UDDZ9hnigTkoV7QtvQ39eUp84nu","deploymentId":"dpl_5UDDZ9hnigTkoV7QtvQ39eUp84nu","dynamics":[],"chunks":[]}