All blocks

Billing & commerce

Catalog

Products with options, variants and prices in minor units, price lists, a category tree, collections and an optional public storefront.

DocsModes:managedadoptcustom
terminal
npx better-supabase sql add catalog
better-supabase.config.ts
import { defineConfig } from "better-supabase/config";

export default defineConfig({
  sql: {
    modules: {
      // Required by catalog; sql add installs them too.
      "updated-at": {},
      tenant: {},
      access: {},
      // Modes: "managed", "adopt", "custom". The default is "managed".
      catalog: { mode: "managed" },
    },
  },
});