Courses

SaaS with AI agents: from app to subscription

Your app works, now teams should pay for it every month. With a coding agent you add organisations and roles, data isolation per organisation, subscriptions with webhooks, CI, backups and monitoring, and you learn what the law asks of a SaaS in Germany.

€199one-time payment
Buy the course

Bought it? Sign in with the email from your purchase. Terms · Right of withdrawal

Already enrolled? Sign in

Read the first lesson

Needs a Next.js app with Supabase and login, a GitHub repo, a coding agent (Claude Code or Codex), Docker for the local Supabase database and an account at Stripe or a merchant of record (test mode is free). Basic SQL helps. Plan about 12 to 16 hours plus building time.

Self-study course: slides, hands-on tasks and templates, at your own pace. No graded tests, no individual tutoring.

For whom

People who already have a working web app (for example from the course "Build and ship apps with AI agents") and want paying teams as customers.

Where you end up

At the end your app has organisations with roles and invites, tested RLS per organisation, subscriptions with idempotent webhooks and entitlements in the database, CI on every pull request, a tested backup and error monitoring.

Contents

  1. 01 · Architecture
  2. 02 · Auth and roles
    • Row Level Security per organisation15 min
    • Invites and roles14 min
    • Testing your policies14 min
  3. 03 · Subscriptions
    • Billing: provider, checkout and customer portal14 min
    • Idempotent webhooks and entitlements15 min
  4. 04 · Team work and operations
    • Agents as a team: small PRs, reviews and CI14 min
    • Deploys, backups and monitoring15 min
  5. 05 · Law for SaaS
    • B2B or consumers: contracts and duties15 min

Material

  • Data model template (SQL with RLS examples)
  • Webhook handler checklist (DE + EN)
  • SaaS launch checklist (DE + EN, no legal advice)