# Missing API key

Resolve errors related to a missing API key.

> **Error**
>
> Croct's API key is missing. Did you forget to set the NUXT\_CROCT\_API\_KEY environment variable?

This error occurs when the API key is not configured. Server-side features like content fetching, query evaluation, and user identification require an API key.

To fix this, set the `NUXT_CROCT_API_KEY` environment variable in your `.env` file:

```bash
NUXT_CROCT_API_KEY=<API_KEY>
```

You can generate an API key on the [API keys page](https://app.croct.com/redirect/organizations/-organization-/workspaces/-workspace-/applications/-application-/keys) of your application. Make sure to grant the **Issue user tokens** permission.

For more details, see the [manual installation](/reference/sdk/nuxt/manual-installation#environment-variables) guide.
