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

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

> [!WARNING]
>
> The Cloud Agents API is in beta and needs a Cursor plan with Cloud Agents. Cloud Agents are not available on the Free plan.

## Create a user API key

A user API key acts as you, so cloud agents started with it can use your GitHub connection and your personal secrets.

**1. Create the key**

Sign in to your [Cursor account](https://cursor.com/dashboard) and open **API Keys**.

<ul>
  <li>Click **New API Key**.</li>
  <li>Give the key a descriptive name, such as `StackOne Integration`.</li>
  <li>Create the key as a personal user API key, not a team Admin API key.</li>
  <li>On Enterprise teams, creating personal keys needs **Allow Personal API Key Creation** turned on by a team admin.</li>
</ul>

**2. Copy the key**

Copy the **User API Key** across. The key is shown once and cannot be retrieved later.

<ul>
  <li>Format: `crsr_` followed by a long string of letters and digits</li>
  <li>Example: `crsr_xxxxxxxxxxxxxxxx`</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/connect/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.