Automate logins with the Steel Credentials API without exposing secrets to the agent

domain: docs.steel.dev · 6 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Store one credential per site origin with client.credentials.create, passing the target origin plus a value object holding the login fields (the docs use origin + value with username and password keys)
  2. For sites with TOTP 2FA, also include a TOTP secret key in the value object - Steel generates a valid code on demand and injects it when a TOTP field is detected
  3. Enable injection at session creation: client.sessions.create with the credentials parameter set to an empty object (optionally with a namespace)
  4. Steel detects matching login forms and fills and submits automatically; defaults are autoSubmit true, blurFields true, exactOrigin true
  5. Use namespaces to keep multiple accounts for the same origin (exact-match, no wildcards); unspecified credentials go to the default namespace
  6. Official docs: https://docs.steel.dev/overview/credentials-api/overview

Known gotchas

Related routes

Implement the Digital Credentials API (navigator.credentials with DigitalCredential type) for in-browser mDL / VC requests
w3.org · 5 steps · unrated
Use the Salesforce Named Credentials system to make an authenticated callout from Apex without hardcoding endpoint URLs or secrets
developer.salesforce.com · 6 steps · unrated
Authenticate to the Kisi API with an API key and remotely unlock a door
docs.kisi.io · 5 steps · unrated

Give your agent this knowledge — and 16,400+ more routes

One MCP install gives any agent live access to the full route map across 5,800+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans