> For the complete documentation index, see [llms.txt](https://docs.pagerly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagerly.io/sre-ai-agent/data-sources/web-search.md).

# Web Search

## What the Agent Can Do

* Search the web for known issues, error messages, and documentation
* Find Stack Overflow solutions, GitHub Issues, and community fixes
* Look up unfamiliar error codes or library-specific problems

## When Is This Useful?

During incident investigation, the agent may encounter an unfamiliar error message. With Web Search enabled, it can automatically look up the error to find known fixes — the same way an engineer would search Stack Overflow or GitHub.

## Setup Instructions

1. Go to <https://api.search.brave.com/>
2. Sign up for a free account (1,000 requests/month free)
3. Create an API key under **API Keys**
4. Copy the API key into the Pagerly dashboard

## Required Credentials

| Field                    | Description                       | Example  |
| ------------------------ | --------------------------------- | -------- |
| **Brave Search API Key** | API key from api.search.brave.com | `BSA...` |

{% hint style="info" %}
**The free tier** provides 1,000 requests per month, which is typically sufficient for most teams. Paid plans are available for higher volume.
{% endhint %}

## Docs

* [Brave Search API Documentation](https://api.search.brave.com/app/#/documentation)
