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 appExample promptWhat happens
Member portalUse Supabase to authenticate users and display personalized member dashboards.Users sign up and log in securely with sessions handled by Supabase Auth.
Custom relational databaseUse 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

  1. In the Studio Connectors panel, click 'Authorize with Supabase'.
  2. Select your Supabase organization and choose the target project.
  3. 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.