> ## 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**.

<ul>
  <li>Alternatively, expand **Your Account** and click **API Keys** to go straight to the **API Keys** page, then skip the next step.</li>
</ul>

![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**: enter a name that identifies the key, e.g. `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 row for the key you just created, 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 new key's 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)

## Link the Account

**1. 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>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/chartmogul/guides/webhook-setup.md)
>
> Configure receiving Events for ChartMogul into StackOne.


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