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

# Open WebUI

> Connect Open WebUI to NagaAI as an OpenAI-compatible connection.

In Open WebUI open the admin settings, go to **Connections**, add an OpenAI connection and fill in, as described in the [Open WebUI docs](https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible):

| Field     | Value                                                                       |
| --------- | --------------------------------------------------------------------------- |
| URL       | `https://api.naga.ac/v1`                                                    |
| API Key   | Your NagaAI API key                                                         |
| Model IDs | The models to show, for example `claude-sonnet-5` and `deepseek-v4.1-flash` |

Fill in **Model IDs**. Without it Open WebUI shows every model in the catalog, including image, audio and embedding models.

The same connection through environment variables:

```bash theme={null}
OPENAI_API_BASE_URL=https://api.naga.ac/v1
OPENAI_API_KEY=YOUR_NAGAAI_API_KEY
```

Open WebUI's settings for image generation, speech and RAG embeddings also accept an OpenAI base URL. NagaAI can serve those with the same key.
