# How to Connect to ChartMogul

> **Note:** Connecting your ChartMogul account to Power My Analytics allows you to centralize your subscription analytics data for more efficient reporting and analysis. This guide will walk you through creating a ChartMogul API key and connecting your ChartMogul account to PMA.

## Requirements

Before you begin, ensure you have:

- A ChartMogul account
- Access to create or view API keys in your ChartMogul account

## Step 1: Get Your ChartMogul API Key

The ChartMogul connector authenticates with an API key.

1. Log in to your ChartMogul account.
2. Create a new API key, or copy an existing one, following ChartMogul's guide: [Creating and Managing API Keys](https://help.chartmogul.com/article/95-creating-and-managing-api-keys).
3. Copy the API key so it is ready to paste into Power My Analytics.

## Step 2: Connect ChartMogul to Power My Analytics

1. Go to your Power My Analytics hub at [https://hub.powermyanalytics.com](https://hub.powermyanalytics.com) and click on **Sources** in the left sidebar.
2. Click the **\+ Add new source** button.
3. Find and select ChartMogul from the data source gallery.
4. Enter the **API key** you copied from ChartMogul.
5. Click **Connect** to authenticate.
6. You should see the "Source was successfully added" confirmation message.

Your ChartMogul account is now connected to Power My Analytics, and PMA will begin collecting your historical data automatically.

## Remove Your ChartMogul Data Source from PMA

If you would like to disconnect your ChartMogul account from Power My Analytics:

1. Go to your Power My Analytics hub at [https://hub.powermyanalytics.com](https://hub.powermyanalytics.com) and click on **Sources** in the left sidebar.
2. Find your ChartMogul account in the list of connected sources. Click the three dots to open the **Action** menu.
3. Click **Remove source**.
4. Click **Confirm** to remove the ChartMogul data source from PMA.

You can also revoke the API key in ChartMogul to fully disable access; see ChartMogul's guide: [Creating and Managing API Keys](https://help.chartmogul.com/article/95-creating-and-managing-api-keys).

## Related Articles

- [ChartMogul Data Connector User Guide](https://knowledge.powermyanalytics.com/application/sources/chartmogul-data-connector-user-guide/)
- [Basic Troubleshooting](https://knowledge.powermyanalytics.com/application/troubleshooting/basic-troubleshooting/)
