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

# Authentication

> Learn how to authenticate requests to the Visito API.

All requests to the Visito API must be authenticated using an **API Key**.\
Follow the steps below to create your key and begin making secure API calls.

### Generate Your API Key

<img src="https://mintcdn.com/muhammadtest/4XAVa6UEONk4dS1D/images/create-api-keys.png?fit=max&auto=format&n=4XAVa6UEONk4dS1D&q=85&s=c729396615c09746ec80970e05765a6c" alt="Create Api Keys Pn" width="2968" height="1784" data-path="images/create-api-keys.png" />

1. Navigate to **Settings → API Keys** in your [Visito Dashboard](https://app.visitoai.com/settings/api).
2. Click **Create new API Key**.
3. Copy your key and store it in a secure location.
4. Add the API key to the `Authorization` header of all API requests using the **Bearer** format.

<Warning>
  Your API key is sensitive. Never expose it in client-side code or share it publicly.\
  Store it in a secure environment variable on your server.
</Warning>

## Example Authorization Header

```http theme={null}
Authorization: Bearer YOUR_API_KEY_HERE
```
