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

# Authentication

To use the **SlidesGPT API**, you need an API key for authentication. This key must be included in every request as a Bearer token in the `Authorization` header.

### How to Get an API Key

1. Sign up or log in to [SlidesGPT](https://slidesgpt.com).
2. Navigate to the [API Keys](https://slidesgpt.com/keys) page.

<img width="265" height="200" src="https://mintcdn.com/slidesgpt/9k7ZgBs2UgGUC87w/static/images/authentication/1.png?fit=max&auto=format&n=9k7ZgBs2UgGUC87w&q=85&s=75694f07a722bb75d6ed5208effaa903" alt="Authentication 1" data-path="static/images/authentication/1.png" />

3. Generate a new API key.

<img width="540" height="200" src="https://mintcdn.com/slidesgpt/9k7ZgBs2UgGUC87w/static/images/authentication/2.png?fit=max&auto=format&n=9k7ZgBs2UgGUC87w&q=85&s=c08706ec8b3dd0ac9b14a596373829c6" alt="Authentication 2" data-path="static/images/authentication/2.png" />

4. Optionally, give your key a name.

<img width="504" height="200" src="https://mintcdn.com/slidesgpt/9k7ZgBs2UgGUC87w/static/images/authentication/3.png?fit=max&auto=format&n=9k7ZgBs2UgGUC87w&q=85&s=58899f7cfaa117a6050ff1c5f08ae4f8" alt="Authentication 3" data-path="static/images/authentication/3.png" />

5. Save your key.

<img width="310" height="200" src="https://mintcdn.com/slidesgpt/9k7ZgBs2UgGUC87w/static/images/authentication/4.png?fit=max&auto=format&n=9k7ZgBs2UgGUC87w&q=85&s=ee8139f8d1dc2ba63c69d244f0bc13f0" alt="Authentication 4" data-path="static/images/authentication/4.png" />

### Using the API Key

Include it in your request headers:

```
Authorization: Bearer YOUR_API_KEY
```

Keep your key secure and do not share it.
