mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
## Problem The steps to build a Supabase integration are spread across five pages: the Partner Catalog page, creating an OAuth app, OAuth scopes, the partner install flow, and the Management API reference. A partner has no single page that says where to start or what to do next. Linear: DOCS-1720. ## Solution Add one guide, **Build a Supabase integration**, as the first item under **Build Your Own** in the integrations sidebar. It does not repeat the detail on the other pages. It links to them. - **The path at a glance:** two short paths. Partner Catalog: apply, build a landing page, publish. Integration: apply, build the OAuth flow, build the integration, publish. - **Apply to the Partners program**, then **Choose: Partner Catalog or Integration**, a comparison table with wireframe images (SVG, light and dark). - **Partner Catalog: Build your landing page** and **Integration** (build the OAuth flow, build the integration), each with "Build it" cards that link to the top of the existing page. - **Publish:** ask the partner manager to list the partner on the Partner Catalog or the Integrations page. - Removes the redirect from `/docs/guides/integrations/build-a-supabase-integration` to the OAuth guide, so the new page is reachable at that URL. The old `/oauth-scopes` redirect stays. - The progression and card data is in `apps/docs/data/content-listings/build-a-supabase-integration.data.ts`. Not in this PR: edits to the existing pages. The cards link to page tops, so nothing here depends on those edits. ## Please check - The five progression icons are placeholders from the built-in set. New icons are coming. - The table images sit inside table cells with a fixed width. I checked them in the dev server only. - I rendered the page with `pnpm dev` and ran `oxfmt --check` on the changed files. I did not run the docs tests or `build:guides-markdown`. - Two details are unverified: how partners hand their public key to Supabase for a signed redirect, and partner status callbacks. The guide does not describe either. - The Dashboard Integrations tab wireframe is a drawing, not a screenshot. ## Preview links | Site | Live | Preview | Search for | | ---- | ---- | ------- | ---------- | | Docs | [/docs/guides/integrations/build-a-supabase-integration](https://supabase.com/docs/guides/integrations/build-a-supabase-integration) (redirects to the OAuth guide until this merges) | Vercel bot comment | `The path at a glance` | 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: John Stokvis <345546350+stokvis-at-supabase@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: Nik Richers <nik@validmind.ai> Co-authored-by: John Stokvis <johnstokvis@Johns-MacBook-Pro.local>
119 lines
3.5 KiB
TypeScript
119 lines
3.5 KiB
TypeScript
import type { ContentListingGroup } from '~/lib/content-listings.schema'
|
|
|
|
import { aiToolsBuildingIntoApp, aiToolsSupportedAgents } from './ai-tools.data'
|
|
import {
|
|
buildIntegrationApiBuild,
|
|
buildIntegrationCatalogPath,
|
|
buildIntegrationIntegrationPath,
|
|
buildIntegrationLandingPageBuild,
|
|
buildIntegrationOauthBuild,
|
|
} from './build-a-supabase-integration.data'
|
|
import { authGetStarted, authNextSteps, authPricing } from './auth.data'
|
|
import { contributingDetails } from './contributing.data'
|
|
import { databaseGetStarted, databaseMultigresWhatYouGet, databaseNextSteps } from './database.data'
|
|
import {
|
|
functionsExamplesAiMedia,
|
|
functionsExamplesMessaging,
|
|
functionsExamplesOperations,
|
|
functionsExamplesSupabase,
|
|
functionsExamplesWebhooksPayments,
|
|
functionsGetStarted,
|
|
} from './functions.data'
|
|
import {
|
|
gettingStartedFrameworkQuickstarts,
|
|
gettingStartedMobileTutorials,
|
|
gettingStartedOverview,
|
|
gettingStartedUseCases,
|
|
gettingStartedWebAppDemos,
|
|
} from './getting-started.data'
|
|
import {
|
|
localDevelopmentParallelProjectsLearnMore,
|
|
localDevelopmentRuntimesLearnMore,
|
|
} from './local-development.data'
|
|
import { logDrainsDestinations } from './log-drains.data'
|
|
import { realtimeExamples, realtimeGetStarted, realtimeResources } from './realtime.data'
|
|
import { resourcesMigrate, resourcesOverview, resourcesPostgres } from './resources.data'
|
|
import {
|
|
selfHostingCommunity,
|
|
selfHostingGetStarted,
|
|
selfHostingSupport,
|
|
selfHostingThirdPartyGuides,
|
|
} from './self-hosting.data'
|
|
import { storageExamples, storageGetStarted, storageResources } from './storage.data'
|
|
import {
|
|
telemetryAccessWhat,
|
|
telemetryDetect,
|
|
telemetryExport,
|
|
telemetryHireAgent,
|
|
} from './telemetry.data'
|
|
import {
|
|
supabaseWayAuthBuild,
|
|
supabaseWayDatabaseBuild,
|
|
supabaseWayFunctionsBuild,
|
|
supabaseWayProductionBuild,
|
|
supabaseWayProgression,
|
|
supabaseWayRealtimeBuild,
|
|
supabaseWayRlsBuild,
|
|
supabaseWayStorageBuild,
|
|
} from './the-supabase-way-to-build.data'
|
|
|
|
const ALL_GROUPS: readonly ContentListingGroup[] = [
|
|
aiToolsSupportedAgents,
|
|
aiToolsBuildingIntoApp,
|
|
supabaseWayProgression,
|
|
supabaseWayDatabaseBuild,
|
|
supabaseWayAuthBuild,
|
|
supabaseWayRlsBuild,
|
|
supabaseWayRealtimeBuild,
|
|
supabaseWayStorageBuild,
|
|
supabaseWayFunctionsBuild,
|
|
supabaseWayProductionBuild,
|
|
buildIntegrationCatalogPath,
|
|
buildIntegrationIntegrationPath,
|
|
buildIntegrationLandingPageBuild,
|
|
buildIntegrationOauthBuild,
|
|
buildIntegrationApiBuild,
|
|
contributingDetails,
|
|
authGetStarted,
|
|
authPricing,
|
|
authNextSteps,
|
|
databaseGetStarted,
|
|
databaseMultigresWhatYouGet,
|
|
databaseNextSteps,
|
|
functionsGetStarted,
|
|
functionsExamplesSupabase,
|
|
functionsExamplesWebhooksPayments,
|
|
functionsExamplesAiMedia,
|
|
functionsExamplesMessaging,
|
|
functionsExamplesOperations,
|
|
gettingStartedOverview,
|
|
gettingStartedUseCases,
|
|
gettingStartedFrameworkQuickstarts,
|
|
gettingStartedWebAppDemos,
|
|
gettingStartedMobileTutorials,
|
|
localDevelopmentParallelProjectsLearnMore,
|
|
localDevelopmentRuntimesLearnMore,
|
|
logDrainsDestinations,
|
|
realtimeGetStarted,
|
|
realtimeExamples,
|
|
realtimeResources,
|
|
resourcesOverview,
|
|
resourcesMigrate,
|
|
resourcesPostgres,
|
|
selfHostingGetStarted,
|
|
selfHostingCommunity,
|
|
selfHostingThirdPartyGuides,
|
|
selfHostingSupport,
|
|
storageGetStarted,
|
|
storageExamples,
|
|
storageResources,
|
|
telemetryAccessWhat,
|
|
telemetryDetect,
|
|
telemetryHireAgent,
|
|
telemetryExport,
|
|
]
|
|
|
|
export const CONTENT_LISTINGS: Readonly<Record<string, ContentListingGroup>> = Object.fromEntries(
|
|
ALL_GROUPS.map((group) => [group.id, group])
|
|
)
|