This guide walks you through connecting your Bilt app to Supabase — giving your app user authentication, a PostgreSQL database, and real-time data.Documentation Index
Fetch the complete documentation index at: https://bilt.me/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Step 1: Create a Supabase project
If you don’t have one:- Go to supabase.com and sign up
- Create a new project — pick a name, set a database password, choose a region
- Wait for the project to finish provisioning (about 1 minute)
Step 2: Connect from Bilt
Authenticate
Sign in with your Supabase account. Bilt uses OAuth (PKCE) — you authorize Bilt to access your Supabase projects.
Once connected, you’ll see a confirmation in the chat. The AI now has access to your Supabase project.
Step 3: Build features with Supabase
Now tell the AI what you want. It will generate the code that connects to your Supabase backend.Add authentication
Create and use a database table
Add real-time updates
Step 4: Verify data
Use Bilt’s built-in database inspector to check that everything is working:- Browse tables and see stored data
- Check that auth users are being created
- Run SQL queries to debug issues
Tips
- Start with auth — Get sign up and login working first, then add data features
- Use Supabase’s row-level security — Ask the AI: “Enable row-level security on the posts table so users can only edit their own posts”
- Check the Supabase dashboard if something isn’t working — the API logs show every request your app makes
Further reading
- Supabase Integration feature — Feature overview
- Supabase docs — Supabase’s own documentation
