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 in the organization you authorize (Codunk retrieves its URL and keys for you)

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.
  4. To see another organization or a project created since your last authorization, click 'Use another Supabase account' and pick the organization. To switch Supabase accounts, sign out on supabase.com first.

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.