Build Sign-ins and sites 10 / 11
Sign-ins and secrets
Let Writ act as you on sites behind a login: personas, 2FA codes and the secrets vault.
On this page
A persona is a saved sign-in for one site: the account, its password, its two-factor setup and a signed-in session that Writ keeps fresh. Your APIs, monitors, harvests and AI assistant use it to act as you on pages behind a login, without ever asking you for the password again. Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.
Create a persona
-
Start a new persona
Open Personas under Vault and click New. Give it a name and the site it signs in to.
-
Choose how Writ should sign in
Pick one of four ways:
Option What happens Let Writ sign in You enter the username and password. Writ signs in once, handles redirects and records the steps, so it can sign in again by itself when the session expires. Record the login myself A browser opens and you sign in by hand while Writ records the steps. Use an existing workflow Pick a sign-in workflow you already recorded for this site. Don’t record a sign-in Saves the account only. The first task that needs it signs in with these credentials, and you can record the sign-in later. -
Set up two-factor codes
If the site asks for a code after the password, choose where the code comes from, as described in the next section. Pick No verification if it does not.
-
Pick the network (Writ Cloud)
Residential when needed uses a residential connection only where a run needs one, such as a sign-in. Always use a residential IP sends every run through one, from the country you choose. Residential traffic costs 7 credits per MB. On Writ Desktop there is no such step: runs use your own connection.
-
Create it
Check the summary and click Create the persona. Credentials are encrypted and never shown again, to you or to an AI.
Logins kept in Writ Cloud need Starter or higher. The number you can keep depends on your plan:
| Plan | Logins kept in the cloud |
|---|---|
| Free | None: sign in on Writ Desktop |
| Starter | 10 |
| Pro | 25 |
| Growth | 100 |
| Scale | Unlimited |
| Enterprise | Unlimited |
Personas on Writ Desktop are free and unlimited on every plan, with or without an account. The fastest way to make them is to import the sites you are already signed in to:
- Open Settings → General → Import logins and click Import from browser.
- Pick a Chrome, Edge or Firefox profile. Close that browser first for the most complete import.
- Select the signed-in sites to bring over, up to 50 at a time. Each one becomes a persona.
Writ never reads your saved passwords. It copies only the live session of each site you choose and stores it encrypted on your computer. Firefox imports bring cookies only, so some sites may ask you to sign in once.
Two-factor codes
When a site sends a code, Writ can get it in one of three ways:
- Authenticator (TOTP): Writ makes the 6-digit codes itself, like an authenticator app. Scan a QR code from the site's setup page (a screenshot works) or Paste a secret, then click Test 2FA now and compare the code with your own app.
- Code by email: connect the mailbox that receives the codes with Google (Gmail) or Microsoft (Outlook), or over IMAP with an app password. Or pick the forwarding relay: the persona gets its own address, and you add a rule in your mailbox that forwards only the code emails to it. Writ reads only new verification emails and cannot send email.
- Code by SMS: the persona gets a forwarding address and a webhook URL. Point an SMS-forwarding app on your phone at one of them.
Writ uses a code only during sign-in and forgets the message minutes later. To move accounts you
already have in an authenticator app, click Import 2FA on the Personas page. Upload a
screenshot of a Google Authenticator export (in the app: Export accounts), or paste otpauth:// links from apps such as 2FAS, Aegis or Bitwarden, then pick which accounts become personas.
Where your sign-ins live
Passwords, 2FA secrets and sessions are encrypted in your organization's vault. Writ never returns them in plain text. Personas run only on Writ Cloud's trusted servers: a local agent you connect never receives persona secrets.
Everything stays on your computer, encrypted in Writ Desktop's vault. A run signed in as a Desktop persona runs on that computer. If you link a Writ Cloud account, the cloud can ask your computer to run a workflow, but the sign-in itself never leaves it.
To use a persona, attach it to an API, a monitor or a harvest, or pick it when you build. Writ checks that the session is still signed in and signs in again with the recorded steps when it has expired.
When your AI assistant needs a login
Never paste a password or a code into a chat. When your AI assistant needs you signed in to a site and no persona exists, it sends you a link instead:
-
The assistant asks for a persona
It looks for a persona for the site. If there is none, it passes on a short message and a link to a Writ form.
-
You fill in the form yourself
The link opens the persona form in Writ, where you enter the login. Nothing you type there passes through the chat.
-
The assistant carries on
It waits until the persona exists, then uses it. It sees the persona's name and id, never the password.
Your assistant does this with the writ_personas tool. When a site asks for a code that Writ
cannot get by itself, it uses writ_browser_ask_user: you type the code in the Writ app and
Writ enters it, so the code does not reach the AI.
Secrets vault
The Secrets page keeps the API keys, tokens and logins your workflows use, apart from personas. Click New, pick a category, give it a Reference name (it cannot change later) and enter the value. It is encrypted before storage and never shown again.
To use a secret, click Copy reference and paste it in any step field. Writ replaces the reference with the value at run time, so the value never appears in the workflow:
Authorization: Bearer {{vault:stripe_production_key}} - A login secret can be linked to a persona, so the persona keeps a stable session without exposing the password.
- Deploy to an agent sends an encrypted copy to one of your own machines, so a workflow that runs there and its data stay on that device.
- External Providers lists the outside secret stores your organization connected: AWS Secrets Manager, HashiCorp Vault, Azure Key Vault or GCP Secret Manager, each with its connection status.
Payment cards
Automations and your AI assistant can buy things for you with cards you control. Writ never shows or shares a card number: an AI only ever sees the card's brand and last four digits.
Payment methods under Vault is part of Pro and up. Add a virtual card limited to one store, a card saved in Writ, or a card that stays on your computer in Writ Desktop. For each card you set the sites where it can pay, the most one purchase can cost, who can choose it, and when a purchase waits for your approval with your second factor. Freeze a card to refuse every purchase until you unfreeze it.
Cards under Vault keeps payment cards on your computer, sealed in Writ's vault. Writ types the card into a checkout only on an allowed site, for a purchase you approved. To let Writ Cloud automations and your connected AI ask to use a card, turn on Allow cloud use and list its Allowed sites. The cloud sees only the label, brand, last four digits and expiry.