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:
Displays the Reset Chat button in the header when set to true.
Displays the AI disclaimer icon/button in the header when set to true.
Controls the visibility of the ‘Maximize chat’ button in the chat header.You can combine this parameter with additional layout modifiers, such as:
- Custom elements: Explicitly set height to the custom element (
layout.customElement) to render the chat window within it. - Layout and spacing: Configure
layout.showMaxWidthto switch between a constrained and full-width layout. A constrained layout adds visual breathing room around the content, while a full-width layout uses the entire chat area with minimal horizontal padding.
Hides the agent avatar in the header when set to
false.Hides the agent name in the header when set to
false.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:
Controls the visibility of the chat history (thread list) in the side panel.Default behavior varies by layout:
fullscreen-overlay: defaults totruefloatandcustom: defaults tofalse
true or false to override the default behavior for any layout.In the Float and Custom form factors, the thread list can be hidden either by omitting the property (as
false is the default) or by explicitly setting showThreadList: false. In the Full-screen form factor, however, you must explicitly set showThreadList: false to hide the thread list, as the default value is true.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.
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:
Defines the default language supported by the chat.Supported locale strings:
| 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:
Set a six-digit hex code that defines the chat header color.
Set a six-digit hex code that defines the user message bubble color.
Set a six-digit hex code that defines the interactive elements color.
Set a font style that needs to be applied.
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:
Scope:
fullscreen-overlay onlyThe ID of the container node to mount chat into.Scope:
fullscreen-overlay onlySets 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.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:width: Width of the web chatheight: Height of the web chat
custom to define a custom layout. Also configure the customElement parameter with your custom element.Scope:
float onlyPopup width (e.g. ‘350px’, ‘30rem’).Scope:
float onlyPopup height (e.g. ‘500px’, ‘40rem’).Render the standard header bar (true) or hide it (false).
Switch between a constrained and full-width layout. A constrained layout adds visual breathing room around the content, while a full-width layout uses the entire chat area with minimal horizontal padding.
Element reference to render into.

