Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Use Cursor credentials to make authenticated API calls through Alter Vault without exposing your API keys in code.
PropertyValue
Provider IDcursor
CategoryDeveloper Tools
Credential TypeBearer Token

Step 1: Get Your Credentials

1

Sign in to Cursor

Sign in to your Cursor account at www.cursor.com.
2

Go to Cursor Settings

Navigate to Cursor Settings.
3

Find the API Keys section

Find the API Keys section.
4

Generate a new API key

Generate a new API key and copy it.
Never share your credentials publicly. Store them securely and only enter them in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Cursor

Go to Managed Secrets > Add Provider > Cursor.
3

Enter your credentials

Paste your API Key into the credential field.
4

Save

Click Save. You’ll receive a grant_id to use with the SDK.

Using in Code

response = await vault.request(
    HttpMethod.GET,
    "https://api.cursor.com/v1/YOUR_ENDPOINT",
    grant_id="YOUR_GRANT_ID",
)