> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dema.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Export to Klaviyo

> Learn how to export your customer set labels to Klaviyo as custom properties for segmentation and campaigns.

## What does exporting segmentation labels to Klaviyo do?

Exporting segmentation labels to Klaviyo lets you push Dema customer set labels directly into Klaviyo **custom properties**. Once enabled, customers in a set are updated in Klaviyo with a consistent format (e.g., `DEMA|My Set|VIP`), so you can use those properties when building segments and campaigns.

***

## Prerequisite

<Note>
  Create a Private API Key in Klaviyo with **Full Access** scope for **Lists**, **Profiles**, and **Segments**, and provide it to our Customer Success team.
</Note>

***

## How to export segmentation labels to Klaviyo

1. Click the **•••** button on the right side of the customer set.
2. Click **"Manage export integrations."**
3. From the list, opt in for **Klaviyo**.
4. Click **"Apply"**.

<Note>
  It may take up to 10 minutes for changes to appear in Klaviyo. If you do not see updates after that, contact us.
</Note>

***

## How it works

**Properties in Klaviyo are updated:**

* Every morning
* When the Klaviyo export is enabled for a customer set
* Whenever the customer set is updated (clicking **"Save"** inside the set)
* When the name of the customer set is changed

**Properties in Klaviyo are removed:**

* When the Klaviyo export is disabled for a customer set
* When the customer set is deleted

***

## How custom properties look

Custom properties in Klaviyo follow this format:

Key: `dema_label`\
Value: `DEMA|<set name>|<label name>`

**Example:** If the set name is **"My Set"** and the label name is **"VIP"**, the property in Klaviyo will be:

Key: `dema_label`\
Value: `DEMA|My Set|VIP`

***

## How to use custom properties in Klaviyo

You can use custom properties in Klaviyo to build segments, target campaigns, and more. For example, segment customers who have a given Dema label by filtering on `dema_label` with the value `DEMA|<set name>|<label name>`.

### Creating a segment based on a custom property

1. In Klaviyo, go to **Audience > Lists & segments**.
2. Click **Create > Segment**.
3. Name the segment (for example, **My Set VIP customers**).
4. Add a condition and choose **Properties about someone**.
5. Under **Select a property**, choose **dema\_label**.
6. Under **Select an operator**, choose **Contains the text**.
7. Enter/Select the value (for example, `DEMA|My Set|VIP`).
8. If Klaviyo shows a **Type** field, leave it as **List** when that matches how `dema_label` is stored (often the default).
9. Click **Create segment**.
