Pick the right template for your project in under 2 minutes.
These are common patterns - how devs typically use Dream API with our templates. But you're not locked in. Configure tiers, trials, and pricing however you want from the dashboard.
Building something we don't cover? Head to the AI Prompt tab in your dashboard and describe what you need. It'll generate the right SDK code for your setup.
Users pay monthly for access to your app. Tiers with usage limits.
Examples:
Use: SaaS Template
Customers buy products once. No recurring billing. Guest checkout.
Examples:
Use: Store Template
Paid vs unpaid. Unlimited requests. Gate your content.
Examples:
Use: Membership Template
Membership
SaaS
Rule of thumb: If usage doesn't matter and you just want to gate content → Membership. If you need limits and metering → SaaS.
Don't want to manage a free tier? Set up one paid tier with trial days:
Pro tier: $19/mo with 7 day free trial
What happens:
This is how most creators run memberships. Simple, effective, no "free tier" to maintain.
You Control:
No Code Changes:
Simple, fast, client-side. Perfect for most projects.
Recommended for most users
Full-stack, SSR, API routes. For complex apps.
Choose if you need SSR or API routes
Our SDK works with any JavaScript framework. The templates are just starting points.
npm install @dream-api/sdk
Works with:
Vue, Svelte, Solid, Astro, Remix, Angular, vanilla JS...
Check out the SDK docs for integration examples.
Recurring payments + usage limits? → SaaS Template
One-time purchases? → Store Template
Gated content (free vs paid)? → Membership Template
Not sure? → Start with Membership (React) - simplest to customize
All templates are free and open source