Create an Admin API key
An Admin API key gives access to one Cursor team, so create it while signed in to the team you want to connect.
1
Create the key
Sign in to your Cursor account as a team admin and open API Keys.
- Click New API Key.
- Give the key a descriptive name, such as
StackOne Integration. - Create the key as a team API key, not a personal user API key or an Organization API key.
- A key with the
read:*scope reads team members, groups, audit logs, usage, spend and Bugbot review analytics. - The Analytics API, the AI Code Tracking API, triggering Bugbot reviews and every change need the
admin:*scope. - Model access needs the
models:readscope to read it andmodels:*to change it. A key withadmin:*covers both, and aread:*key covers neither.
2
Copy the key
Copy the Admin API Key across. The key is shown once and cannot be retrieved later.
- Format:
crsr_followed by a long string of letters and digits - Example:
crsr_xxxxxxxxxxxxxxxx - The key is tied to your team and is unaffected by the account status of the admin who created it.
Link the Account
1
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
2
Use Actions
Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.