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

# Authentication

You can authenticate with Fireworks by setting the `fireworks.client.api_key` variable:

```Python Python
fireworks.client.api_key = "<API_KEY>"
```

Or by setting the `FIREWORKS_API_KEY` environment ariable:

```
export FIREWORKS_API_KEY=<API_KEY>
```
