> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Klaviyo in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/klaviyo
Last updated: 2026-11-24

Share Klaviyo with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or private API key sign-in, 22 tools (10 read-only).

---

To give your team Klaviyo in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Klaviyo integration in a Metorial portal, and each person signs in to Klaviyo with their own account. Agents can manage email, SMS, and push notification marketing campaigns for eCommerce. The integration has 22 tools, 10 read-only, 11 write and 1 destructive, plus 3 triggers.

**What you will learn**

- How an admin shares Klaviyo in a portal and how each person connects
- The 30 OAuth scopes Klaviyo can request, and what each one allows
- How to keep the 10 read-only tools and reject the other 12

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Klaviyo for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **Private API Key** | API token | `token` |
| **OAuth** (default) | OAuth | Signs in to Klaviyo after entering `codeVerifier` |

The portal and `metorial setup` use **OAuth** unless someone picks another method.

### Private API Key

To connect, a person enters:

- `token`: Klaviyo Private API Key (found in Settings > API Keys)

### OAuth

Before the sign-in, setup asks for:

- `codeVerifier` (optional): PKCE code verifier (auto-generated)

People sign in to Klaviyo and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `accounts:read` | Accounts Read | Read account information (required by default) |
| `campaigns:read` | Campaigns Read | Read campaigns and campaign messages |
| `campaigns:write` | Campaigns Write | Create, update, and delete campaigns |
| `catalogs:read` | Catalogs Read | Read catalog items, variants, and categories |
| `catalogs:write` | Catalogs Write | Create, update, and delete catalog data |
| `coupons:read` | Coupons Read | Read coupons and coupon codes |
| `coupons:write` | Coupons Write | Create and manage coupons and coupon codes |
| `data-privacy:write` | Data Privacy Write | Request profile deletions for privacy compliance |
| `events:read` | Events Read | Read events and event data |
| `events:write` | Events Write | Create custom events |
| `flows:read` | Flows Read | Read flows, flow actions, and flow messages |
| `flows:write` | Flows Write | Create, update, and delete flows |
| `forms:read` | Forms Read | Read forms and form versions |
| `images:read` | Images Read | Read uploaded images |
| `images:write` | Images Write | Upload and manage images |
| `lists:read` | Lists Read | Read lists and list membership |
| `lists:write` | Lists Write | Create, update, and delete lists and memberships |
| `metrics:read` | Metrics Read | Read metrics and metric aggregates |
| `profiles:read` | Profiles Read | Read customer profiles |
| `profiles:write` | Profiles Write | Create, update, and manage customer profiles |
| `segments:read` | Segments Read | Read segments and segment membership |
| `segments:write` | Segments Write | Create, update, and delete segments |
| `subscriptions:read` | Subscriptions Read | Read subscription statuses |
| `subscriptions:write` | Subscriptions Write | Subscribe and unsubscribe profiles |
| `tags:read` | Tags Read | Read tags and tag groups |
| `tags:write` | Tags Write | Create, update, and delete tags |
| `templates:read` | Templates Read | Read email templates |
| `templates:write` | Templates Write | Create, update, and delete email templates |
| `webhooks:read` | Webhooks Read | Read webhooks and webhook topics |
| `webhooks:write` | Webhooks Write | Create, update, and delete webhooks |

### Setup settings

Whichever method you pick, setup also asks for:

- `revision` (optional): Klaviyo API revision date (e.g., 2026-04-15). Controls API version behavior.

## Use your own Klaviyo OAuth app

With your own OAuth app, people see your company's name on the Klaviyo consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Klaviyo and copy the **Redirect URI**.

2. **Register the app with Klaviyo**

   Create an OAuth app or client in Klaviyo and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in [OAuth documentation](https://developers.klaviyo.com/en/docs/set_up_oauth).

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Klaviyo integration.

## Admin: share Klaviyo in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Klaviyo. Under **Auth Method**, keep **OAuth** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Klaviyo as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Klaviyo.

4. **Choose who gets it**

   Add the access groups that should see Klaviyo. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Klaviyo integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search klaviyo
```

## Employee: connect Klaviyo

### In the portal

1. **Open Klaviyo in the catalog**

   Sign in to your portal and open Klaviyo. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Klaviyo sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search klaviyo
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth**. To connect with **Private API Key** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Klaviyo connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list klaviyo
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 10 read-only tools, such as `get_flows` and `get_forms`, and lose the 11 write tools, such as `manage_tags` or `track_event`, and the destructive tool `request_profile_deletion`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list klaviyo
metorial tools <integration-id>
metorial call <integration-id> get_account -d '{}'
```

`metorial tools` lists the 22 tools, minus any you rejected. `get_account` takes no input. It retrieves the Klaviyo account associated with the current credentials, including account identity, contact information, timezone, currency, and public API key when available.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (10)

- `get_segments`: Retrieve segments from Klaviyo.
- `query_metric_aggregates`: Query aggregate analytics data for a specific metric in Klaviyo. Needs `metricId` and `measurements`.
- `get_list_segment_profiles`: Retrieve profiles belonging to a specific list or segment in Klaviyo.
- `get_events`: Retrieve events (actions tracked for profiles) from Klaviyo.
- `get_profiles`: Search and retrieve customer profiles from Klaviyo.
- `get_metrics`: Retrieve available metrics (event types) from Klaviyo.
- `get_flows`: Retrieve automation flows from Klaviyo.
- `query_reports`: Query Klaviyo Reporting API values and time series for campaigns, flows, forms, and segments. Needs `report` and `statistics`.
- `get_forms`: Retrieve Klaviyo signup forms.
- `get_account`: Retrieve the Klaviyo account associated with the current credentials, including account identity, contact information, timezone, currency, and public API key when available.

### Write tools (11)

- `manage_subscriptions`: Subscribe or unsubscribe profiles to/from email and SMS marketing for a specific list. Needs `action` and `profiles`.
- `create_update_profile`: Create a new customer profile or update an existing one in Klaviyo.
- `track_event`: Create a custom event in Klaviyo associated with a profile. Needs `metricName`.
- `update_flow_status`: Change the status of an automation flow in Klaviyo. Needs `flowId` and `status`.
- `manage_coupons`: Create and retrieve coupons in Klaviyo, and bulk-create coupon codes. Needs `action`.
- `manage_campaigns`: Create, retrieve, update, delete, or send email/SMS/push campaigns in Klaviyo. Needs `action`.
- `manage_templates`: Create, retrieve, update, delete, clone, or render email templates in Klaviyo. Needs `action`.
- `manage_catalog_items`: Create, retrieve, update, or delete product catalog items in Klaviyo. Needs `action`.
- `manage_lists`: Create, update, delete, or retrieve lists in Klaviyo. Needs `action`.
- `manage_tags`: Create, retrieve, update, or delete tags and tag groups in Klaviyo. Needs `action`.
- `manage_images`: List, retrieve, upload from URL or data URI, and update Klaviyo images used in templates and campaigns. Needs `action`.

### Destructive tools (1)

- `request_profile_deletion`: Submit a data privacy deletion request for a profile in Klaviyo.

## Triggers

Klaviyo has 3 triggers, which fire on events in Klaviyo:

- `new_profiles`: [Polling fallback] Polls for newly created customer profiles in Klaviyo.
- `webhook_events`: Receives real-time webhook notifications from Klaviyo for email, SMS, push notification, review, and consent events.
- `new_events`: [Polling fallback] Polls for new events (tracked actions) in Klaviyo.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Klaviyo there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Klaviyo on metorial.com](https://metorial.com/integrations/klaviyo): the integration overview