# Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header:

```
Authorization: Bearer sk_live_your_api_key_here
```

#### Getting Your API Key

1. Log in to your Saber account at [ai.saber.app](https://ai.saber.app)
2. Navigate to **Settings** → **API Keys**
3. Click **Create API Key** and provide a name
4. Copy the key immediately - it will only be shown once
5. Store the key securely (environment variable, secret manager, or vault)

#### Security Best Practices

**Do:**

* Store keys securely using environment variables or secret managers
* Use different API keys for different environments (staging, production)
* Monitor API usage logs regularly
* Rotate keys periodically

**Don't:**

* Hardcode API keys in your source code
* Share API keys in public repositories or documentation
* Use the same API key across multiple external systems
* Commit API keys to version control

***
