Supabase Integration
Supabase gives your app superpowers! It's a complete backend-as-a-service that handles everything from user accounts to databases to file uploads. Best of all, it's free to get started and the AI does all the heavy lifting for you.
Supabase Integration Overview
Video coming soon
What Can You Build?
With Supabase connected, the possibilities are endless:
| Feature | Example Prompt |
|---|---|
| User Login | "Add email/password authentication" |
| Social Login | "Let users sign in with Google" |
| Database | "Create a products table and let users add products" |
| File Upload | "Add profile picture upload for users" |
| Real-time | "Make the comments update in real-time" |
Getting Started: 3 Easy Steps
Step 1: Create a Free Supabase Account
- Go to supabase.com
- Click "Start your project"
- Sign up with GitHub or email (it's free!)
- Create an organization when prompted
Creating a Supabase Account
Video coming soon
Step 2: Connect Supabase to IndigiCoder
- In IndigiCoder, click your profile icon → Integrations
- Find the Supabase card
- Click "Connect Supabase"
- You'll be redirected to Supabase — click "Authorize"
- That's it! You'll see a success message
- See your Supabase projects
- Create database tables for your apps
- Get API keys so your app can talk to Supabase
Connecting Your Supabase Account
Video coming soon
Step 3: Link a Project
Now connect Supabase to your IndigiCoder project:
- Open your project in IndigiCoder
- Click "Project Settings" (gear icon)
- Find "Supabase Integration"
- Click "Connect a project"
- Select your Supabase project from the dropdown
- Done! The AI can now use Supabase in your app
Linking Supabase to Your Project
Video coming soon
Adding User Authentication
User login is usually the first thing people add. Here's how easy it is:
Example Prompts
What the AI Creates
- ✅ Beautiful login & signup forms
- ✅ Auth state management (knows who's logged in)
- ✅ Protected routes (redirects if not logged in)
- ✅ Logout functionality
- ✅ User profile display
Adding User Login with Supabase
Video coming soon
Building with a Database
Need to store data? Just describe what you want and the AI creates everything:
Example Prompts
What the AI Creates
- ✅ Database table with proper columns
- ✅ Security rules (only you can see your data)
- ✅ TypeScript types for type safety
- ✅ Forms to add/edit data
- ✅ Lists/tables to display data
- ✅ Delete and update functionality
Creating Database Tables with AI
Video coming soon
Uploading Files
Profile pictures, product images, documents — Supabase handles it all:
Real-time Features
Make your app feel alive with real-time updates:
How It Works Behind the Scenes
When you link a Supabase project, IndigiCoder securely stores:
| Credential | What It Does | Security |
|---|---|---|
| Project URL | Your app talks to Supabase through this URL | Public (safe to share) |
| Anon Key | Lets your app access Supabase from the browser | Public (safe in client code) |
| Service Key | Admin access for creating tables | 🔒 Encrypted (never in your app) |
Troubleshooting
I don't see my Supabase projects
Make sure you've connected your Supabase account first (Settings → Integrations). If you just created a project, refresh the page — it can take a minute to appear.
My Supabase project says "Paused"
Free-tier projects pause after 1 week of inactivity. Go to your Supabase Dashboard and click "Restore" to wake it up.
Can I use an existing Supabase project with tables?
Absolutely! The AI will see your existing tables and can work with them. Just describe what you want and it'll use your existing structure.
How do I disconnect Supabase?
- Go to Project Settings
- Find the Supabase card
- Click "Disconnect Project"
Your data stays in Supabase — disconnecting just removes the link. You can reconnect anytime!
Troubleshooting Supabase Connection
Video coming soon