Skip to Content
StackBlaze Templates — operator documentation
AI SaaS KitGetting StartedPrerequisites

Prerequisites

Before you scaffold a project, make sure you have the following.

Required

  • Node.js 20 or newer — check with node -v.
  • npm — the template’s package manager. (It ships an npm lockfile; other package managers are not tested.)
  • A PostgreSQL database — either Docker (a docker-compose.yml is included) or a hosted Postgres (Supabase, Neon, Railway, RDS, etc.).
  • Your StackBlaze licence key — format sb-xxxx-xxxx-xxxx-xxxx. The scaffolder verifies it before generating anything.

For local development with Docker

  • Docker — to run the bundled Postgres container.

The bundled Postgres listens on host port 5432, which .env.example already targets. If you already run Postgres on 5432, remap the container with POSTGRES_PORT=5433 docker compose up -d and point DATABASE_URL at 5433.

Optional (per feature you enable)

You only need these if you turn the matching feature on at scaffold time — or later in .env.local.

FeatureWhat you’ll need
BillingA Stripe account + the Stripe CLI  for local webhooks
AI chatAn API key for your chosen AI provider (e.g. OpenAI)
Agentic tool callingA Tavily, Exa, or Firecrawl API key for web search
Rate limitingAn Upstash Redis database (REST URL + token)
Transactional emailA Resend API key (otherwise emails print to the console)
OAuth loginA Google and/or GitHub OAuth app

None of the optional services are needed to boot the app. Auth emails print to the dev console, billing is inert until you add Stripe keys, and rate limiting is a no-op when Upstash is unset. You can add each one later.

Next: Scaffold a project →