Before you begin
This tutorial uses a fictional banking assistant called Lendyr to exemplify branding customizations you can apply to any embedded chat deployment. Before you start this tutorial, ensure you have the following:- An active watsonx Orchestrate account with an agent created and published.
- The Agent Development Kit (ADK) installed for YAML-based edits.
- Security configured for the embedded chat. For more information, see Configuring security for embedded chat.
- Your
orchestrationIDandagentIdvalues from the Channels tab in the Builder UI.
Level 1: Builder UI settings
The Builder UI provides point-and-click controls for the most common settings. No code is required.- Log in to the watsonx Orchestrate Builder UI.
- Open your agent.
- Configure the following settings:
- Agent name, such as
Lendyr Banking Assistant. - Starter prompts, such as
Apply for a loanandFind nearest branch. - Chat with docs toggle: enable to allow document uploads.
- Voice mode toggle: enable to allow speech input.
- Agent name, such as
Level 2: ADK YAML edits
Three settings are not available in the Builder UI and require direct edits to the agent YAML file: hiding the reasoning trace, adding a custom icon, and writing a branded welcome message.- Open your agent YAML file in the ADK.
-
Add the following fields:
YAML
-
Deploy the updated agent:
BASH
The custom icon SVG is the first visual element users see and carries the greatest branding impact. Set
hide_reasoning: true in production deployments to prevent the agent’s internal thinking trace from reaching end users.Level 3: Embed script configuration
The embed script gives you full control over colors, typography, layout, and header behavior.-
Get the embed script from the Channels tab. You can also generate it from the CLI:
BASH
-
Before the closing
</body>tag of your page, add thewindow.wxOConfigurationobject with your customizations:JavaScript - Test on your staging site and adjust the colors and layout as needed.
- Deploy to production.
Key configuration reference
For a full list of supported options, see the UI configuration.
Testing your customization
After you deploy the embed script, verify the following:- The chat header uses your brand color.
- User message bubbles use your brand color.
- Your custom icon appears when the chat bubble is closed.
- The welcome message matches your configured
welcome_content. - Users do not see the reasoning trace or internal thinking.
- Starter prompts appear on the chat landing screen.

