---
name: watson-assistant-segment-add
title: Sending events to Segment
description: You can use the Segment extension to send watsonx Assistant events to Segment.
last-updated: 2025-07-14
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/watson-assistant?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Sending events to Segment 
{: #segment-add}

[Premium]{: tag-teal} [Plus]{: tag-green}

You can use the Segment extension to send watsonx Assistant events to Segment.
{: shortdesc}

## Overview
{: #segment-overview}

With this extension, you can use [Segment](https://segment.com/){: external} to capture and centralize data about your customers' behavior, including their interactions with your assistant. Events are sent from watsonx Assistant to Segment, making them available to destinations such as data warehouses, raw data tools, and analytic tools.

For more information about the events that are sent to Segment, see [Segment event reference](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-segment-event-reference&format=markdown).

## Adding the extension to the draft environment

To add the Segment extension to your assistant, follow these steps:

1. On the ![Integrations icon](images/integrations-icon.png) **Integrations** page, scroll to the **Extensions** section and find the tile for the Segment extension.

1. Click **Add**. Review the overview of the extension and click **Add** to configure it for your assistant.

    When you first add the Segment extension to an assistant, the configuration settings you provide are applied only to the draft environment. You must complete configuration for the draft environment before you can add the extension in the live environment.
    {: important}
    
1. In the **Connect** step, click the link to log in to your Segment account in another browser tab.

    If you do not already have a Segment account, click **Sign up for free account** to create one. Verify your email address and complete your profile to activate your account.

1. In the Segment web app, go to your workspace. In the **Sources** section, find the **Add IBM watsonx Assistant Source** tile and click **Add Source**.

1. In the **Source Name** field, type a descriptive name for your watsonx Assistant instance (for example, `Customer Care Assistant`). Click **Create Source**.

1. Click **Copy** to copy the generated key to the clipboard.

1. Go back to the Segment integration settings in the watsonx Assistant interface. In the **Segment key** field, paste the key you copied from the Segment web app in the previous step. Click **Next**.

1. In the **Select events** step, review the list of events watsonx Assistant can send to Segment.

    Each row in the table shows the name of a supported event, along with a brief description.

1. Click the checkboxes to select the events you want to send to Segment. Click **Next**.

1. In the **Review & Confirm** step, review the configuration and click **Finish**.

The Segment extension is now connected to your assistant in the draft environment. Click **Close** to close the integration settings.

## Configuring the extension for the live environment

To configure the Segment extension for the live environment, follow these steps:

1. On the ![Integrations icon](images/integrations-icon.png) **Integrations** page, scroll to the **Extensions** section and find the tile for the Segment extension.

1. Click **Open**. The **Open extension** window opens.

1. In the **Environment** field, select **Live**. Click **Confirm**.

1. Repeat the configuration process, specifying the values you want to use for the live environment.

   If you are using multiple environments, follow the same steps to configure the extension for each environment. For more information, see [Adding and using multiple environments](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-multiple-environments&format=markdown).
   {: note}

The Segment extension is now available in the environments you have configured, and events will be sent to the destinations configured in your Segment workspace. (For more information about the events that are sent to Segment, see [Segment event reference](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-segment-event-reference&format=markdown).)