> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect ChartMogul with API Key – StackOne Hub

> Link a ChartMogul account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using ChartMogul actions.

> [!WARNING]
>
> Choose **Read & Write** as the **Access Level** if the connection needs to import or change data. A **Read-only** key can run the list, retrieve and metrics actions, but every create, update and delete action fails with 403 Forbidden. The access level can't be changed after the key is created, so create a new key if you need a different one.

## Create a ChartMogul API key

Your ChartMogul API key lets StackOne read and update the data in your ChartMogul account.

**1. Sign in to ChartMogul**

Sign in to your [ChartMogul account](https://app.chartmogul.com/users/sign_in).

<ul>
  <li>Click **Settings** in the left sidebar.</li>
</ul>

![The ChartMogul home dashboard with the Settings icon highlighted in the left sidebar](https://mintcdn.com/stackone-60/KLiAosJaX9f2OQ3S/connectors/chartmogul/images/custom-config-settings.png?fit=max\&auto=format\&n=KLiAosJaX9f2OQ3S\&q=85\&s=3abe3b1aafcf4ec021b843fb2eccbd5e)

**2. Open API Access Manager**

In the **Settings** menu, expand **Security & Access** and click **API Access Manager**.

![The Settings menu with the Security & Access group expanded and API Access Manager highlighted](https://mintcdn.com/stackone-60/KLiAosJaX9f2OQ3S/connectors/chartmogul/images/custom-config-api-access-manager.png?fit=max\&auto=format\&n=KLiAosJaX9f2OQ3S\&q=85\&s=b9a94e37372404e600ed81f1e80affe5)

**3. Open your API keys**

Click **Your Profile > API Keys** above the key table.

![The API Access Manager page with the Your Profile > API Keys link highlighted](https://mintcdn.com/stackone-60/KLiAosJaX9f2OQ3S/connectors/chartmogul/images/custom-config-api-keys-link.png?fit=max\&auto=format\&n=KLiAosJaX9f2OQ3S\&q=85\&s=df561ca0063d7421cae9aad471356b7d)

**4. Add a new API key**

On the **API Keys** page, click **Add API Key**.

![The API Keys page with the Add API Key button highlighted](https://mintcdn.com/stackone-60/KLiAosJaX9f2OQ3S/connectors/chartmogul/images/custom-config-add-api-key.png?fit=max\&auto=format\&n=KLiAosJaX9f2OQ3S\&q=85\&s=cff32d542914fb61c1b18fce2fa82722)

**5. Fill in the key details**

In the **Create New API Key** window, fill in both fields.

<ul>
  <li>Name: `StackOne Integration`</li>
  <li>Set **Access Level** to **Read & Write**, or to **Read-only** if the connection only reads data and metrics.</li>
  <li>Click **Add**.</li>
</ul>

![The Create New API Key window with the Name field and the Read & Write access level highlighted](https://mintcdn.com/stackone-60/KLiAosJaX9f2OQ3S/connectors/chartmogul/images/custom-config-create-new-api-key.png?fit=max\&auto=format\&n=KLiAosJaX9f2OQ3S\&q=85\&s=3c18fb51ffd837ec9ffb668ccd49d9b0)

**6. Copy the API key**

In the **StackOne Integration** row, click the **Copy** icon to copy the key.

<ul>
  <li>Paste it into the **API Key** field in StackOne Hub.</li>
  <li>Store the key securely for use later.</li>
</ul>

![The API Keys page with the Copy icon highlighted in the StackOne Integration row](https://mintcdn.com/stackone-60/KLiAosJaX9f2OQ3S/connectors/chartmogul/images/custom-config-copy-api-key.png?fit=max\&auto=format\&n=KLiAosJaX9f2OQ3S\&q=85\&s=749f035741e05345cbc5f21f62913fd2)

## Linking the Account from the Hub

**1. Navigate to the Hub**

Use one of the three [Linking Account Methods](/connect/managing-connectors/linking-accounts) to access the Hub.

**2. Fill out the fields**

Fill out the following fields using details from your provider:

<ul>
  <li>**API Key**</li>
</ul>

**3. Connect**

<ul>
  <li>Click **Connect**</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup</li>
</ul>

If the account linking is successful, you will see the newly linked account in your [Accounts](/gateway/concepts/linked-accounts) page.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.