Connect multiple Rocket projects to the same Supabase database or reuse an existing backend you already have. This guide covers when sharing a database makes sense, best practices for shared setups, and how to connect an existing project.
Why share a Supabase database
Sharing a single Supabase project across Rocket apps is useful when you want to:- Power multiple frontends (e.g., customer site and admin panel) with the same data.
- Keep authentication, storage, and APIs consistent across builds.
- Test new UI designs without duplicating your backend.
Best practices
Rocket connects to your entire Supabase project, but only uses what you tell it to. Clear prompts lead to cleaner builds.
- Start with your schema In your first prompt, mention the tables and fields you need. Example:
- Table: Users → Fields: Name, Email, Date joined
- Table: Orders → Fields: Order ID, Status, Amount
- Describe your setup If your database is already live, say so. Rocket will not auto-detect the schema unless you explain it.
- List the pages you want Tell Rocket exactly what you need.
- One project, one purpose Keep Rocket projects focused. For example:
- One for your user-facing app
- One for your internal dashboard
- When Rocket generates scripts Only push the script if you want to update the actual database.
- Push when: You are adding new fields or tables.
- Do not push when: Your schema already includes everything you need.
- If multiple apps share the database Database changes affect every connected Rocket project. If one app adds a field, others can access it, but you will need to update those UIs separately.
Example scenario:
- In App A, you prompt:
- Supabase now has a new field: Phone number.
- App B also connects to this database, but does not yet show the field.
- In App B, prompt Rocket:
- Try it in a test project first Exploring ideas? Connect to a test Supabase project before making changes to production.
Use an existing Supabase project in Rocket
Start a new task in Rocket
From your Rocket dashboard, create a new task. Start blank or use a template.You are taken to the Rocket workspace for your new task once it is created.
Connect your existing Supabase project
- When prompted, choose Supabase as your database provider.
- Log in to your Supabase account.
- Select the project you want to link from the list.
You can connect to a Supabase project used by another Rocket app or one created outside Rocket.
Troubleshooting
1. I do not see my Supabase project in Rocket
After signing in to Supabase, the project list is empty.- Make sure you are signed in to the correct Supabase account.
2. Changes in one Rocket project affect another
Updating the database in one Rocket project instantly affects another.- This is expected behavior when projects share a database.
- To isolate changes, connect each Rocket project to a separate Supabase project.
One database, multiple projects
Share data, streamline your builds, and redesign faster by connecting Rocket apps to the same Supabase database.

