> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/openrouter.md).

# OpenRouter credentials

You can use these credentials to authenticate the following nodes:

* [Chat OpenRouter](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenrouter.md)

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Create a [OpenRouter](https://openrouter.ai/) account.

## Supported authentication methods <a href="#supported-authentication-methods" id="supported-authentication-methods"></a>

* API key

## Related resources <a href="#related-resources" id="related-resources"></a>

Refer to [OpenRouter's API documentation](https://openrouter.ai/docs/quick-start) for more information about the service.

## Using API key <a href="#using-api-key" id="using-api-key"></a>

To configure this credential, you'll need:

* An **API Key**

To generate your API Key:

1. Login to your OpenRouter account or [create](https://openrouter.ai/) an account.
2. Open your [API keys](https://openrouter.ai/keys) page.
3. Select **Create new secret key** to create an API key, optionally naming the key.
4. Copy your key and add it as the **API Key** in n8n.

Refer to the [OpenRouter Quick Start](https://openrouter.ai/docs/quick-start) page for more information.
