Supabase
Authentication and database for the Agent0 web app.
What It Does
Supabase provides auth (login/signup) and Postgres database for agent0.markops.ai. It handles user accounts, session management, and data storage.
How It Connects
Environment variables in .env.local configure the connection. Next.js API routes call Supabase server-side.
| Variable | Purpose |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | Supabase project URL. Used client-side and server-side. |
NEXT_PUBLIC_SUPABASE_ANON_KEY | Public anon key for client-side auth and queries. |
SUPABASE_SERVICE_ROLE_KEY | Server-only key with elevated privileges. Never exposed to the browser. |
Key Tables
This is for the web app only, not the vault. The vault is file-based. Supabase powers the website features like user accounts and the Build Your Brain configurator.
