Skip to main content
To get started with Browser Use you need to install the package and create an .env file with your API key.
ChatBrowserUse is optimized for browser automation. See the model benchmarks and current pricing, then get your API key here.

1. Installing Browser-Use

create environment
activate environment
install browser-use & chromium

2. Choose your favorite LLM

Create a .env file and add your API key.
We recommend starting with ChatBrowserUse, which is optimized for browser automation tasks. See the model benchmarks and current pricing. Get your API key here.
.env
On Windows, use echo. > .env
Then add your API key to the file.
See Supported Models for more.

3. Run your first agent

Custom browsers can be configured in one line. Check out browsers for more.

4. Going to Production

Sandboxes package agents, browsers, persistence, authentication, cookies, and LLMs into a managed runtime. To run in production with authentication, add @sandbox to your function:
See Browser Use Cloud for how to sync your cookies to the cloud.