1
Get your Browserbase credentials
Go to the Dashboard’s Settings tab:
Copy your API Key. If you still rely on a Project ID for older workflows, keep that available as well.Don’t have an account yet? Sign up at browserbase.com.

2
Choose model credentials
For browser agents, you can use Browserbase Model Gateway with only your Browserbase API key. Model Gateway lets you switch between supported models in the node. Browserbase bills model usage at market rate through your Browserbase account.You can also bring your own API key from the model provider whose models you’ll use. Choose one:
- Google: Google AI Studio
- OpenAI: OpenAI Platform
- Anthropic: Anthropic Console
3
Install the community node
In your n8n instance:
- Go to Settings > Community Nodes
- Click Install a community node
- Enter
n8n-nodes-browserbase - Click Install
Requires n8n v1.60.0 or later. If you’re self-hosting, make sure your instance is up to date.
4
Configure credentials
- Go to Credentials > Add Credential
- Search for “Browserbase” and select Browserbase API
- Fill in the three fields:
- Click Save
All Browserbase nodes in your workflows use these credentials. You only need to set them up once.
5
Add the Browserbase node
- Create a new workflow (or open an existing one)
- Click + to add a node and search for “Browserbase”
- Select the Resource you want to use:
6
Configure the Agent resource
To run a browser agent, choose Resource = Agent and configure the required fields:
7
8
Run your workflow
Click Test Workflow to execute. When When
Resource = Agent, the node returns an AgentResult object:Resource = Search or Fetch, the node returns the corresponding Search or Fetch API response, which you can pass to downstream n8n nodes.You can connect additional nodes to process any of these outputs. Send them to a database, spreadsheet, Slack channel, or any other n8n integration.Optional settings
Browser options
Session options
Agent options
Example workflows
Agent: data extraction- Starting URL:
https://news.ycombinator.com - Instruction:
Find the top 3 stories and return their titles and URLs
- Starting URL:
https://example.com/contact - Instruction:
Fill out the contact form with name %name% and email %email%, then submit - Variables:
name = John Doe,email = john@example.com
- Starting URL:
https://github.com - Instruction:
Search for "stagehand" and click on the first repository result
- Query:
browserbase documentation - Number of Results:
5
- URL:
https://www.browserbase.com - Follow Redirects:
true
View on GitHub
Browse the source code, report issues, or contribute to the n8n community node.