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

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

## Generate an API Key

Create a Personal Access Token or Service Account Key in your Keap application settings.

**1. Open API Settings**

In your Keap application, go to **Settings** (gear icon) in the left sidebar, then select **API Settings**.

**2. Create a new key**

Click the blue **+ Add Key** button.

<ul>
  <li>Enter a unique name for the key to help identify it later</li>
  <li>Click **Save**</li>
  <li>Copy the **API Key** across. Keap shows it only once.</li>
</ul>

**3. Key types**

Both key types use the same authentication mechanism.

<ul>
  <li>**Personal Access Token (PAT):** Available to all users. Operates under the creating user's permissions.</li>
  <li>**Service Account Key (SAK):** Available to admins only. Grants full admin-level access.</li>
</ul>

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