Your browser agent can open a page, read it, scrape it, and click through a flow. Then it reaches a sign-in page and stops.
So you work around it. Your script types the password from an env var, you save a signed-in profile and hope the session doesn't expire, you type it in yourself, or you paste it into the prompt and now it's in the chat history.
Today we're launching Credentials. Your agent signs in without being handed the password. Store a login as a credential once, Steel signs your agent in automatically, only on the sessions you want, and the values are write-only so not even you can read them back.
How should your browser agent sign in?
Best for trying it out, or the one site your agent needs.
- In the Steel dashboard, go to Credentials → New credential, enter the site's origin, username and password, and save. Steel encrypts it and never shows it again.
- Start a session with credentials turned on:
const session = await client.sessions.create({ credentials: {} }); - Send your agent to the site's sign-in page. Steel fills the form and submits it.
The Credentials docs have the full example.
Best for many logins such as one set per customer. A session can only use the Vaults you give it so one customer's session can never fill another customer's login.
- In the dashboard, go to Credentials → Vaults → New Vault, and add your logins to it.
- Give a session the Vault:
const session = await client.sessions.create({ credentials: { bindings: ["steel://vaults/acme-prod"] }, }); - Send your agent to any site in the Vault. Steel fills the login for that site and submits it, and logins you add to the Vault later work too.
The Vaults docs show you how.
Best for teams whose logins already live in 1Password or HashiCorp Vault. Steel reads a login when a session needs it and never keeps a copy so a password rotated there is the one that fills next time.
- In the dashboard, go to Credentials → Connections, and connect 1Password or HashiCorp Vault to your project.
- Test the connection to check that Steel can reach your provider.
- Give a session one of its vaults:
const session = await client.sessions.create({ credentials: { bindings: ["steel://connections/work/vaults/Shared"] }, });
The Secret Connections docs show you how.
What changed since Beta
2.6×
more clean sign-ins
0
wrong fills vs. 30
27 ms
to find the form on a 2,000-field page vs. 1.8 s
In the Beta sent the browser the whole login, and the browser generated one-time codes itself. Now the browser asks for one field at a time, and one-time codes are made on Steel's servers with the seed never leaving them.
Upgrading from the beta? If you use exactOrigin: false, your logins might not fill as you expect. Rebuilding Credentials explains what changed, why it did, and what to do.
Tell us what breaks
Sign-in pages are endlessly creative and we haven't seen them all. Try Credentials on the sites your agent actually uses and tell us what happens: the ones that signin cleanly and especially the ones that don't. Share with us on X or Discord.