# How to Connect to CartStack

> **Note:** This guide will walk you through connecting your CartStack account as a data source in Power My Analytics. By integrating CartStack with our platform, you'll be able to automate your data collection, centralize your metrics, and create powerful reports to drive your e-commerce success.

## Prerequisites

Before you begin, make sure you have:

- An active [CartStack](https://knowledge.powermyanalytics.com/application/sources/cartstack-data-connector-user-guide/) account
- Your CartStack Site ID and API key

### Finding Your CartStack Site ID and API Key

Your Site ID and API key can be found under **Settings** > **Site ID/API Key** in CartStack's UI:

![](https://knowledge.powermyanalytics.com/application/sources/images/how-to-connect-to-cartstack-1.png)

## Adding CartStack as a Data Source

1. Log in to your Power My Analytics hub.
2. Navigate to **Sources** from the main menu.
3. Click on **\+ Add new source**.

    ![](https://knowledge.powermyanalytics.com/application/sources/images/how-to-connect-to-cartstack-2.png)
4. Select CartStack from the gallery of available sources.

    ![](https://knowledge.powermyanalytics.com/application/sources/images/how-to-connect-to-cartstack-3.png)
5. Enter your CartStack **Site ID** and **API key**.

    ![](https://knowledge.powermyanalytics.com/application/sources/images/how-to-connect-to-cartstack-4.png)
6. Click **Connect** to authenticate and finish adding your CartStack account as a data source.

Once connected, CartStack will appear in your list of active data sources. Your campaign data from CartStack will automatically begin syncing to your Power My Analytics data warehouse. When the initial backfill is finished, you can then use this data in Data Studio reports, Google Sheets, or export it to your preferred data destination.
