Get started

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.

Runs on Writ CloudWrit Desktop

Markdown Open in Claude Open in ChatGPT

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

  1. Start a new persona

    Open Personas under Vault and click New. Give it a name and the site it signs in to.

  2. Choose how Writ should sign in

    Pick one of four ways:

    OptionWhat happens
    Let Writ sign inYou 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 myselfA browser opens and you sign in by hand while Writ records the steps.
    Use an existing workflowPick a sign-in workflow you already recorded for this site.
    Don’t record a sign-inSaves the account only. The first task that needs it signs in with these credentials, and you can record the sign-in later.
  3. 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.

  4. 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.

  5. 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:

PlanLogins kept in the cloud
Free None: sign in on Writ Desktop
Starter 10
Pro 25
Growth 100
Scale Unlimited
Enterprise Unlimited

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.

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:

  1. 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.

  2. 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.

  3. 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:

A header in a workflow step
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.

Next