--- title: xAI credentials description: Documentation for xAI credentials. Use these credentials to authenticate xAI in n8n, a workflow automation platform. contentType: [integration, reference] priority: critical --- # xAI credentials You can use these credentials to authenticate the following nodes: - [Chat xAI Grok](/08-0-0-Workflow/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatxaigrok.md) ## 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.