Send Amplitude cohorts to Klaviyo to use in targeted messaging.

## Set up the integration

### Klaviyo setup

Create a private API key in Klaviyo. Open Klaviyo and go to **Account > Settings > API Keys**.

### Amplitude setup

1. In Amplitude Data, click **Catalog** and select the **Destinations** tab.
2. In the Cohort section, click **Klaviyo**.
3. Enter a name and API key.
4. Map an Amplitude field to Klaviyo email. Klaviyo requires the user ID to be a valid email format.
5. Save when finished.

## Send a cohort

1. In Amplitude, open the cohort you want to export. Click **Sync**, and choose Klaviyo.
2. Choose the destination.
3. Select the sync cadence.
4. Save your work.

After you export the cohort, find the cohort in the [List](https://www.klaviyo.com/lists "https://www.klaviyo.com/lists") section of the Klaviyo platform. You can then create [segments](https://www.klaviyo.com/lists/create "https://www.klaviyo.com/lists/create") with two conditions:

- "Properties about someone" → `isActive` set to `is true` with type `Boolean`.
- "If someone is in or not in a list" → Person `is` in `Choose a list` → choose a list from the dropdown.

Create a segment with active users in the cohort to use for events that follow.
