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

# Claude Code

> Give Claude Code cloud browser automation with Browser Use.

[Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview) is Anthropic's agentic coding tool that runs in the terminal. Add Browser Use and it gets full cloud browser automation — anti-detect profiles, CAPTCHA solving, residential proxies in 195+ countries, persistent profiles, and stealth browsing.

## Setup

**1. Install the CLI**

```bash theme={null}
uv tool install browser-use
```

**2. Verify the installation**

```bash theme={null}
browser-use doctor
```

**3. Register the skill**

Register the Browser Use skill with the installed CLI:

```bash theme={null}
browser-use skill install
```

**4. Authenticate for cloud browsers**

Sign up at [cloud.browser-use.com](https://cloud.browser-use.com), then authenticate:

```bash theme={null}
browser-use auth login
```

Or let Claude Code provision a free API key itself — see [Agent Self-Registration](#agent-self-registration) below.

**5. Use it**

Claude Code uses its bash tool to run CLI commands directly:

```
> Use browser-use to open github.com/trending and summarize the top repos
```

For the complete CLI reference and Python execution examples, see the [Browser Use CLI docs](https://docs.browser-use.com/open-source/browser-use-cli).

## Agent Self-Registration

Claude Code can provision its own Browser Use API key autonomously — no human interaction needed. The free tier includes unlimited browser hours, free proxies in 195+ countries, persistent browser profiles, CAPTCHA solving, and stealth browsing at zero cost.

Install the Browser Use CLI and skill:

```bash theme={null}
uv tool install browser-use
browser-use skill install
```

Claude Code can follow the [REST flow](/cloud/agent-signup#rest-flow) to request and verify a challenge, then put the returned key in its shell environment:

```bash theme={null}
export BROWSER_USE_API_KEY=bu_...
browser-use auth status
```

### Claim the account (optional)

If the human wants to see the account in the dashboard later, use the [claim endpoint](/cloud/agent-signup#claim-the-account). The returned claim URL is valid for 1 hour.
