Getting Started
Goal: cloned repo, working Supabase project, Stripe test keys, and a workspace you can log into locally. Most people get there in one sitting if env vars are ready.
Quick start (5 steps)
1. Install and run locally
git clone https://github.com/your-org/saasforge-core my-app
cd my-app
pnpm install
cp .env.local.example .env.local
Fill in the required environment variables in .env.local (see Installation for details).
2. Set up Supabase
Create a Supabase project and run the SQL migrations in order:
supabase/001_schema.sql-- Core tables (workspaces, products, memberships, etc.)supabase/002_rls.sql-- Row-Level Security policiessupabase/003_soft_delete_and_dashboard.sql-- Soft delete and analyticssupabase/004_onboarding.sql-- Onboarding flagsupabase/005_tags_comments_2fa.sql-- Tags, comments, 2FAsupabase/006_remaining_features.sql-- API keys, webhooks, custom fields, and more
See Supabase Setup for the detailed walkthrough.
3. Start the dev server
pnpm dev
Visit http://localhost:3000 to see the marketing landing page.
4. Create your first account
- Go to
/sign-upand create an account - Confirm your email (or disable confirmation in Supabase for local dev)
- Sign in and you'll be redirected to
/select-workspace - Click Create workspace and give it a name
- You're in! Explore the dashboard, products, and settings
5. Customize your brand
At minimum, update these files to make it yours:
src/config/brand.ts-- product name, company name, emails, social linkspublic/-- replace logo assets (light, dark, mobile variants)src/config/ui/branding.ts-- logo paths
See Customization and White Label Checklist for the full list.
Optional setup
Enable billing (Stripe)
Configure Stripe to enable subscription plans, checkout, and the customer portal.
Enable email invitations (Resend)
Configure Resend to send workspace invitation emails.
Without Resend configured, invitations are still created in the database -- you just won't get emails.
What to explore next
| Goal | Guide |
|---|---|
| Understand how the app is structured | Architecture Overview |
| See all environment variables and config files | Configuration |
| Learn about auth, 2FA, and security | Authentication & Security |
| Understand workspaces, roles, and teams | Workspaces & Teams |
| Explore the Products module and data tables | Products & Data Management |
| Learn about billing and subscription plans | Billing & Subscriptions |
| Customize the dashboard | Dashboard & Analytics |
| Explore API keys, webhooks, custom fields | Advanced Features |
| Replace Products with your own entity | Adding Your Own Model |
| Deploy to production | Deployment |