Skip to main content
Read the Notte skill and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
Use the 1Password SDK to read login fields and fill them in a Notte browser. The Python and TypeScript examples submit a test form without printing the field values.

Set up

Create a 1Password service account with read access to a test vault containing a dummy Login item. Set OP_SERVICE_ACCOUNT_TOKEN, OP_USERNAME_REF, and OP_PASSWORD_REF. Field references use op://vault/item/field; see 1Password’s reference syntax. Set NOTTE_API_KEY from Notte, then clone the Notte repository and open examples/onepassword. Its README includes the installation commands.
Use Python 3.11+ and uv. Run uv sync --locked, then uv run python python/demo.py.

Use your login page

The example fills and submits an in-memory test form. Reuse its fill_login or fillLogin helper on your page and adapt the labeled field and button locators. It resolves only the two supplied references. Each attempt owns its Notte browser and closes it after success or failure. The result includes the session ID and submission status.