Introduction
Securely log into websites using the 1Password Chrome extension in a Browserbase session.
Overview
By the end of this guide, your Browserbase agent will use the 1Password Chrome extension to log into a website—without hardcoding credentials into your code.
You’ll learn how to:
- Upload and launch the 1Password Chrome extension inside your Browserbase session.
- Authenticate into your 1Password account using your email, password, and secret key.
- Automatically log into a website using credentials stored in your vault.
When You’d Use This
Use the 1Password integration when you need to:
- Automate logins without storing raw credentials in code or environment files.
- Give your agent access to credentials in a secure, auditable way.
- Rotate passwords in your vault without updating scripts.
- Share access across team members without exposing sensitive data.
This is ideal for:
- Testing logins on staging environments
- Monitoring tools that need to log into internal dashboards
- AI agents that manage or navigate multiple accounts
Setting Up a Vault for Your Agent
To get started, create a dedicated vault inside your 1Password account:
- Open 1Password and go to Vaults.
- Click New Vault, and name it something like
Browserbase Agent
. - Add login credentials you want your agent to access (e.g. for your test or production environments).
- (Optional) Share the vault with your team or service account for easier collaboration.
Your agent will only be able to access credentials from this vault once it’s authenticated through the extension during the session.
Prerequisites
Before you start, make sure you have:
- Browserbase project ID and API key
- A 1Password account with:
- Password
- Secret key
- The 1Password Chrome extension installed locally on your machine
Next, let’s walk through setting up and uploading the extension.