Browserbase Identity

Programmable identities for browser automation.
Email inboxes, vault credentials, and wallet — with one SDK.

$ npm install @browserbase/identity
PlaygroundDesktop AppManage Identities
example.ts
import { BrowserbaseIdentity } from '@browserbase/identity';

const bb = new BrowserbaseIdentity({ apiKey: 'bbc_...' });

// Create an email identity for your bot
const identity = await bb.identities.create({
  name: 'Signup Bot',
  type: 'email',
});
// → signup-bot-a1b2c3d4@browserbase.agent

// Resolve credentials from a team vault
const { credential } = await bb.credentials.resolve('github.com');
// → { username, password, totp }

// Wait for an MFA verification code
const code = await bb.email.waitForCode(identity.id, {
  from: 'noreply@github.com',
  timeout: 60_000,
});
// → '482901'

v0.1.0 · Zero dependencies · Node 18+