🚀 Installation & Setup Guide
Step-by-step instructions to install and configure your SaaS boilerplate from scratch.
By Test Staff35 views
Installation Guide
Prerequisites
- Node.js 18+
- PostgreSQL database
- Git
- Code editor (VS Code recommended)
Step 1: Clone Repository
git clone [YOUR_REPO_URL] my-saas
cd my-saas
npm install
Step 2: Environment Variables
Create .env file:
cp .env.example .env
Required variables:
DATABASE_URL- PostgreSQL connectionNEXTAUTH_URL- Your domainNEXTAUTH_SECRET- Generate withopenssl rand -base64 32BOILERPLATE_LICENSE_KEY- Your license key
Step 3: Database Setup
npx prisma generate
npx prisma db push
npx prisma studio
Step 4: Create Admin User
Via Prisma Studio or seed script.
Step 5: Configure Services
- Stripe: Add API keys + create products
- SendGrid: Add API key + verify domain
- OAuth: Configure Google/GitHub providers
- AI Providers: Add at least one (Gemini recommended)
Step 6: Start Development
npm run dev
Visit http://localhost:3000
See the License Key Guide for activation instructions.
Was this article helpful?
Let us know so we can improve our docs