> For the complete documentation index, see [llms.txt](https://docs.churned.io/churned-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.churned.io/churned-docs/integrations/marketing-automation/klaviyo.md). Agents can also search and read this documentation through its [MCP server](https://docs.churned.io/churned-docs/~gitbook/mcp).

# Klaviyo

Klaviyo is an email marketing platform for e-commerce, offering tools for personalized campaigns and customer data analytics.

Churned connects to Klaviyo to read campaign engagement and to send audiences and actions back, so your Klaviyo flows can act on them.

## How to connect Klaviyo to Churned

Log in to Churned, go to **Integrations** and open the Klaviyo card.

<div align="center"><figure><img src="https://246234927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSyCQUyE0u7ya9ULaprd%2Fuploads%2FRnFiWyXpPUv0UgthMTPv%2FScreenshot%202026-02-10%20at%2011.46.47.png?alt=media&amp;token=483fe24d-151c-4916-b29f-f895f6b9399e" alt="" width="563"><figcaption></figcaption></figure></div>

You need a Klaviyo private API key to continue.

<div align="center"><figure><img src="https://246234927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSyCQUyE0u7ya9ULaprd%2Fuploads%2FMseVBHkUTdE3QnwgA7Ns%2FScreenshot%202026-02-10%20at%2011.47.30.png?alt=media&amp;token=1e9cef09-a048-43ee-ac9d-d58b7dcc37fb" alt="" width="563"><figcaption></figcaption></figure></div>

#### Example of a valid key

`{"api_key": "pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}`

Klaviyo private API keys start with `pk_`. The 6-character public key (site ID) does not work for this integration.

#### How to create the private API key in Klaviyo

1. **Log in to Klaviyo**

   Go to <https://www.klaviyo.com> and sign in to your account.
2. **Open the API key settings**

   Click your account name in the bottom left corner, select **Settings**, then **API keys**.
3. **Create a private API key**

   Click **Create Private API Key** and give the key a clear name, for example Churned, so you can recognise its purpose later. Select the scopes your Churned contact has confirmed for your setup.
4. **Copy the key**

   Klaviyo shows the key only once. Copy it and store it securely. Make sure it starts with `pk_`.
5. **Add the key to the integration**

   Paste the key into the Klaviyo card in Churned and save.

{% hint style="warning" %}
A private API key gives access to your Klaviyo data. Share it only through the integration card, never by email or chat.
{% endhint %}
