Skip to content

Updated

Build a Supabase Integration

Connect your product to your users' Supabase projects. This guide covers two paths: a Partner Catalog listing, and an OAuth integration that reads and changes user projects through the Management API.

The path at a glance

Apply to the Partners program first, then decide whether you want to be part of the Partner Catalog or build an integration. Select a step to go to its section.

Partner Catalog path

Integration path

Apply to the Partners program

Supabase lists companies that meet the listing criteria. When you apply, choose Marketplace Partner as the partnership type. The Apply as Integration Partner button on the Partners page preselects Technology Partner, so change the selection in the form.

Apply to the Partners program

Choose: Partner Catalog or Integration

The following table compares the two ways to reach Supabase users.

Partner CatalogIntegration
What you buildA landing page with a setup guide for integrating your product with SupabaseAn OAuth app, an install flow, and Management API calls
What users seeA listing in the Partner Catalog with an Add integration buttonA listing in the Integrations tab in the user's Supabase Dashboard with an Install integration button
Where it livesA page on supabase.com, outside the Dashboard
Wireframe of the Partner Catalog index page on supabase.com: a heading, an Apply as a Partner button, and a grid of partner cards grouped by category
A tab inside the Supabase Dashboard
Wireframe of the Integrations tab in the Supabase Dashboard: a list of integrations grouped by category
What the button doesAdd integration links out to your landing page
Wireframe of a Partner Catalog listing: the partner name and an Add integration button that links out to the partner site
Install integration sends users to your install URL, then into the OAuth flow
Wireframe of an Integrations tab listing: the partner name and an Install integration button

Partner Catalog: Build your landing page

Use this path for a Partner Catalog listing. The Add integration button on your listing links to a landing page on your site. You can link to your homepage or your docs. A Supabase-specific guide can help explain how the user configures their project to use Supabase and your APIs.

When your landing page is ready, share it with your partner manager.

Integration

Use this path for an integration. You build the OAuth flow so users can connect, then call the Management API on their behalf.

Build the OAuth flow

The OAuth flow is how a user lets your app act securely on their Supabase organization and projects. The user chooses which organization to connect and approves the scopes you request. Your app then gets an access token limited to those scopes, so it never sees the user's password. The user can revoke access at any time. Do steps 1 and 2 first. Steps 3 and 4 work together: the redirect endpoint starts the OAuth flow that step 4 implements, so build them as a pair.

Build the integration

Call the Management API with the access token to read and change your users' organizations and projects. With it, your app can list a user's organizations and projects, read project settings and API keys, run database migrations, deploy Edge Functions and manage their secrets, and create projects. What your app can do depends on the scopes the user approved.

Publish

After you test the flow against a project you own, ask your partner manager to list you on the Partner Catalog or in the Integrations tab of the Supabase Dashboard.