# Brave Search

The Brave Search plugin allows BoltAI to search for relevant information from the Internet using Brave Search API.

It works similarly to the [Web Search plugin](https://docs.boltai.com/docs/plugins/web-search). Instead of using the Google Programmable Search Engine, it uses Brave Search API instead.

### How to set up the Brave Search plugin?

1. Make sure you have generated a Brave Search API key. Go to [Brave Search API official page](https://brave.com/search/api/) to get started.
2. Go to Settings > Plugins > Brave Search. Select tab `Settings` then enter your API key.&#x20;

### How to use the Brave Search plugin?

It's similar to the Web Search Plugin.

1. Start a new chat. Choose an LLM that supports Function Calling (for example GPT-4o)
2. Enable the Brave Search plugin. Optionally, enable the Web Browsing plugin.
3. Enter your prompt. BoltAI should smartly decide if it needs to perform a web search.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.boltai.com/docs/plugins/brave-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
