Connect Supabase
On this page
What it does
When a project uses Supabase as its database, VibeCodeMax needs three values: the project's URL, its publishable key and its secret key. Connect Supabase gets them for you, so you don't copy them from the Supabase dashboard by hand.
Connect Supabase
- While you set up a project in VibeCodeMax, choose Supabase as its database.
- Choose Connect Supabase. Your browser opens Supabase's site.
- Sign in to Supabase, and approve VibeCodeMax.
- Back in VibeCodeMax, choose one of your Supabase projects, or New project….
- VibeCodeMax gets the project's URL and keys, and shows that the project is connected.
Create a new project
Choose New project…, then give the project a name, and choose its organisation and region. VibeCodeMax creates it on Supabase and connects it.
- A free Supabase organisation can have two active projects.
- In a paid organisation, each new project adds compute costs to its Supabase bill.
Paste the values instead
If you prefer not to sign in, paste the values yourself. You find them in your Supabase project's settings.
| Value | What it looks like |
|---|---|
| Project URL | https://<project>.supabase.co |
| Publishable key | Starts with sb_publishable_, or the anon key starting eyJ for older projects |
| Secret key | Starts with sb_secret_, or the service_role key starting eyJ for older projects |
Where your keys go
VibeCodeMax saves the values in your project's .env file, which is never committed to Git. It also writes a .env.example file that lists the names without the values.
| Variable | What it holds |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | The project's URL |
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY | The public key that the browser uses |
SUPABASE_SECRET_KEY | The server-only key. Keep it out of browser code. |
What VibeCodeMax can access
When you approve VibeCodeMax on Supabase's site, it may:
- read your organisations and projects, to list them;
- create projects, when you choose New project…;
- read a project's API keys, to fill them in for you.
VibeCodeMax's sign-in service exchanges Supabase's one-time code for a token and passes it straight to the app. The app normally keeps the sign-in in your system keyring and talks to Supabase directly. See the Privacy Policy for other storage options.
To let a resident use Supabase tools, follow Give residents access to a service (MCP).
Disconnect
Choose Disconnect on the Supabase card to end VibeCodeMax's Supabase sign-in on your computer. Keys already saved in a project's .env file stay there.
Help
If Supabase says your role doesn't allow something, ask an owner of the Supabase organisation for access. For anything else, send us a message.