# Segment

Humanic AI is available in the Segment Destinations catalog. Follow these steps to connect your Segment data to Humanic:

### Prerequisites

Before starting the integration, ensure you have the following:

* Admin access to your Segment account.
* You will need your Humanic API key to integrate Humanic.ai with **Segment**. Follow [these instructions](../guides/find-your-humanic-api-key) to find your Humanic API key.

### **Access Your Segment Workspace**

1. Log in to your  [segment dashboard](https://app.segment.com/)  and select the appropriate workspace.
2. Navigate to **Connections** > **Destinations** from the left menu.
3.  Click the **Add Destination** button located at the top right.

    <figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2Fqe55OAJGOF4HkjTEkeWb%2FScreenshot%202022-11-29%20at%209.56.25%20PM.png?alt=media&#x26;token=240535fb-23cd-4510-a647-bde7a94a5741" alt="" width="563"><figcaption><p>Segment Destinations Page</p></figcaption></figure>

### Search and Select Humanic AI

1. In the search bar, type "Humanic AI" and select the Humanic AI card.
2. Click **Next**.

<figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2FEVL9cuN3Cnzcxzzry7VD%2FScreenshot%202024-02-24%20at%209.33.52%20PM.png?alt=media&#x26;token=5b176e2e-ccf7-4b43-9c7b-a41f81cae113" alt="" width="375"><figcaption><p>Choose a Destination</p></figcaption></figure>

### Create Destination

1.  Choose the data source you want to sync with Humanic and click **Next**.

    <figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2F49Cm7ShadXuJQ3KiFQLV%2FScreenshot%202023-08-09%20at%2012.54.03%20PM.png?alt=media&#x26;token=8bbae4be-b060-4558-9ba8-5dc73ab1d456" alt="" width="375"><figcaption><p>Select a Source to connect to destination</p></figcaption></figure>
2.  Name your destination, e.g., "Humanic.ai", then click **Create Destination** and **Done**.

    <figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2F0b0XD2FXtouSfhxvFkbT%2FScreenshot%202024-02-24%20at%209.36.47%20PM.png?alt=media&#x26;token=0b9db7b3-75d1-4069-84cf-19b493a2cd3c" alt="" width="375"><figcaption></figcaption></figure>

### Configure the Destination

1.  Go to the Destinations page and select the newly created destination (e.g., Humanic.ai Destination).

    <figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2FHqLhIkkMZkdS5McVqxmB%2FScreenshot%202024-02-24%20at%209.38.35%20PM.png?alt=media&#x26;token=dda890fd-d683-4c52-9202-aec4da12f262" alt="" width="375"><figcaption></figcaption></figure>
2. Retrieve your API Key from Humanic by visiting [Humanic API key](../guides/find-your-humanic-api-key).
3.  On the destination configuration page in Segment, enter the API key from Humanic and save it.

    <figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2F4z11HwDnULczd0i4jGYL%2FScreenshot%202024-02-24%20at%209.43.59%20PM.png?alt=media&#x26;token=a385ac3a-88ca-42d1-8584-cd3705d6438e" alt="" width="375"><figcaption><p>Add API Key</p></figcaption></figure>

### Enable and Test the Destination

1. Enable the destination by toggling the button near the **Setup Guide** button on the settings page.
2.  Go to the **Event Tester** tab to test the connection by sending a test event. A "200 OK" response indicates a successful connection.

    <figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2FszYP6nJpACrBluOlRMwy%2FScreenshot%202024-02-24%20at%209.52.16%20PM.png?alt=media&#x26;token=e2f9e65d-c3a6-4d08-b525-4f2c41980bff" alt="" width="375"><figcaption></figcaption></figure>

### Complete the Setup

1.  In the Humanic.ai destination settings, go to the **Settings** tab and ensure the destination is enabled.

    <figure><img src="https://2273820434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrbIhacVcyuUret5XcsVA%2Fuploads%2FHYQqTR00JHWA1yjtEav0%2FScreenshot%202024-02-24%20at%209.49.15%20PM.png?alt=media&#x26;token=98762705-09da-4efc-8e25-4e16169a6f63" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
The connection status on the Humanic [data integrations](https://dashboard.humanic.ai/dashboard/connect-data/all) page may take some time to show as successful, as a sufficient number of events need to be received to confirm the connection.
{% endhint %}

## Next Steps

{% hint style="info" %}
Humanic will notify you via email once the initial data sync is complete.
{% endhint %}

Once the connection is established:

* **Access Events:** You can view and manage your synced **Segment** events via [product events](https://dashboard.humanic.ai/dashboard/feature-events).
* **Create Milestones:** Use the synced data to create and track [milestones](../cohorts/how-to-create-a-milestone).
* **Regular Syncing:** Humanic ensures your data is always up-to-date through regular syncing.
