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:

  1. Upload and launch the 1Password Chrome extension inside your Browserbase session.
  2. Authenticate into your 1Password account using your email, password, and secret key.
  3. 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:

  1. Open 1Password and go to Vaults.
  2. Click New Vault, and name it something like Browserbase Agent.
  3. Add login credentials you want your agent to access (e.g. for your test or production environments).
  4. (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:

Next, let’s walk through setting up and uploading the extension.

Quickstart Guides