# Import Tealium Audience to Feature Experimentation

The **Tealium AudienceStream** integration allows you to import your FullStory audiences and badges in Feature Experimentation (FE\&R) so you can target them with FE\&R campaigns.

The **Tealium AudienceStream** pull integration will use a webhook connector setup on Tealium’s end and the [Data Layer Enrichment Public API](https://docs.tealium.com/server-side/attributes/data-layer-enrichment/data-layer-enrichment-api/data-layer-enrichment-public-api/#retrieving-a-visitor-profile-with-the-customer-data-hub-profile-definition-api).

This article will walk you through the different steps to setup the integration.

{% hint style="warning" %}
For the user matching to be achieved (and thus let FE\&R target your Tealium AudienceStream audiences) the FE\&R User ID must be the same value as the Visitor ID used in Tealium

More info on the AB Tasty FE\&R User ID [here.](https://docs.developers.flagship.io/docs/universal-collect-documentation#visitor-id)

More info on the Tealium Visitor ID [here.](https://docs.tealium.com/server-side/visitor-stitching/anonymous-user-visitor-id-attributes/#visitor-id-attributes)
{% endhint %}

The **Tealium AudienceStream** pull integration will use a webhook connector to push audience and badge data to FE\&R.

The webhook connector needs to be set up on Tealium AudienceStream’s user interface. Follow the steps below:

![Capture d’écran 2023-09-29 à 16.25.27.png](https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2FdukfUgMzqDlGgrVB1x4u%2Fedb07ece4dafa929de38951008b5966e.png?alt=media\&token=2310d809-e021-485c-80ab-45fa8ea35a68)

1. Access **Tealium > AudienceStream > Audience Connectors**
2. Click **“Add a connector”**

![Capture d’écran 2023-09-29 à 16.26.19.png](https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2Fg3xkIG96evB2QtjMnD18%2Fcbf3f14331b85722c09a3132ace7e41a.png?alt=media\&token=05bf26c2-482a-4418-af8a-8ca0b5a4170d)

1. Choose **"Webhook"** and click **"Continue"**. Now you will have to set up the data source, the connector and the action to send audiences to FE\&R.

![Capture d’écran 2023-09-29 à 16.26.31.png](https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2FZpIkXvIfrPjI3ObADp4m%2Fcbebd631ebac0fe8f5a986886ee2062a.png?alt=media\&token=bd90d8c4-f980-4662-8252-93b14ead687f)

1. On the **Source tab, Audience,** select the audience you want to send data from.
2. On the **Source tab, Trigger,** select when you want to send data. Most basic option is "Joins the audience", Tealium will sends the data as soon as a user enter the selected audience.
3. Click **"Continue"**

![Capture d’écran 2023-09-29 à 16.27.50.png](https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2FAYUsBtjScXYCdNNXNXtZ%2Fe1edafdd45c4fdfc8ac8be9e112c9462.png?alt=media\&token=8b899db2-b20b-4a57-949d-d960ff4503e4)

1. On the **Configuration tab**, you need to set up the connector (if you do not already have one). Click **"Add a connector"**.
2. Name your connector e.g. "Audience Sender". Other fields are to be skipped. Click **"Done"**. Then **"Continue"** with you connector selected.

![Capture d’écran 2023-09-29 à 16.28.57.png](https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2FuzDJvdQHBEeULcRcRCWQ%2Fa4366668cac14856cfe8a9eda025ad88.png?alt=media\&token=18f6d6b1-b8ab-4f18-ad2a-a7e72512f5cb)

1. Name the action e.g. "Audience to FE\&R".
2. Select **"Send Visitor Data via HTTP Request"**.

![Capture d’écran 2023-09-29 à 16.29.25.png](https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2F8dzwJo4dIIlPnqdRwvsS%2F5530a2b82a645cc0b7c392070ae5fda0.png?alt=media\&token=de20a247-bd1a-449f-90ab-252baa558d82)

1. In the **Method** field, select **"POST"**.
2. In the **URL** field, input the following URL **"<https://tealium.third-party.flagship.io>"**.

![Capture d’écran 2023-09-29 à 16.29.55.png](https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2FFoF3wHY868X4X73Z9KIW%2F64b5b45778689e27804935e7d5cb27ce.png?alt=media\&token=24012d33-c628-41be-86a2-3596d2190c41)

1. In the **Header** field, add a mapping, **"Map:"** is your **FE\&R API Key** and **"To:"** is **"x-api-key"**. Use custom text to input those fields. (documentation on [API Keys](https://flagship.zendesk.com/hc/en-us/articles/4506406524828--Retrieving-your-third-party-tools-audiences-in-Flagship))
2. Click **"Finish"**.

The Tealium AudienceStream connector is now setup, now you need to enable the integration on FE\&R. See next chapter of this article to do so.

For further information on Tealium AudienceStream connector, please refer to the [Tealium documentation](https://docs.tealium.com/server-side/getting-started/audiencestream-cdp/connectors/) or [Tealium Webhook documentation](https://docs.tealium.com/server-side-connectors/webhook-connector-setup-guide/#action---send-visitor-data-via-http-request).

<figure><img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2FDkL7Fv5Dv5QC3OMd0RKf%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-09%20a%CC%80%2014.52.42.png?alt=media&#x26;token=e2b9fdb4-86ec-4cc2-8295-863329e70dd3" alt=""><figcaption></figcaption></figure>

To enable the integration on Feature Experimentation, follow the steps below:

1. Access [**Settings > Integrations > Feature Experimentation Tab > Pull**](https://app2.abtasty.com/settings/integration/integration-hub?page=feature-experimentation)
2. Select **Tealium > Create**
3. Select your Environment
4. Input your **Tealium's "Account"** and **"Profile"** (the one you are sending audiences from)
5. Click **“Create”** to finalize the integration.

For global information on how to retrieve audiences, please refer to [this page](https://flagship.zendesk.com/hc/en-us/articles/4506406524828--Retrieving-your-third-party-tools-audiences-in-Flagship).
