Skip to main content
Supabase handles sessions and Row Level Security (RLS) for human web users; AgentOnboard authenticates AI agents calling your API.

Copy-paste agent prompt


1. Verifying existing Supabase users

Use your Supabase service-role client inside resolveAccount to look up the user by normalized email:
app/api/notes/route.ts

2. Enabling agent signup with Supabase

To let agents provision accounts on an explicit signup route, call the Supabase Admin Auth API:
app/api/signup/route.ts
email_confirm: trueAgentOnboard verifies the User’s email before issuing any token, so you can pass email_confirm: true without sending a duplicate confirmation email.