Cofounder Docs

Supabase

Understand how the managed Supabase project is created and what Cofounder configures automatically.

Supabase

Your product database, authentication, and storage stay in your own product stack. Cofounder can use connected data and analytics to run work around the product, but it is not intended to design or own the core product backend.

The setup below applies to workspaces that already use Cofounder's managed app stack. For new product work, keep backend implementation in your preferred engineering workflow and ask Cofounder for a brief or handoff prompt when business work requires a product change. See What Cofounder Does.

In workspaces that already use Cofounder's managed app stack, onboarding set up a managed Supabase backend.

That gives the workspace a production setup and a staging setup for app work.

Role

Supabase is the managed backend for the app.

  • it powers the database
  • it handles auth
  • it gives the workspace a production backend and a staging backend

What Cofounder Configures

After setup, Cofounder configures Supabase for the app.

That includes:

  • the app site URL
  • auth redirect URLs
  • the staging auth redirect URL

Cofounder also connects the app Vercel project to the managed Supabase backend.

How Supabase Connects To The Rest Of The Stack

Supabase is wired into the managed app setup, auth configuration, and domain/email setup.

When a domain is assigned, Cofounder updates the managed Supabase auth config so the site URL and redirect URLs match the domain.

Local Supabase For Agent Testing

For existing managed app workspaces, the Engineer agent can run Supabase locally in its sandbox when an app change depends on the database, auth, or storage.

That lets the agent test migrations, create test data, and click through database-backed flows before a PR is ready for review. Local Supabase is separate from staging and production, so it is a safe place for the agent to verify behavior while it is still working.

Import Your Own Supabase

If you already have a Supabase project, Cofounder can import it into the workspace.

You can connect your Supabase account, choose the project, and map production and staging.

If your project already has both environments, you can map them directly. If not, you can import production first and add staging later.

If branch creation is available, Cofounder can also create a persistent staging branch for you.

Next Steps