All blocks

Operations

Onboarding

Onboarding checklists per user or organization: the completed steps, completed by hand or by an outbox event type. Organization checklists check onboarding.read and onboarding.complete.

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

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