Header
Controls the visibility of chat header actions. To apply header configuration, add aheader component inside the window.wxOConfiguration object in your web chat script. In this component, you can configure the following parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
header.showResetButton | Boolean | true | Displays the Reset Chat button in the header when set to true. |
header.showAiDisclaimer | Boolean | true | Displays the AI disclaimer icon/button in the header when set to true. |
header.showMaximize | Boolean | false | Controls the visibility of the ‘Maximize chat’ button in the chat header. You can combine this parameter with additional layout modifiers, such as:
|
Features
Control the visibility and behavior of chat features. To apply feature configuration, add afeatures component inside the window.wxOConfiguration object in your chat script. In this component, you can configure the following parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
features.showThreadList | Boolean | Default behavior varies by layout:
| Controls the visibility of the chat history (thread list) in the side panel. When enabled, users can view and navigate their conversation history through the side panel. When disabled, the side panel displays only custom header items (if configured). You can explicitly set this to true or false to override the default behavior for any layout. |
features.showAgentMemory | Boolean | false | Controls the visibility of the agent memory button in the side panel. When enabled, users can access the agent memory button to view and delete their memories, or turn the feature off. When disabled, the agent memory button is not displayed. To configure memory for an agent, see the feature implementation in the Understanding agent memory documentation. |
- In the Float and Custom form factors, the thread list can be hidden either by omitting the property (as
falseis the default) or by explicitlysetting showThreadList: false. - In the Full-screen form factor, however, you must explicitly set
showThreadList: falseto hide the thread list, as the default value istrue.
Language
Define the default language of the chat interface. To apply language configuration, add the following parameters inside thewindow.wxOConfiguration object in your web chat script:
| Parameter | Type | Default | Description |
|---|---|---|---|
defaultLocale | String | en | Defines the default language supported by the chat. |
| Language | Language code |
|---|---|
| Chinese - Traditional | zh-TW |
| Chinese - Simplified | zh-CN |
| English | en |
| French | fr |
| German | de |
| Italian | it |
| Japanese | ja |
| Korean | ko |
| Portuguese - Brazil | pt-BR |
| Spanish | es |
Styles
You can customize embedded web chats to create a unique chat interface that better fits your webpage. To apply custom styles, add astyle component inside the window.wxOConfiguration object in your web chat script. In this component, you can configure the following parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
headerColor | String | — | Set a six-digit hex code that defines the chat header color. |
userMessageBackgroundColor | String | — | Set a six-digit hex code that defines the user message bubble color. |
primaryColor | String | — | Set a six-digit hex code that defines the interactive elements color. |
showBackgroundGradient | Boolean | true | Displays the background gradient when set to true. |
Layout
Control how and where the chat UI appears. To apply layout configuration, add alayout component inside the window.wxOConfiguration object in your web chat script. In this component, you can configure the following parameters:
| Parameter | Type | Default | Scope | Description |
|---|---|---|---|---|
rootElementID | String | — | fullscreen-overlay only | The ID of the container node to mount chat into. |
showLauncher | Boolean | true | fullscreen-overlay only | Sets the initial launcher visibility: show the bubble launcher (true) or render chat immediately (false). To control launcher visibility at runtime for any layout mode, use the changeView() instance method. |
layout.form | String | float | — | Defines the layout form of your web chat. Use fullscreen-overlay to display the web chat in fullscreen mode. No additional parameters are required.Use float to display the web chat as a floating window. Also configure:
custom to define a custom layout. Also configure the customElement parameter with your custom element. |
layout.width | String | — | float only | Popup width (e.g. ‘350px’, ‘30rem’). |
layout.height | String | — | float only | Popup height (e.g. ‘500px’, ‘40rem’). |
layout.showOrchestrateHeader | Boolean | true | — | Render the standard header bar (true) or hide it (false). |
layout.showMaxWidth | Boolean | false | — | Controls whether additional vertical padding is applied between the chat border and content container. |
layout.customElement | HTMLElement | — | — | Element reference to render into. |

