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

# Discourse credentials

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

You can use these credentials to authenticate the following nodes:

* [Discourse](/integrations/builtin/app-nodes/n8n-nodes-base.discourse.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>

* Host an instance of [Discourse](https://discourse.org/)
* Create an account on your hosted instance and make sure that you are an admin

## 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 [Discourse's API documentation](https://docs.discourse.org/) 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:

* The **URL** of your Discourse instance, for example `https://community.n8n.io`
* An **API Key**: Create an API key through the Discourse admin panel. Refer to the [Discourse create and configure an API key documentation](https://meta.discourse.org/t/create-and-configure-an-api-key/230124) for instructions on creating an API key and specifying a username.
* A **Username**: Use your own name, `system`, or another user.

Refer to the Authentication section of the [Discourse API documentation](https://docs.discourse.org/) for examples.
