> ## 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 Customer.io with App API — API Key – StackOne Hub

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

> [!WARNING]
>
> You need Account Admin access, or a role with the Manage API credentials permission, to create API keys. Only Account Admins can see the account's data center.

## Get your Customer.io App API key

The App API key gives StackOne access to your workspace's campaigns, broadcasts, segments, messages and other App API data.

**1. Open Account settings**

Sign in to your [Customer.io account](https://fly.customer.io).

<ul>
  <li>Click the settings icon in the top right corner.</li>
  <li>Select **Account settings**.</li>
</ul>

![The settings menu open in the top right corner with Account settings highlighted](https://mintcdn.com/stackone-60/b5dPq5dlQsrdLoui/connectors/customerio/images/custom-config-account-settings-menu.png?fit=max\&auto=format\&n=b5dPq5dlQsrdLoui\&q=85\&s=78579019e88858d688fa6a868765381d)

**2. Open API credentials**

On the **Account settings** page, click **API credentials**.

![The Account settings page with the API credentials option highlighted](https://mintcdn.com/stackone-60/b5dPq5dlQsrdLoui/connectors/customerio/images/custom-config-api-credentials.png?fit=max\&auto=format\&n=b5dPq5dlQsrdLoui\&q=85\&s=9aa40717a62aa586823f8c37b3be40b6)

**3. Create an App API key**

Click the **App API keys** tab, then click **Create App API key**.

<ul>
  <li>**Name**: enter a name that identifies the key, e.g. `StackOne Integration`.</li>
  <li>Click **Create App API key** in the new row to save the key.</li>
</ul>

![The App API keys tab with the key name entered and the Create App API key button highlighted](https://mintcdn.com/stackone-60/b5dPq5dlQsrdLoui/connectors/customerio/images/custom-config-create-app-api-key.png?fit=max\&auto=format\&n=b5dPq5dlQsrdLoui\&q=85\&s=28e2d3c7b06dae809a455d5bc6b5025e)

**4. Copy the API key**

The **New API key** dialog shows your new key. It is shown only once.

<ul>
  <li>Copy the **API key** across to **App API Key**.</li>
  <li>Click **Finish** to close the dialog.</li>
</ul>

![The New API key dialog with the key value hidden](https://mintcdn.com/stackone-60/b5dPq5dlQsrdLoui/connectors/customerio/images/custom-config-new-api-key.png?fit=max\&auto=format\&n=b5dPq5dlQsrdLoui\&q=85\&s=df1a0a7ff4fae78d3e1d4a6174cd036d)

## Find your data center

The **App API Region** field tells StackOne which Customer.io data center hosts your account.

**1. Check the Data center**

Go back to **Account settings** and click **Privacy & data**. The **Data center** panel shows where your account is hosted.

<ul>
  <li>If it shows **European Data center**, select **European Union (api-eu)** in the **App API Region** field in StackOne Hub.</li>
  <li>Otherwise, select **United States (api)**.</li>
</ul>

![The Privacy and data page with the Data center panel highlighted](https://mintcdn.com/stackone-60/b5dPq5dlQsrdLoui/connectors/customerio/images/custom-config-data-center.png?fit=max\&auto=format\&n=b5dPq5dlQsrdLoui\&q=85\&s=d5f88050c8c81a6ada2b8e3f5bc28ec4)

## 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/customerio/guides/webhook-setup.md)
>
> Configure receiving Events for Customer.io into StackOne.


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