Skip to main content
STOP. Do not read past this section until you have read and followed /quickstart.md.Goal: produce a reliable SDK automation script. The intended authoring flow is generate then edit, not write browser automation from scratch.Do not hand-write SDK code with element IDs, selectors, or form fields from memory. Element IDs, selectors, and field mappings must come from a live observe() call, CLI notte page observe output, or generated workflow code. Guessed browser targets fail on real pages.Use the Notte skill and CLI to inspect the live site, validate actions/selectors, handle auth/session state, and export workflow code with notte sessions workflow-code before using SDK docs or SDK code.SDK reference pages are for understanding, running, or editing generated workflow code. They are not the starting point for manually authoring the initial browser automation. SDK-first code is guesswork on real-world pages with dynamic selectors, auth state, CAPTCHAs, and anti-bot behavior.
Source: node-sdk/src/personas.ts Self-service identities for web automation (account creation, 2FA, etc.) Notte Personas provide automated identity management for AI agents, enabling them to create accounts, handle two-factor authentication, and interact with web platforms without manual intervention. Notte Personas come with complete digital identities:
  • Unique Email Address: Dedicated mailbox for each persona with full email management
  • Phone Number: SMS-capable phone number for verification and 2FA
  • Credential Vault: Optional secure storage for passwords and authentication tokens
  • Automated Communication: Built-in email and SMS reading capabilities
  • 2FA Support: Seamless handling of two-factor authentication flows

Create NottePersona

Use NotteClient.Persona to create this object from your configured client.
PersonaConstructor

Usage

  • delete: Delete the persona from the notte console
  • addCredentials: Add credentials to the persona (generates a password and stores it in the vault)
  • emails: Read recent emails sent to the persona
  • sms: Read recent SMS messages sent to the persona
NotteClient
required
PersonaConstructor
Default:

info

Get persona info

vault

Get vault (cached property equivalent)

hasVault

Check if persona has a vault

personaId

Get persona ID

email

Public, human-readable email address of the persona

internalEmail

Internal UUID-backed mailbox address of the persona