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

# Create an API Key

> Create a new API key to use Edgee services.

<Steps>
  <Step title="Open API Keys">
    In your [Edgee Console](https://www.edgee.ai), navigate to **API Keys**.
  </Step>

  <Step title="Create a new key">
    Click **Create API Key**, give it a name (e.g., "Development"), and click **Create**.
  </Step>

  <Step title="Copy your key">
    Copy the key immediately; it will not be shown again.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/edgee/VENfm4fT_34iunof/images/api-key-light.png?fit=max&auto=format&n=VENfm4fT_34iunof&q=85&s=0e4acf1faf5fdbff3354af49685585d9" alt="Create an API Key" className="dark:hidden" width="1016" height="1426" data-path="images/api-key-light.png" />

  <img src="https://mintcdn.com/edgee/VENfm4fT_34iunof/images/api-key-dark.png?fit=max&auto=format&n=VENfm4fT_34iunof&q=85&s=a25f88e7b750fe3ac12417ebb76e22ad" alt="Create an API Key" className="hidden dark:block" width="1016" height="1426" data-path="images/api-key-dark.png" />
</Frame>

<Warning>
  Store your API key securely. Never commit it to version control or expose it in client-side code.
</Warning>

## Test Your Key

Now you copied your key, you can verify it works with a simple curl request:

```bash theme={"dark"}
curl https://api.edgee.ai/v1/chat/completions \
  -H "Authorization: Bearer $EDGEE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.2",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
```
