# Klaviyo

## Overview

Klaviyo is a growth marketing platform created for online businesses — featuring powerful marketing automation and a revenue-driving email platform.

## \*\*API Information \*\*

The Klaviyo connector has the following Base URL: **<https://a.klaviyo.com>.** More information can be found on their [main API documentation (v2023-10-15)](https://developers.klaviyo.com/en/reference/api_overview) site. Details regarding their API limitations can be found [here](https://developers.klaviyo.com/en/reference/api_overview#rate-limiting).

## Authentication

Within the builder, click on the Klaviyo connector to display the connector properties panel. Select the **Auth** tab and click on the **New authentication** button.
![klaviyo-auth](https://tray.ai/documentation/images/connectors/service/klaviyo/7E9dnskuAKUQgHGDO6KBlf_klaviyo-auth.png)
In the Tray.io authentication pop-up modal name your authentication in a way that will quickly identify it within a potentially large list. For example whether it is a Sandbox or Production auth, etc.
Consider who/ how many people will need access to this authentication when choosing where to create this authentication ('Personal' vs 'Organisational').
The next page asks you for your \*\*API Key \*\* credentials.
To get these fields, head to the Klaviyo dashboard. Click on the Account plan button on the top bar.
![klaviyo-api-key-1](https://tray.ai/documentation/images/connectors/service/klaviyo/3IP2JW3kXXWc2VbTIgq4iV_klaviyo-api-key-1.png)
Head to the Account tab, then click on the API keys section. Click the Create Private API Key button
![klaviyo-api-key-2](https://tray.ai/documentation/images/connectors/service/klaviyo/yKnIRguIWLPMo61lSXoMf_klaviyo-api-key-2.png)
On the Create Private API Key page, choose the key name, and select the API scopes
![klaviyo-api-key-3](https://tray.ai/documentation/images/connectors/service/klaviyo/57u4IW2y8iYdpqHVauu6Zp_klaviyo-api-key-3.png)
On the Private API Key confirmation page, Copy your Private API key
![klaviyo-api-key-4](https://tray.ai/documentation/images/connectors/service/klaviyo/6MPl6CQUsDsr47rVZWJWYS_klaviyo-api-key-4.png)
Once you have added these fields to your Tray.io authentication pop-up window click the **Create authentication** button. 
Your connector authentication setup should now be complete. Please run the simplest operation available to test and make sure you can retrieve data as expected.
