Skip to main content
In this tutorial, you learn how to customize the appearance and behavior of the watsonx Orchestrate embedded chat widget so that it matches your website’s brand. By default, the widget ships with IBM Blue styling. This tutorial covers three levels of customization, from point-and-click UI settings to full embed script control. Customization is organized into three levels, each building on the previous one:

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 orchestrationID and agentId values 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.
  1. Log in to the watsonx Orchestrate Builder UI.
  2. Open your agent.
  3. Configure the following settings:
    • Agent name, such as Lendyr Banking Assistant.
    • Starter prompts, such as Apply for a loan and Find nearest branch.
    • Chat with docs toggle: enable to allow document uploads.
    • Voice mode toggle: enable to allow speech input.

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.
  1. Open your agent YAML file in the ADK.
  2. Add the following fields:
    YAML
  3. 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.
  1. Get the embed script from the Channels tab. You can also generate it from the CLI:
    BASH
  2. Before the closing </body> tag of your page, add the window.wxOConfiguration object with your customizations:
    JavaScript
  3. Test on your staging site and adjust the colors and layout as needed.
  4. 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:
  1. The chat header uses your brand color.
  2. User message bubbles use your brand color.
  3. Your custom icon appears when the chat bubble is closed.
  4. The welcome message matches your configured welcome_content.
  5. Users do not see the reasoning trace or internal thinking.
  6. Starter prompts appear on the chat landing screen.

Common issues