> ## 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 Calendly API credentials.

## Authentication Method

* **[`api_key`](/concepts/api-key)** - Personal access token

## Personal Access Token Setup

### Step 1: Get Your Personal Access Token

1. Log in to [Calendly](https://calendly.com)
2. Go to **Integrations** → **API & Webhooks**
3. Under **Personal Access Tokens**, click **Generate New Token**
4. Give it a name (e.g., "Corsair Integration")
5. Copy the token immediately — you won't be able to see it again
6. Store it securely

**Storing Credentials:**

```bash theme={null}
pnpm corsair setup --plugin=calendly api_key=your-personal-access-token
```

## Webhook Setup (Optional)

1. In Calendly, go to **Integrations** → **API & Webhooks** → **Webhooks**
2. Create a new webhook subscription
3. Note the signing key provided

```bash theme={null}
pnpm corsair setup --plugin=calendly webhook_signature=your-signing-key
```

## Required Credentials Summary

| Credential            | Required For         | Where to Find                                          |
| --------------------- | -------------------- | ------------------------------------------------------ |
| Personal Access Token | All API calls        | Integrations → API & Webhooks → Personal Access Tokens |
| Signing Key           | Webhook verification | Integrations → API & Webhooks → Webhooks               |

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