Prerequisites
Tools and accounts you need before getting started
Required Tools
Install these before running the scaffold:
| Tool | Version | Install |
|---|---|---|
| Node.js | 20+ | nodejs.org |
| pnpm | 9+ | npm install -g pnpm |
| Wrangler | Latest | npm install -g wrangler (Cloudflare CLI) |
| Turso CLI | Latest | brew install tursodatabase/tap/turso or docs |
Optional Tools
| Tool | Purpose | Install |
|---|---|---|
| GitHub CLI | Repo creation, environment provisioning | brew install gh or cli.github.com |
| Stripe CLI | Webhook testing, product setup | brew install stripe/stripe-cli/stripe |
Required Accounts
Cloudflare (required)
All services deploy as Cloudflare Workers.
- Create a free account at cloudflare.com
- Authenticate Wrangler:
wrangler login - Note your Account ID (Dashboard > any domain > Overview > right sidebar)
- Create an API Token at dash.cloudflare.com/profile/api-tokens with these permissions:
| Permission | Access |
|---|---|
| Account / Workers Scripts | Edit |
| Account / Workers KV Storage | Edit |
| Account / Workers R2 Storage | Edit |
| Account / Cloudflare Queues | Edit |
| Account / D1 | Edit |
| Zone / Workers Routes | Edit |
| Zone / DNS | Edit |
Turso (required)
Each service gets its own database.
- Create an account at turso.tech
- Authenticate:
turso auth login
Stripe (required for payments)
Handles subscriptions and credit packages.
- Create an account at stripe.com
- Get your Secret Key and Publishable Key from the API keys page
- Create a webhook endpoint (see Deploy)
LLM Provider (required)
Choose one:
- Anthropic (recommended): Get an API key at console.anthropic.com
- OpenAI: Get an API key at platform.openai.com
GitHub (recommended)
Required if you want CI/CD, Conductor workspace automation, and automated deployments.
- Install GitHub CLI:
brew install gh - Authenticate:
gh auth login
Optional Accounts
| Service | Purpose | Where to get credentials |
|---|---|---|
| Google OAuth | Social sign-in | Google Cloud Console > OAuth 2.0 Client |
| GitHub OAuth | Social sign-in | GitHub Developer Settings > OAuth Apps |
| Resend | Transactional email | resend.com |
| Twilio | SMS MFA | console.twilio.com |
| Langfuse | LLM observability | cloud.langfuse.com |
| Google Places | Address autocomplete | Google Cloud Console > Enable Places API |
Verify Your Setup
Run these to confirm everything is ready:
node --version # v20+
pnpm --version # 9+
wrangler --version # any
turso --version # any
gh auth status # authenticated (optional)
stripe --version # any (optional)