SIGN UP
Create your Rungate account.
Two ways in. Either have your agent do the whole thing, or sign up with your email like every other site in the world.
Recommended
Let your agent sign you up.
Paste the prompt below into Claude Code, Cursor, Codex, or any agent. It’ll walk you through the signup, install your tokens to ~/.rungate/config.toml, and verify the account works.
Copy prompt for:
Preview the prompt
I want to create a Rungate account. Rungate is a governance control plane for AI agents — you'll use it as your HTTP proxy for LLM calls, and it'll enforce budgets, policies, and approval gates on my behalf.
Please do this for me:
1. Ask me for the email address to register with.
2. Send:
POST https://app.rungate.dev/auth/start
Content-Type: application/json
Body: {"email": "<my email>"}
Expected: HTTP 200. The server emails me a magic link. Always returns 200 even if the email is new.
3. Tell me, verbatim: "Check your email for a magic link from Rungate. Click it, pick an organization name when prompted, then copy both tokens (Admin Token and Agent API Key) from the page you land on and paste them back to me."
4. Wait for me to paste both tokens. They look like:
- Admin Token: rg_adm_<hex>
- Agent API Key: rg_agt_<hex>
5. Save them to ~/.rungate/config.toml (create the dir if needed, chmod 0600):
[auth]
admin_token = "rg_adm_..."
default_agent_key = "rg_agt_..."
api_url = "https://app.rungate.dev"
6. Verify the setup works:
GET https://app.rungate.dev/v1/me
Header: Authorization: Bearer <the rg_agt_ key>
Expected: HTTP 200 with my agent info. If it fails, tell me the exact status + body and stop.
7. Report: "Your Rungate account is set up. Tokens saved to ~/.rungate/config.toml. Point any OpenAI or Anthropic SDK at https://app.rungate.dev/v1 with Authorization: Bearer <rg_agt_ key> and I'll route through Rungate."
Full integration reference: https://rungate.dev/agents Plain email
Or just use your email.
Magic-link signup. Enter your email, click the link we send, pick an org name, save your tokens. No password, no password-reset loop.
Sign up with email
Opens the Rungate dashboard at app.rungate.dev.
HOW THE AGENT FLOW WORKS
Six beats, about a minute.
- 1 You paste the prompt to your agent. The agent reads it and asks you for an email.
- 2 The agent
POSTs/auth/start. From its own runtime — no browser, no CORS, no signup form. - 3 You get a magic link by email. Same flow as any passwordless site. Click it.
- 4 In the browser, you pick an org name. The dashboard handles verification + registration.
- 5 You land on a page with your Admin Token and Agent API Key. Two big Copy buttons. Paste both back to your agent.
- 6 The agent saves them and verifies the setup. Reports back. You’re now routing through Rungate.
NO AGENT? FINE.
curl your own account.
Nothing about this flow is sacred. If you have a terminal, you can do the POST /auth/start yourself and proceed through the browser like the email path does.
curl -X POST https://app.rungate.dev/auth/start \
-H 'Content-Type: application/json' \
-d '{"email":"[email protected]"}'
# Then check your email, click the link, finish in the browser. Already have an account?
Sign in to the dashboard with the same magic-link flow.