# xAI credentials

You can use these credentials to authenticate the following nodes:

- [Chat xAI Grok](../../cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatxaigrok/)

## Prerequisites

Create an [xAI](https://accounts.x.ai/sign-up) account.

## Supported authentication methods

- API key

## Related resources

Refer to [xAI's API documentation](https://docs.x.ai/docs/api-reference) for more information about the service.

## Using API key

To configure this credential, you'll need:

- An **API Key**: You can create a new API key on the [xAI Console API Keys page](https://console.x.ai/team/default/api-keys).

Refer to the [The Hitchhiker's Guide to Grok | xAI](https://docs.x.ai/docs/tutorial) for more information.
