Skip to main content
Stop logging in from scratch on every run. Browser Context Profiles let TinyFish save browser state — cookies, local storage, and session storage — and reuse it later. Recurring automations can start where a real returning user would: already signed in, with the right workspace, preferences, and site context loaded.
Browser Context Profiles are not Browser Profiles. Browser Profiles choose the runtime mode with browser_profile: "lite" | "stealth". Browser Context Profiles save session state across runs.

Use the API

Create and run with Browser Context Profiles programmatically

Vault Credentials

Add stale-session repair

The flow

1. Set up once

Open a setup browser, sign in, and save the session.

2. Run many times

Reuse saved state so recurring runs start authenticated.

3. Repair when stale

Add Vault so TinyFish can log back in if the session expires.

Set up a Browser Context Profile

  1. Go to Browser Context Profiles in the TinyFish dashboard.
  2. Click Create Profile.
  3. Name the profile.
  4. Optional: mark it as the default profile.
  5. Optional: choose a proxy location for the profile.
  6. Click Create and set up.
  7. Sign in to the target site in the setup browser.
  8. Save the setup session.
Use one Browser Context Profile per account or environment, such as Salesforce Production and Salesforce Sandbox.

Use a Browser Context Profile

  1. Open the Playground.
  2. Click the profile icon in the toolbar.
  3. Turn on Use Browser Context Profile.
  4. Choose a profile, or use your default profile.
  5. Run the automation.
If no profile exists, click Go to Browser Context Profiles to create one first.

Manage Browser Context Profiles

On the Browser Context Profiles page, you can:
  • Rename Browser Context Profiles
  • Set a default Browser Context Profile
  • Copy a profile ID
  • View saved domains
  • Set or clear a profile proxy location
  • Upload cookies manually
  • Delete individual domains
  • Delete Browser Context Profiles
You cannot delete your only active profile. Create another profile first.

Browser Context Profiles + Vault

The best authenticated setup is Browser Context Profiles plus Vault Credentials.

Browser Context Profiles

Keep persistent logged-in browser state across runs.

Vault

Provide matching credentials when a login form appears.

Together

Repair stale sessions instead of logging in cold every run.
Use this pairing for authenticated workflows where sessions expire over time. The Browser Context Profile starts the run with saved state. If that state has gone stale and a matching Vault credential is available, TinyFish can sign in again and refresh the profile state for future runs.
{
  "url": "https://app.example.com/dashboard",
  "goal": "Check the dashboard and summarize anything urgent",
  "use_profile": true,
  "use_vault": true
}
1

Start with saved state

TinyFish opens the site with the cookies and storage saved in the Browser Context Profile.
2

Detect stale login

If the site asks for login again, the agent proceeds through the normal login flow.
3

Repair with Vault

When use_vault: true is set and a matching credential exists, TinyFish can use it to restore the session and keep future profile runs healthy.
Start with Browser Context Profiles for persistence, then add Vault for stale-session repair. This is usually more reliable than asking the agent to log in from scratch on every run.

When to use Browser Context Profiles

Use Browser Context Profiles when…Start fresh when…
A run should stay logged inThe site is public or anonymous
You repeat the same workflow oftenBrowser history or cookies would bias the result
Logging in every run is slow, fragile, or MFA-heavyThe task must prove it can work from a blank browser
The account has site preferences, workspace context, or saved filtersYou are testing a first-time visitor flow

Proxies and stealth mode

Browser Context Profiles answer “what state should this run start with?” Proxies and Browser Profiles answer “how should the browser connect and behave?”
CapabilityUse it for
Browser Context ProfileReusing saved cookies and storage
Profile proxy locationKeeping a logged-in session tied to one country
Per-run proxyChoosing a location for one run when the profile has no proxy location
browser_profile: "stealth"Using the anti-detection browser runtime
Choose a profile proxy location when a logged-in session should consistently come from the same country. Leave it blank when location should be decided per run with Proxies. Use Browser Profiles when you need lite or stealth runtime mode.

Limits and expectations

LimitWhat to expect
Account scopeBrowser Context Profiles are scoped to your TinyFish account and API key owner
Session expirySites can still expire cookies, require MFA, or force re-authentication
CAPTCHABrowser Context Profiles reduce repeated-login friction, but do not solve reCAPTCHA or hCaptcha
Fresh-browser tasksDisable use_profile when the run should start with no saved state

Next steps

Browser Context Profiles API

Manage profiles programmatically

Vault Credentials

Add stale-session repair

Browser Profiles

Choose lite or stealth runtime mode