Docs/Supabase
Supabase
Supabase provides a complete Postgres database, authentication, row-level security, and realtime subscriptions.
What your site can do with Supabase
- Store structured relational data with Postgres tables and foreign keys
- User authentication with email, social logins, and Row Level Security (RLS)
- Query and insert data securely through Codunk Gateway
Common use cases
| Example app | Example prompt | What happens |
|---|---|---|
| Member portal | Use Supabase to authenticate users and display personalized member dashboards. | Users sign up and log in securely with sessions handled by Supabase Auth. |
| Custom relational database | Use Supabase to store product catalogs, reviews, and bookings. | Complex data structures are stored and queried directly from Postgres. |
Prerequisites
- A Supabase account
- An active Supabase project (project reference, URL, and anon/publishable key)
Set up Supabase
- In the Studio Connectors panel, click 'Authorize with Supabase'.
- Select your Supabase organization and choose the target project.
- Codunk securely retrieves your project URL and anon keys.
Limitations
- Row Level Security (RLS) policies must be configured on your tables to protect private data.
- Free tier Supabase projects pause after 7 days of inactivity.