# Connect an AI tool

An AI tool with HTTP access can use the gateway for the documented operations. It uses a personal key created on this site.

## Get connection instructions

1. [Request an account](/inscription). An administrator must approve the registration.
2. [Sign in](/connexion) and create a key under **API keys**.
3. Open **AI Connect** from the dashboard, project, or variant. Select an active key when the selector is available.
4. Copy the PowerShell command for the selected key. If it shows `votre-valeur-secrete`, replace that text with the value you saved when you created the key. Run the command on the Windows PC used by your AI to set the `CAMPAIGN52_APIKEY` user environment variable.
5. Review the linked Markdown documents and copy the connection Markdown into your AI tool.

## Send a request

Add the following header to every request you send to your gateway’s origin.

```http
Authorization: Bearer <clé-de-la-passerelle>
```

Keep the key in the tool’s secret settings whenever possible. Never put it in a URL, logs or AI responses. To stop using a key, revoke it under **API keys**.

| Provider | API prefix | Documentation |
| --- | --- | --- |
| ElevenLabs | `/provider/elevenlabs/api/v1` | [Speech synthesis, voices and models](/provider/elevenlabs) |
| DeepL | `/provider/deepl/api/v1` | Integration planned |

This guide is available as [raw Markdown](/provider/ai?format=markdown). The [Token](/token) page shows your request results and the usage units reported by the provider.
