Skip to main content
By the end of this guide, your Browserbase agent will use 1Password to log into a website, without hardcoding credentials into your code. You’ll learn how to:
  1. Set up a 1Password vault for your credentials
  2. Create a 1Password Service Account for programmatic access
  3. Use the 1Password SDK to retrieve credentials from your vault
  4. Automate website logins in your Browserbase session

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

Prerequisites

Before you start, make sure you have:
The quickstart guide will walk you through creating a Service Account and setting up your vault.

Quickstart guides

Follow the guide

Follow the step-by-step quickstart guide to use your 1Password Service Account to automate your first login.