Skip to main content
Give AI agents verified access to your API in four steps.

Copy-paste agent prompt

Paste the prompt for your stack into Claude Code, Cursor, or Codex to wire AgentOnboard into your repository:

Manual setup

1

Install the SDK

2

Guard your route handler

Verify the incoming Bearer token against AgentOnboard’s public JWKS and look up the user by normalized email:
app/api/notes/route.ts
3

Publish auth.md

Serve a static auth.md file at https://<your-domain>/auth.md and https://<your-domain>/.well-known/auth.md (for example public/auth.md and public/.well-known/auth.md) so agents learn your Domain, endpoints, and 401 / 403 handling:
public/auth.md
4

Test with curl

Mint a 5-minute test token using POST /api/v1/token/exchange, then call your endpoint:

Next steps

Accounts & Agent Signup

Testing & Production