Create an Admin API key
An Admin API key gives StackOne access to one Cursor team. Create it in the team you want to review.
Sign in to Cursor
Sign in to your Cursor account as a team Admin or Unpaid Admin.
- Open the API Keys page of the dashboard.
Create the key
Select New API Key and give the key a descriptive name.
- Name:
StackOne Integration - Create a team API key. A personal user API key or an Organization API key cannot call the team routes this connector uses.
- Choose the Read-only scope (
read:*). It is enough to read team members and their roles, directory groups, audit logs and daily usage. - Choose the admin scope (
admin:*) only if you will also create, update or delete directory groups, add or remove their members, or remove team members. Cursor answers a write made with aread:*key with a 401. - Directory groups synced from your identity provider through SCIM reject manual member changes, so manage those in the identity provider.
- If Cursor asks for an expiration date, the connection stops on that date until you paste a new key.
Copy the key
Copy the generated key right away and store it securely for use later.
- Cursor shows the key once and says you won’t see it again.
- Format:
crsr_followed by a long string of letters and digits - Example:
crsr_xxxxxxxxxxxxxxxx - Paste it into the Admin API Key field in StackOne Hub.
Keep the key working
Cursor says keys are unaffected by the account status of the admin who created them.
- To rotate the key, create a new one on the API Keys page, paste it into StackOne Hub, then revoke the old key. A key Cursor no longer accepts is answered with a 401, and the connection stops until you paste a new one.
- To stop StackOne’s access, revoke the key on the same API Keys page.
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- Admin API Key
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
If the account linking is successful, you will see the newly linked account on your Accounts page.