Connect Subiie to Supabase
Four steps: create a free project, install the schema, paste your keys, seed the data. All three portals go live the moment this page shows "Connected".
← All portals
1Create a free Supabase project
  1. Go to supabase.com/dashboard and sign up (free tier is plenty).
  2. Click New project — name it subiie, set a database password (save it somewhere), pick the region closest to you.
  3. Wait ~2 minutes while the project provisions.
2Install the schema
In your project, open SQL Editor → New query, paste the schema, and click Run. It creates every table, row-level security for all three roles, and three demo accounts (password subiie-demo): owner@demo.subiie.com, school@demo.subiie.com, sub@demo.subiie.com.
View schema.sql
3Paste your project keys
Find both in Project Settings → API. The anon key is safe to use in the browser — row-level security decides what each signed-in role can see.
{{ testMsg }}
4Seed the sample data
Signs in as the demo owner and loads the full sample dataset — schools, subs, assignments, billing, analytics — so every portal opens with familiar data. Runs once; it refuses to overwrite an already-seeded database.
{{ line.text }}
Then you're live
Sign in from the sign-in page with any demo account (or real accounts you add under Authentication → Users, plus a row in the profiles table). Each role sees only its own data — enforced by the database, not the UI. Assignments posted by a school appear on the owner board and the subs' boards instantly on their next load.