Skip to main content
If you store credentials and TOTP/2FA codes in 1Password, the agent can use them automatically. It retrieves matching credentials from your connected vault and handles the full login flow — including generating and entering 2FA codes. When to use this:
  • You have credentials stored in 1Password and want zero-touch login
  • The site requires TOTP/2FA that would normally need manual intervention
  • You want credentials to never appear in agent logs (they’re filled programmatically)
from browser_use_sdk import AsyncBrowserUse

client = AsyncBrowserUse()
result = await client.run(
    "Log into Jira and create a bug ticket titled 'Login page broken'",
    op_vault_id="your-vault-id",
    allowed_domains=["*.atlassian.net"],
)
print(result.output)
Passwords and TOTP/2FA codes are auto-filled from your vault. Raw credentials never appear in logs — the agent only sees a placeholder indicating it has access.
Requires a 1Password service account connected to Browser Use Cloud. See Authentication & 2FA for setup steps.