Skip to main content
Gate is a hosted signup service that lets developers create accounts for your product using coding agents (Claude Code, Cursor, Codex). Instead of filling out a web form, developers run a single command:
A browser window opens for human consent (scored by Foil for bot detection), and API keys are delivered directly to the developer’s .env file.

How it works

What Gate handles

  • Consent UI - hosted, branded consent page with your logo, colors, and ToS
  • Bot detection - every signup is scored by Foil. Bots are blocked automatically.
  • Agent tokens - Gate issues agt_ tokens that authenticate all post-signup interactions
  • Credential delivery - encrypted handoff of API keys to the CLI
  • Dashboard login - npx signup yourproduct login opens your dashboard via magic link

What you handle

  • Account creation - your webhook creates the account in your system
  • API key issuance - your webhook returns whatever credentials the developer needs
  • Dashboard auth - one route on your server to verify Gate’s magic link tokens

Relationship to Foil

Gate uses Foil’s browser agent detection to score every signup. You don’t need to integrate Foil separately - Gate handles it. However, the API keys Gate delivers can be for any product, not just Foil.

What’s next