# Klaviyo Integration Setup

### Integration Guide

Integrating Klaviyo with Swish is simple. Follow these steps to push&#x20;

### Creating a new Private API Key in Klaviyo

Creating a private API key in Klaviyo is an essential first step for integrating Klaviyo with Swish.

This new Private API key and your existing Klaviyo Public API Key need to be entered into the Klaviyo integration settings within the Swish app in your Shopify admin.

Creating a new Private API key is straight forward:

In Klaviyo select your profile from the bottom left hand corner of the page and select **Settings → Account → API keys**:

![](https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FrgWuu8bFNB6tbQBsNL7d%2FSettings.jpg?alt=media)

Select the API keys section within **Settings → Account**, taking note of your Public API Key.

Click **Create Private API Key**:

![](https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FA1bSNopm5VyWbpY7rbhf%2FKlaviyo%20Accounts%20API%20Keys%20.jpg?alt=media)

**Name** your new private API key to distinguish it from any other existing private API Keys.

Select **Full Access Key** and press **Create.**

![Klaviyo API Key Creation.png](https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FFN8KOBVG1CaqQxLQ7SNN%2FKlaviyo_API_Key_Creation.png?alt=media)

Copy the private API key and take note of the public API key from the API Keys page.

![Private-Key.jpg](https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FDYsbwwQVUx3puIPR8MnF%2FPrivate%20Key.jpg?alt=media)

Visit the Swish app in your Shopify admin.

Click **Settings** and then select **Klaviyo** from the integrations list.

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FOMnat5rGGKMiAxYvCLln%2FKlaviyo%20Settings.png?alt=media&#x26;token=d76fe148-6bdc-4190-b301-2225c6a403db" alt=""><figcaption></figcaption></figure>

Add your public API key into the first field. Paste the private API key you have created into the second field and click **Save**:

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FnJQ4ZxyzK3DGEl6Qiysw%2FKlaviyo%20Settings%20Page.png?alt=media&#x26;token=765f78aa-db1a-4c2b-af3c-3285ea3cf70f" alt=""><figcaption></figcaption></figure>

Now it’s time to configure your stock and price related events
