# Browser Use Cloud SDK > Browser Use Cloud is a managed API for AI browser automation. Send a natural-language task, get structured results back. SDKs for Python and TypeScript. Always use API v3 — v2 is legacy and uses different method names. Auth via `X-Browser-Use-API-Key` header (keys start with `bu_`). - Dashboard: https://cloud.browser-use.com - Create API key: https://cloud.browser-use.com/settings?tab=api-keys&new=1 - Docs: https://docs.browser-use.com - OpenAPI spec (v3): https://docs.browser-use.com/openapi.json (also at /cloud/openapi/v3.json; legacy v2: /cloud/openapi/v2.json) - Chat UI example: https://docs.browser-use.com/cloud/tutorials/chat-ui — Full end-to-end example with live browser, streaming, auth. Best starting point to build a prototype. - Open-source repo: https://github.com/browser-use/browser-use — The open-source Python library. Note: the open-source API is different from the Cloud SDK. If you want the easiest path to production with managed infrastructure, use the Cloud SDK below. **Always use v3.** v2 is legacy with different method names and should not be used for new projects. Before writing code, check if `browser-use-sdk` is already installed. If so, upgrade to the latest version. If not, install it: - Python: `pip install --upgrade browser-use-sdk` - TypeScript: `npm install browser-use-sdk@latest` Set API key (starts with `bu_`). If the user doesn't have one yet, they can create one in one click at https://cloud.browser-use.com/settings?tab=api-keys&new=1: ``` export BROWSER_USE_API_KEY=bu_your_key_here ``` ## Get Started - [Introduction](https://docs.browser-use.com/cloud/introduction): AI browser agents that run on stealth cloud browsers — one API key, driven as much or as little as you want. - [Open source vs Cloud](https://docs.browser-use.com/cloud/open-source-vs-cloud): The library and the cloud are different products that combine. Here's which one you want. - [Quick start](https://docs.browser-use.com/cloud/quickstart): State-of-the-art AI browser automation with stealth browsers, CAPTCHA solving, residential proxies, and managed infrastructure. - [Pricing & free tier](https://docs.browser-use.com/cloud/pricing): Browser Use Cloud plans, the free tier (no card required), and every usage-based rate. - [Prompt for Vibecoders](https://docs.browser-use.com/cloud/vibecoding): Complete Cloud SDK reference for AI coding agents. ## Agent - [Overview](https://docs.browser-use.com/cloud/agent/overview): The hosted agent takes a task in plain language and drives a stealth browser until it's done. - [Introduction](https://docs.browser-use.com/cloud/agent/quickstart): Easiest way to automate the web. Tell this agent in natural language what it should do, and it can interact with the web like a human. - [Sessions](https://docs.browser-use.com/cloud/agent/sessions): One cloud browser plus the tasks an agent runs inside it. - [Models](https://docs.browser-use.com/cloud/agent/models): Choose the right model for your task. - [Structured output](https://docs.browser-use.com/cloud/agent/structured-output): Get validated, typed data back from agent tasks. - [Follow-up tasks](https://docs.browser-use.com/cloud/agent/follow-up-tasks): Run multiple tasks in the same browser session. - [Live messages](https://docs.browser-use.com/cloud/agent/streaming): Stream the agent's messages in real time to build custom UIs or monitor progress. - [Workspaces & files](https://docs.browser-use.com/cloud/agent/workspaces): Upload files for the agent, download files the agent creates. - [Deterministic rerun](https://docs.browser-use.com/cloud/agent/cache-script): Run a task once, then re-execute it for $0 LLM cost. - [Human in the loop](https://docs.browser-use.com/cloud/agent/human-in-the-loop): Let a human interact with the live browser while the agent is running. Useful for approvals, payments, complex auth flows, or reviewing agent work before continuing. ## Browser - [Overview](https://docs.browser-use.com/cloud/browser/overview): Remote stealth browsers you control over CDP. What they are and when to use one. - [Create a browser session](https://docs.browser-use.com/cloud/browser/create): Every way to start a cloud browser: SDK, REST, or a single WebSocket URL, with all parameters and the response schema. - [Manage browser sessions](https://docs.browser-use.com/cloud/browser/sessions): Session lifecycle: states, timeouts, stopping, disconnect behavior, and what you're billed for. - [Stealth](https://docs.browser-use.com/cloud/browser/stealth): Best stealth on the planet. We fork Chromium to give agents access to all websites. - [CAPTCHA Solving](https://docs.browser-use.com/cloud/browser/captcha): Browser Use remote browsers solve CAPTCHAs automatically, on by default, on every plan. - [Proxies](https://docs.browser-use.com/cloud/browser/proxies): Residential proxies in 195+ countries. On by default. - [Screenshots](https://docs.browser-use.com/cloud/browser/screenshots): Take viewport and full-page screenshots from a cloud browser session, and control where they're saved. - [Live preview & recording](https://docs.browser-use.com/cloud/browser/live-preview): Watch the agent's browser in real time. Embed it in your app. - [Cloud browser + open source agent](https://docs.browser-use.com/cloud/browser/open-source-agent): Run the open-source Browser Use agent on a cloud stealth browser. Your code, our infrastructure. ## Automation frameworks - [Playwright](https://docs.browser-use.com/cloud/browser/playwright): Connect Playwright to a remote stealth browser over CDP — Python and TypeScript. - [Puppeteer](https://docs.browser-use.com/cloud/browser/puppeteer): Connect Puppeteer to a remote stealth browser with browserWSEndpoint. - [Selenium](https://docs.browser-use.com/cloud/browser/selenium): Run Selenium-style automation on Browser Use's stealth browsers — and why to bridge through CDP. ## Authentication - [Profiles](https://docs.browser-use.com/cloud/guides/authentication): Persistent browser state — cookies, localStorage, saved passwords. Login once, reuse across sessions. - [Profiles / Cookie sync](https://docs.browser-use.com/cloud/guides/profile-sync): Profiles carry cookies and login state across sessions — sync them from your local browser or reuse them in the cloud. - [2FA](https://docs.browser-use.com/cloud/guides/2fa): Best practices for handling two-factor authentication in automated browser sessions. ## More - [FAQ](https://docs.browser-use.com/cloud/faq): Common questions and solutions. ## Platform features - [Webhooks](https://docs.browser-use.com/cloud/guides/webhooks): Receive real-time notifications when tasks complete. Configure webhook endpoints for async task monitoring. - [x402 (pay-per-request)](https://docs.browser-use.com/cloud/guides/x402): Pay for Browser Use Cloud with crypto (USDC on Base). ~30 seconds from wallet to first request. ## Integrations - [MCP Server](https://docs.browser-use.com/cloud/guides/mcp-server): Run browser automation tasks from your AI coding assistant. Connect to Claude, Cursor, Windsurf, or any MCP client. - [Claude Code](https://docs.browser-use.com/cloud/tutorials/integrations/claude-code): Give Claude Code cloud browser automation with Browser Use. - [Claude Managed Agents](https://docs.browser-use.com/cloud/tutorials/integrations/claude-managed-agents): Give Anthropic's Claude Managed Agents a stealth cloud browser via the Browser Use CLI. - [OpenClaw](https://docs.browser-use.com/cloud/tutorials/integrations/openclaw): Give OpenClaw agents browser automation with Browser Use — via CDP or the CLI skill. - [Hermes Agent](https://docs.browser-use.com/cloud/tutorials/integrations/hermes-agent): Give Hermes Agent cloud browser automation with Browser Use. - [n8n](https://docs.browser-use.com/cloud/tutorials/integrations/n8n): Use Browser Use as an HTTP node in n8n workflows. ## Tutorials - [Chat UI](https://docs.browser-use.com/cloud/tutorials/chat-ui): Full end-to-end example. Build a chat UI with live browser preview, follow-up tasks, recording, and streaming messages. - [Agent Sign Up for Browser Use](https://docs.browser-use.com/cloud/agent-signup): How the Browser Use agent challenge lets an AI agent create a free account and API key. - [Grow Therapy provider search](https://docs.browser-use.com/cloud/tutorials/grow-therapy-compare): Search Grow Therapy for therapists by location, insurance, and specialty — with cached reruns. ## Legacy (v2) - [Agent (v2)](https://docs.browser-use.com/cloud/legacy/agent): V2 agent models and file handling. - [Public share links (v2)](https://docs.browser-use.com/cloud/legacy/public-share): Generate shareable URLs for agent sessions using the v2 API. - [Skills](https://docs.browser-use.com/cloud/legacy/skills): Turn any website into a deterministic API endpoint. Create once, call repeatedly. - [1Password & 2FA](https://docs.browser-use.com/cloud/guides/1password): Auto-fill passwords and TOTP codes from 1Password during agent tasks. - [Secrets](https://docs.browser-use.com/cloud/guides/secrets): Pass domain-scoped credentials to the agent securely. ## API v4 - [API Reference](https://docs.browser-use.com/cloud/api-v4-overview): Authenticate and start using the Browser Use API v4 — the current REST API for long-horizon agents. ## API v3 - [API Reference](https://docs.browser-use.com/cloud/api-reference): Authenticate and start using the Browser Use REST API. ## API v2 - [API key](https://docs.browser-use.com/cloud/api-v2-overview): Set your API key to access the Browser Use v2 REST API.