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

# Brave Search credentials

Documentation for the Brave Search credentials. Use these credentials to authenticate Brave Search in n8n, a workflow automation platform.

{% hint style="info" %}
On n8n Cloud, you can skip setting up Brave Search 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 %}

{% 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

Create a [Brave Search API](https://api.search.brave.com/) account.

## Supported authentication methods

* API key

## Related resources

Refer to [Brave Search's API documentation](https://api-dashboard.search.brave.com/documentation) for more information about the service.

## Using API key

To configure this credential, you'll need:

* An **API Key**: Your Brave Search subscription token.

To get your API key:

1. Go to [api.search.brave.com](https://api.search.brave.com/) and sign up or log in.
2. Choose a subscription plan. Brave offers a free tier with limited queries per month.
3. Navigate to the [API Keys](https://api-dashboard.search.brave.com/app/keys) page in your dashboard.
4. Copy your API key and enter it as the **API Key** in your n8n credential.
