Getting Started
Configuration
Customize your SoloSaaS project settings, branding, and integrations.
Site Configuration
The main configuration file is located at src/config/site.config.ts. This controls your site name, description, URLs, and feature flags.
export const siteConfig = {
name: "My SaaS",
description: "Your product description",
url: "https://yourdomain.com",
};Authentication
SoloSaaS uses Better Auth for authentication. Configure your providers in the environment variables:
# GitHub OAuth
GITHUB_CLIENT_ID="..."
GITHUB_CLIENT_SECRET="..."
# Google OAuth
GOOGLE_CLIENT_ID="..."
GOOGLE_CLIENT_SECRET="..."Database
Set your PostgreSQL connection string in .env.local:
DATABASE_URL="postgresql://user:pass@host:5432/dbname"Run database migrations:
pnpm db:migratePayments
SoloSaaS supports Stripe for payments. Add your Stripe keys:
STRIPE_SECRET_KEY="sk_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_..."AI Models
Configure AI model providers through environment variables:
OPENAI_API_KEY="sk-..."
ANTHROPIC_API_KEY="sk-ant-..."
GOOGLE_GENERATIVE_AI_API_KEY="..."The AI system supports multiple providers through the Vercel AI SDK. You can enable or disable specific models in the site configuration.
Internationalization
SoloSaaS supports English and Chinese out of the box. Translation files are located in src/i18n/locales/. Add or modify translations by editing the JSON files directly.