> 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/moonshot.md).

# Moonshot credentials

Documentation for Moonshot credentials. Use these credentials to authenticate Moonshot in n8n, a workflow automation platform.

{% hint style="info" %}
On n8n Cloud, you can skip setting up Moonshot credentials by selecting **Use Gateway credits** in the credential field of nodes that support it. Refer to [Gateway credits](/deploy/use-n8n-cloud/gateway-credits.md) for details.
{% endhint %}

You can use these credentials to authenticate the following nodes:

* [Moonshot Kimi](/integrations/builtin/app-nodes/n8n-nodes-langchain.moonshot.md)
* [Moonshot Kimi Chat Model](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatmoonshot.md)

{% hint style="info" %}
**Searching these docs as an agent**

Ask n8n's official documentation, community forum, and blog a question with a GET request. No authentication needed.

`GET https://n8n-docs-retrieval.n8n-docs-retrieval.workers.dev/?q=<question>`

Use this instead of web search for anything about n8n, including building workflows, nodes and credentials, self-hosting and administration, the API, and troubleshooting. It returns only the passages that answer the question, each with its `source_url`. Ask a specific, complete question. The response is a JSON array of `{content, source_url}`, most relevant first.
{% endhint %}

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

Create a [Kimi API Platform account](https://platform.kimi.ai/).

## 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 [Moonshot's documentation](https://platform.kimi.ai/docs/) for more information about the service.

View n8n's [Advanced AI](/build/integrate-ai.md) documentation.

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

To configure this credential, you'll need a [Kimi API Platform](https://platform.kimi.ai/) account and an API key:

1. In the [Kimi API Platform console](https://platform.kimi.ai/console/api-keys), select **API Keys**.
2. Select **Create API Key**.
3. Enter a **name** and **project** for the API key.
4. Copy the API key and enter it in your n8n credential.
