Persist login sessions with Profiles
Create a Notte Profile once, save authenticated browser state, and reuse it to access logged-in pages without repeating login.
Last updated
Run this template
Clone just this template, configure Notte, and start the run.
- Have
NOTTE_API_KEYready. Generate an API key.
Credential flow
- Creating a browser profile with the Notte SDK.
- Saving authenticated browser state with persist=True.
- Reusing the same profile in a later session.
- Scraping authenticated application data without replaying the login flow.
Frequently asked questions
How do I keep an AI agent logged in across browser sessions?
Create a Notte Profile once, log in inside a browser session started with that profile and persist=True, and the authenticated browser state is saved. Every later session started with the same profile opens already logged in, so the agent never replays the login flow.
What does a Notte Profile save?
A profile is a saved snapshot of a session's browser state: cookies, localStorage, sessionStorage and cache. Notte is a cloud browser platform for AI agents, so the profile lives with your Notte account and can be attached to any new cloud browser session.
What is a browser profile for AI agents?When should I use a Profile instead of a Vault?
Use a Profile when a site should stay logged in between runs and the login is done once, by you or by an agent. Use a Vault when the agent has to sign in again on each run: the Vault stores the credentials and fills them without hardcoding secrets in your script.
Log in with Vault credentials template