> For the complete documentation index, see [llms.txt](https://docs.heyamica.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heyamica.com/connecting-llms-your-core-ai-chatbot-model/using-openrouter.md).

# Using OpenRouter

Navigate to [openrouter.ai](https://openrouter.ai/). Hover over the profile icons on the right-hand side, then select the "Keys" tab from the dropdown menu. Click "Create Key," copy the API key, and paste it into the settings.

#### OpenRouter Configuration

Set the backend to OpenRouter:

```bash
Settings -> ChatBot -> ChatBot Backend -> OpenRouter
```

Set the API key:

```bash
Settings -> ChatBot -> OpenRouter -> OpenRouter API Key
```

Set the OpenRouter model:

```bash
Settings -> ChatBot -> OpenRouter -> OpenRouter Model
```
