> ## 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 Baremetrics with API Key – StackOne Hub

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

## Retrieve your API key

Your Baremetrics API key gives StackOne access to your account's data. Baremetrics shows one key for live data and a separate key for the sandbox.

**1. Copy the API key**

Sign in to your [Baremetrics account](https://app.baremetrics.com/settings/api) and open the **API** settings page under **INTEGRATIONS**.

<ul>
  <li>**Production**: click the **Copy** icon next to **Live API Key**, then copy the **Live API Key** across.</li>
  <li>**Sandbox**: click the **Copy** icon next to **Sandbox API Key**, then copy the **Sandbox API Key** across, and choose the **Sandbox** environment when you connect.</li>
</ul>

![The Baremetrics settings menu with API highlighted under Integrations, next to the Sandbox API Key and Live API Key fields](https://mintcdn.com/stackone-60/i1F9xsQqYXGkYdV3/connectors/baremetrics/images/custom-config-api-settings.png?fit=max\&auto=format\&n=i1F9xsQqYXGkYdV3\&q=85\&s=288db7f1cb7f6bd4d2318976f3b3f717)

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


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