# How to create a Klaviyo Private API Key

In order to setup server-side tracking for Klaviyo, we'll need to have a Private API Key.

## Create a Klaviyo Private API Key

### Account settings

* Sign in to your [Klaviyo Account](https://www.klaviyo.com/login).
* Start by navigating to the Klaviyo homepage. Then, click on the "Account" button found in the lower left-hand corner of the page.&#x20;
* A new pop-up menu will appear; click on the "Settings" tab.&#x20;

<figure><img src="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2F6Kdvoe41D9jYDb0d0mnY%2Fimage.png?alt=media&#x26;token=dffee0fe-a713-4ce0-bfb3-3fbae508ad73" alt=""><figcaption></figcaption></figure>

### API keys settings

* After accessing your account settings, select the "API Keys" tab from the left-hand menu.&#x20;
* Scroll to the section labeled "Private API Keys."&#x20;

<figure><img src="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2FF9WzuQlatSuc7Fomtcqc%2Fimage.png?alt=media&#x26;token=aa28e2c1-4a47-4baa-81b9-0acf4e53866c" alt=""><figcaption></figcaption></figure>

* In the upper right-hand corner of the Private API Keys box, find and click the "Create Private API Key" button.

<figure><img src="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2F3PX1DTZjEdij5jBPNbR2%2Fimage.png?alt=media&#x26;token=988cc86c-6a4c-45d2-90d9-2ee50dc93f97" alt=""><figcaption></figcaption></figure>

### Private API key details

* After clicking the "Create Private API Key" button, you'll be directed to a new page where you can input the necessary details for your new API Key.&#x20;
* Find the section labeled "Private API Key Name" and enter key name in the text box (eg: "TagFly"). Next, go to the section titled "Select Access Level" and choose the "Full Access Key" option.&#x20;
* Once you've filled out all the required information, click the "Create" button located in the upper right-hand corner of the screen.

<figure><img src="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2FAqP5BdbVjgyiM5AwyM0p%2Fimage.png?alt=media&#x26;token=68f7234b-8409-4430-806c-37b9c8c9c1ab" alt=""><figcaption></figcaption></figure>

### Private API key confirmation

* Once you've created your Private API Key, you'll be directed to a confirmation page.&#x20;
* Head to the section titled "Your Private Key" and find the box containing your key.&#x20;
  * For example, a Private API Key might look like this: pk\_436db120d44347058e96d4832d3abed094.

<figure><img src="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2FcpPeO6Tia8QsJCWyzQd7%2Fimage.png?alt=media&#x26;token=e04aad60-570b-4c08-98cb-1e7bb5209b6e" alt=""><figcaption><p>Copy the key and paste it into our app</p></figcaption></figure>
