# How to integrate Roadmap with Klaviyo

Use the embedded walkthrough below, then follow the written steps for a fast copy/paste setup.

![Select the Klaviyo tab to access all Klaviyo integration options and settings.](https://cdn.sanity.io/images/qnhxgxnh/production/5c19caacfc3691968fd53f107d1f5f1ed45373cb-3840x1868.png?w=1600&fit=max&auto=format)

### Klaviyo Integration Set Up

Discover how to generate and add a Klaviyo API key to activate seamless store-email integration.

### Before you start

- You need access to your **Shopify admin** and the **Roadmap** app.
- You need access to your **Klaviyo** account to create a **Private API key**.

Your Klaviyo Private API key is like a password. Copy it once and store it in a secure place (for example, a password manager).

1. **Step 1: Open Roadmap Settings in Shopify**
   Go to Roadmap in Shopify

   In Shopify, open **Apps** and select **Roadmap**. In the Roadmap left menu, click **Settings**.

   ![Shopify admin showing the Roadmap app with the Settings item highlighted](https://cdn.sanity.io/images/qnhxgxnh/production/932c1d56c3fa1aa534e8b7e4adbdafe1183d87f8-1280x624.jpg?w=1600&fit=max&auto=format)

2. **Step 2: Create a Klaviyo Private API key**
   Open Klaviyo’s Create Private API Key screen

   In Klaviyo, go to the page titled **Create Private API Key**, then enter a name in **Private API Key Name** so you can recognize it later (for example, `Roadmap`).

   ![Klaviyo Create Private API Key screen with the Private API Key Name field](https://cdn.sanity.io/images/qnhxgxnh/production/426190718f2dfe94bc91ccdf42387a95bd13fa80-1280x624.jpg?w=1600&fit=max&auto=format)

   Generate and copy the key

   Click **Create**. When Klaviyo shows **Your Private Key**, click the copy icon and save the key somewhere secure.

   ![Klaviyo showing the generated private key with a copy icon](https://cdn.sanity.io/images/qnhxgxnh/production/05819581255f783f15ab668db3325f7f73a8c257-1280x624.jpg?w=1600&fit=max&auto=format)

   Klaviyo warns that this is the only time the full private key is visible. If you lose it, you’ll need to create a new one.

3. **Step 3: Paste the API key into Roadmap**
   Open the Klaviyo tab in Roadmap Settings

   Back in Shopify (Roadmap), go to **Settings** and select the **Klaviyo** tab.

   Paste your key into **Klaviyo API Key**, then click **Save**.

   ![Roadmap Settings with the Klaviyo tab and the Klaviyo API Key field plus Save button](https://cdn.sanity.io/images/qnhxgxnh/production/150b3f2e2b3b830178420d71650bbc0933cfa34c-1280x624.jpg?w=1600&fit=max&auto=format)

4. **Step 4: Sync Roadmap data to Klaviyo**
   Open Klaviyo Integration

   In the Roadmap left menu, click **Klaviyo Integration**.

   ![Roadmap in Shopify showing the Settings page and the Klaviyo Integration item in the left navigation](https://cdn.sanity.io/images/qnhxgxnh/production/bb794080dffc3be28f13305f71f4de6c44cd6e34-1280x624.jpg?w=1600&fit=max&auto=format)

   Sync profile properties

   On **Klaviyo Integration**, select **Klaviyo Profile** to sync Roadmap profile properties into Klaviyo profiles (useful for segmentation and personalization).

   ![Roadmap Klaviyo Integration screen with Klaviyo Profile and Klaviyo Metrics options](https://cdn.sanity.io/images/qnhxgxnh/production/a12f0339316856e433a306fab1761b2a559ebd86-1280x624.jpg?w=1600&fit=max&auto=format)

   Sync metrics for flows

   Select **Klaviyo Metrics** to sync Roadmap metrics used by Klaviyo **Flows**. This is where you manage which Roadmap data points appear as usable flow triggers/filters in Klaviyo.

   ![Klaviyo Integration view showing the Klaviyo Metrics option for syncing data used in flows](https://cdn.sanity.io/images/qnhxgxnh/production/5e051bda8e73aa8b512aa41be60c670f1d4ec8fd-1280x624.jpg?w=1600&fit=max&auto=format)

5. **Step 5: Confirm your flows are ready**
   When you’ve finished syncing, you’ll see a confirmation screen indicating you’re ready to begin setting up your Klaviyo flows.

   ![Confirmation screen stating the Klaviyo flows setup is complete](https://cdn.sanity.io/images/qnhxgxnh/production/0aa4742268727e682b36f17ded6646d51a6b59c5-1280x624.jpg?w=1600&fit=max&auto=format)

   If your synced metrics or profile properties don’t appear in Klaviyo right away, re-check that your **Klaviyo API Key** is saved in Roadmap ( **Settings** → **Klaviyo**) and that you enabled sync under **Klaviyo Integration**.
