How do I connect Supabase?
Updated 20 August 2026·1 views
Connecting Supabase
- Go to supabase.com and create a project
- Go to Settings → API and copy your project URL and anon key
- In your
.env.local:
\\env
NEXT_PUBLIC_DB_TYPE=supabase
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
NEXT_PUBLIC_SUPABASE_SERVICE_KEY=your-service-role-key
\\\
- Run the app and go to http://localhost:3000/installer to finish setup — this also enables Row Level Security automatically.
service_role key to the client.Was this article helpful?