Getting StartedSolveBuildIntelligenceLearnHelpWhat's New
CONNECTORSDatabases & CMSSupabase

Overview

Add Supabase to Rocket.new to scaffold a complete backend with Postgres database, user authentication, file storage, and edge functions from chat.

Tell Rocket what your app needs in chat - user accounts, a database, file uploads - and it generates the complete backend implementation.

Supabase bundles PostgreSQL, auth, file storage, and edge functions into a single service. It is the foundational backend for most Rocket apps and pairs naturally with Stripe, Resend, and SendGrid.


What you can build

User authentication

Sign-up, login, password reset, and protected routes. Supports email/password and social providers like Google and GitHub.

Database and content

Store and manage structured data with a PostgreSQL database. Control who can read or edit each row with row-level security policies.

Real-time updates

Push live changes to your UI instantly when rows are inserted, updated, or deleted in your database.

File uploads and storage

Let users upload images, documents, or other files with secure access controls and organized storage buckets.

Multi-tenant apps

Build SaaS products where each organization sees only its own data, with invite flows and role management.

Edge functions

Run server-side logic like sending emails or calling third-party APIs without exposing secret keys to the client.


Connect Supabase

Supabase connects via OAuth - no API keys needed.

Supabase is a workspace-level connector. No matter where you connect it (Settings, Connectors tab, or chat), it links to your entire Rocket workspace and is available across all tasks.

You can connect from three places - all do the same thing.

Option 1: From workspace Settings

Click your profile in the top-left, then select Settings.

Profile menu with Settings option highlighted.Profile menu with Settings option highlighted.
Open Settings from your profile

Open the Connectors tab, click the Supabase card, and follow the OAuth flow.

Workspace Settings showing the Connectors tab with the Supabase card.Workspace Settings showing the Connectors tab with the Supabase card.
Supabase card in workspace Settings

Manage workspace connectors

Connect once from Settings and it is available to all tasks.

Option 2: From the Connectors tab inside a task

Click the ... button in the preview toolbar, then select Connectors.

Toolbar dropdown with Connectors option highlighted.Toolbar dropdown with Connectors option highlighted.
Open Connectors from the toolbar

Click the Supabase card in the Connectors panel.

Connectors panel showing the Supabase card.Connectors panel showing the Supabase card.
Supabase card in the Connectors panel

Then click Connect.

Supabase card with Connect button highlighted.Supabase card with Connect button highlighted.
Supabase Connect button

Option 3: From chat

Type a prompt that mentions auth, database, or file storage. Rocket detects the intent and shows a Connect button inline.

Rocket chat panel showing a Connect prompt for Supabase.Rocket chat panel showing a Connect prompt for Supabase.
Rocket prompts you to connect Supabase from chat

After clicking Connect

A Supabase authorization screen opens. Sign in, review the permissions, and click Authorize Rocket.

Supabase OAuth authorization screen.Supabase OAuth authorization screen.
Supabase authorization screen

You will then be asked to select or create an organization and link a project.

Once authorized, you will be prompted to link a project to this task.

Select an existing project from the dropdown.

Select Supabase project.Select Supabase project.
Select a Supabase project

Or click Create new Supabase project, enter a name, password, and region, then click Create a new project.

Create Supabase project.Create Supabase project.
Create a new Supabase project

To switch to a different project later, go to Connectors and use the Supabase project dropdown.

Manage workspace connectors

Disconnect or switch accounts from workspace Settings.


Example prompts

Once Supabase is connected, paste any of these into chat to get started.

What you wantPrompt to use
Email sign-up and loginAdd email/password sign-up and login with a protected dashboard page.
Database with a UICreate a products table with name, description, price, and image URL. Add a page to list and filter products.
File uploadsLet users upload profile avatars. Store images in Supabase Storage and display them on the profile page.
Server-side email on sign-upCreate a Supabase Edge Function that sends a welcome email when a new user signs up.
Per-user data accessAdd row-level security so users can only read and edit their own records in the posts table.
Social loginAdd Google and GitHub login options to the sign-up page using Supabase Auth.
Live data feedShow a live feed of new messages in the chat room using Supabase real-time subscriptions.
Branded emailsCustomize the Supabase confirmation email template to match my app's branding.
Multi-tenant dataScope all database queries to the current user's organization using RLS policies.
Password resetAdd a forgot-password page that sends a reset link via Supabase Auth.

Tips

  • One Supabase project per task. Each Rocket task links to a single Supabase project. Use separate tasks if you need separate databases.
  • Use edge functions for server-side logic. When code should not reach the client - sending emails, calling APIs with secret keys - ask Rocket to create a Supabase Edge Function instead.
  • Free tier limits. Supabase free includes two active projects, 500 MB database storage, and 1 GB file storage. See Supabase pricing for current limits.
  • Advanced database settings live in Supabase. Extensions, connection pooling, and RLS policy debugging are managed directly from the Supabase dashboard.

Go deeper


Revoke access

To fully remove Rocket's access to Supabase:

  1. Disconnect in Rocket. Go to Settings > Connectors and disconnect Supabase.
  2. Revoke on Supabase. In the Supabase Dashboard, open Organization settings → OAuth Apps → Authorized apps, find Rocket, click the trash icon, and confirm revoke.

Open the Supabase Dashboard

Revoke Rocket from Supabase authorized OAuth apps.

Disconnecting in Rocket alone does not remove the OAuth grant on Supabase. Complete both steps for a full revoke.

What's next?

On this page