How AI Agents Can Sign Up for Services Autonomously
The biggest blocker for autonomous AI agents isn't intelligence — it's infrastructure. When your agent needs an API key, it has to stop and wait for a human to sign up.
Portal solves this. Here's how autonomous service signup works.
The Problem
Your AI agent is building a feature that needs to send emails. It knows it needs Resend. But:
1. Agent can't create a Resend account 2. Agent can't verify an email address 3. Agent can't extract the API key 4. Human has to do all of this manually
This breaks the autonomous loop and defeats the purpose of having an agent.
The Solution: Autonomous Signup
Portal handles the entire signup flow:
1. Agent requests a signup via API 2. Portal creates an account automatically 3. Portal verifies email (using managed addresses) 4. Portal extracts and returns credentials 5. Agent continues working with API key
Total time: ~20-30 seconds. No human required.
How It Works
Step 1: Agent Requests Signup
POST https://getportal.dev/signup
Content-Type: application/json
X-Payment: x402...
{
"service": "resend",
"email_mode": "portal_managed"
}
Step 2: Portal Handles Everything
Portal's worker fleet:
- Creates a new account on the service
- Handles any CAPTCHAs
- Verifies email automatically
- Extracts API keys from the dashboard
Step 3: Agent Gets Credentials
{
"job_id": "portal_abc123",
"status": "completed",
"credentials": {
"api_key": "re_xxxx...",
"email": "agent-abc123@mail.getportal.dev"
}
}
Credentials are encrypted, one-time retrieval, and auto-expire in 5 minutes.
Payment via x402
Portal uses x402 micropayments — USDC on Base. No API keys, no subscriptions, no invoices. Just pay-per-signup.
| Service | Price |
|---|---|
| Resend | $0.50 |
| SendGrid | $0.50 |
| Vercel | $1.00 |
| Supabase | $1.00 |
Using the MCP Server
For Claude Code, Cursor, or any MCP-compatible agent:
{
"mcpServers": {
"portal": {
"command": "npx",
"args": ["@getportal/mcp"]
}
}
}
Then your agent can simply call:
portal_signup({ service: "resend" })
The MCP server handles wallet management, payment, and credential retrieval.
Security
- Credentials are encrypted at rest
- One-time retrieval (deleted after access)
- 5-minute expiration window
- No credential logging after retrieval
- Each signup creates a fresh, isolated account
Supported Services
Portal currently supports autonomous signup for:
- Email: Resend, SendGrid
- Deployment: Vercel, Railway
- Database: Supabase
- Infrastructure: Cloudflare
Why This Matters
Autonomous signup is the missing piece for truly autonomous agents. Without it, every new service integration requires human intervention. With Portal, agents can:
- Discover what service they need (via verified docs)
- Get working code snippets
- Sign up automatically
- Continue building