> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Credentials

> Step-by-step instructions for obtaining Cursor API credentials.

## Authentication Method

* **[`api_key`](/concepts/api-key)** - Cursor API key

## API Key Setup

### Step 1: Get Your API Key

1. Log in to [Cursor](https://cursor.com)
2. Go to your account settings
3. Navigate to the **API** or **Developer** section
4. Generate or copy your API key
5. Store it securely

**Storing Credentials:**

```bash theme={null}
pnpm corsair setup --plugin=cursor api_key=your-api-key
```

## Required Credentials Summary

| Credential | Required For  | Where to Find                 |
| ---------- | ------------- | ----------------------------- |
| API Key    | All API calls | Cursor account settings → API |

For general information about how Corsair handles authentication, see [Authentication](/concepts/auth).
