> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wednesdayai.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Brave Search

# Brave Search API

WednesdayAI uses Brave Search as the default provider for `web_search`. Brave Search is an
installable plugin; install it from the WednesdayAI plugin catalog:

```bash theme={"dark"}
wednesdayai plugins install brave-search
```

The `web_search` tool uses Brave Search automatically once the plugin is installed and
configured.

## Get an API key

1. Create a Brave Search API account at [https://brave.com/search/api/](https://brave.com/search/api/)
2. In the dashboard, choose the **Data for Search** plan and generate an API key.
3. Store the key in config (recommended) or set `BRAVE_API_KEY` in the Gateway environment.

## Config example

```json5 theme={"dark"}
{
  tools: {
    web: {
      search: {
        provider: "brave-search",
        apiKey: "BRAVE_API_KEY_HERE",
        maxResults: 5,
        timeoutSeconds: 30,
      },
    },
  },
}
```

## Notes

* The Data for AI plan is **not** compatible with `web_search`.
* Brave provides a free tier plus paid plans; check the Brave API portal for current limits.

See [Web tools](/tools/web) for the full web\_search configuration.
