# Setting up Imagino integration with AB Tasty

The Imagino integration allows you to import audiences created in Imagino CDP and use them for targeting in AB Tasty campaigns. API credentials from AB Tasty are configured in Imagino to upload segments, activate the Imagino connector, and make imported audiences accessible in the AB Tasty Segment Builder.

## Requirements

* An AB Tasty account with administrator rights
* An Imagino CDP account

## Setting up Imagino integration

{% stepper %}
{% step %}

### Generate API Credentials in AB Tasty

1. In AB Tasty, navigate to **Integrations > Public API**.
2. Create new credentials:
   * Add a description
   * Select the role **Send and get third-party segments**
   * Click **Generate**
3. Save the **Client ID**, **Client Secret**, and your **Account Identifier** (available in **Implementation > Generic Tag**).
4. Enter these values into your Imagino account.
   {% endstep %}

{% step %}

### Upload Segments from Imagino (if not done already)

1\.       Go to **Campaign** → **Activation** → **Create an Activation**.

2\.       Select **Segment Export** → select the AB Tasty connection.

3\.       Click on **Segmentation** and select a segmentation.

4\.       Click **Configuration**.

5\.       In **Segment Composition**, specify the **expiration duration of your segment**.

{% hint style="info" %}
By default, Imagino segments expire after 1 day. Adjust this setting if your campaign runs longer.
{% endhint %}

6\.       Select a **User Identifier** and the **segment value**.

7\.       Click **Create Activation**.

8\.       In the **Overview**, click on **Edit Schedule**.

9\.       Configure your schedule and click **Confirm**.

10\.   In the **Overview**, click **Start Schedule**. If needed, you can start your activation immediately by clicking **Execute Now**.
{% endstep %}

{% step %}

### Activate the Imagino Connector in AB Tasty

1. Open the **Integration Hub** in AB Tasty.
2. Select **Imagino** from the list of available connectors.
3. Click **Create** and configure:
   * Connector name
   * (Optional) Advanced storage options for reuse across campaigns
4. Save the connector.
   {% endstep %}

{% step %}

### Use Imported Audiences

1. Go to AB Tasty **Segment Library**
2. Click on **Create Segment**
3. On the **3rd-party audience** menu, Imagino audiences will be accessible for your segment creation
   {% endstep %}
   {% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abtasty.com/integrations/pull-integrations/setting-up-imagino-integration-with-ab-tasty.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
