Skip to content
Guide

Connect Supabase

Give a new project its database in one step: sign in to Supabase, choose or create a project, and VibeCodeMax fills in the project's URL and keys.
On this page
  1. What it does
  2. Connect Supabase
  3. Create a new project
  4. Paste the values instead
  5. Where your keys go
  6. What VibeCodeMax can access
  7. Disconnect
  8. Help

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

  1. While you set up a project in VibeCodeMax, choose Supabase as its database.
  2. Choose Connect Supabase. Your browser opens Supabase's site.
  3. Sign in to Supabase, and approve VibeCodeMax.
  4. Back in VibeCodeMax, choose one of your Supabase projects, or New project….
  5. 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.

ValueWhat it looks like
Project URLhttps://<project>.supabase.co
Publishable keyStarts with sb_publishable_, or the anon key starting eyJ for older projects
Secret keyStarts 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.

VariableWhat it holds
NEXT_PUBLIC_SUPABASE_URLThe project's URL
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEYThe public key that the browser uses
SUPABASE_SECRET_KEYThe 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.