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.
Choose: Partner Catalog or Integration
The following table compares the two ways to reach Supabase users.
| Partner Catalog | Integration | |
|---|---|---|
| What you build | A landing page with a setup guide for integrating your product with Supabase | An OAuth app, an install flow, and Management API calls |
| What users see | A listing in the Partner Catalog with an Add integration button | A listing in the Integrations tab in the user's Supabase Dashboard with an Install integration button |
| Where it lives | A page on supabase.com, outside the Dashboard | A tab inside the Supabase Dashboard |
| What the button does | Add integration links out to your landing page | Install integration sends users to your install URL, then into the OAuth flow |
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 it
- In your organization's settings, open the OAuth Apps tab and click Publish OAuth app.
1. Create an OAuth app
- Request only the permissions your integration needs.
2. Choose scopes
- Handle the users that the Install integration button sends to your install URL.
3. Build the redirect endpoint
- Send users to Supabase to approve access, exchange the code for tokens, and refresh them.
4. Implement the OAuth flow
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.