Guides
Task recipes: install, configure, ship. Each one is the same answer agents get from the MCP server.
| Goal | Guide |
|---|---|
| Build a SaaS app | Create your first app |
| User accounts | Add sign-in |
| User data | Add a database |
| Payments | Take payments |
| AI assistant | Add AI chat |
| Coding agents | MCP first use |
Start an app
Add a Database
A scoped, soft-deleting, optionally encrypted database layer on D1, SQLite or Postgres, with money, an outbox and idempotent writes.
Add Workers-Safe Env Configuration
Validated config that works on Cloudflare Workers, read lazily so deploys never fail on missing secrets.
Add the Error Envelope and Request Validation
Every API error has the same JSON shape, validation failures carry field errors, and production hides internals.
Add the Typed API Client
A fetch client with structured errors, end-to-end route types from Hono, streaming and sane TanStack Query defaults.
Add Sign-In
A passcode gate or a full Better Auth user system, with CSRF protection in front of the cookie.
Make a Theme
A full light and dark theme from one brand colour, checked for WCAG contrast.
Own a Component's Source
Copy a signet-ui component into your app, edit it freely, and merge upstream changes later.
Test an App with Fakes and Playwright
Fake payment and notification providers, screenshots across every theme, a dev overlay and a no-network demo mode.
Security
Add CSRF Protection
Cross-site form posts to your API get a 403 before they reach a cookie-reading route.
Add Rate Limiting
A general API limit plus an exact, durable login limit on Cloudflare Workers.
Add Bot Checks, Disposable-Email Blocking and AI Spend Caps
Sign-up refuses bots and throwaway inboxes, and every AI call is capped per user, org and day.
Protect an API with OAuth
Accept bearer tokens issued elsewhere on an API or MCP endpoint, with audience and scope checks.
Money
Take Payments
Checkout across Razorpay and Stripe with a verified webhook inbox, a ledger, store purchases and daily reconciliation.
Add Plans, Entitlements and Feature Flags
Plans with features and usage limits, billing events applied to them, and flags with rules and percentage rollouts.
Add Remote Paywalls and a Customer Center
Offerings you publish without an app release, a paywall per placement, self-serve cancel and refund, and anonymous-to-account merge.
Add Subscription Charts and Offers
MRR, churn and trial conversion charts, free-trial and win-back offers, promotional grants and Apple refund answers.
Add Web-to-App Funnels With Hosted Checkout
A hosted quiz and checkout page with Apple Pay, Google Pay and URL discounts, then a one-time link that moves the purchase into the app.
Add UPI Links, GST Invoices and DPDP Consent
Pay-by-UPI links, numbered GST tax invoices, and consent and data-request records for Indian customers.
Product features
Add a Waitlist, Invites, Referrals and Onboarding
Launch tooling in your own database: waitlist, one-shot invites, referral rewards, onboarding progress, a changelog and feedback.
Add Comments, Mentions, Activity and Version History
Comment threads, notifying at-mentions, a per-record timeline and undo on any org-scoped record.
Add CSV Import, an Editable Grid and a Rich Text Editor
Bulk-import customers from a CSV, edit them in a spreadsheet-style grid, and store sanitised rich notes.
Add A/B Experiments, a Status Page and Maintenance Mode
Sticky variant assignment with a significance readout, plus a public status page and an API-wide maintenance switch.
Add Analytics
Track events from the browser, store them in your own database, and read answers instead of dashboards.
Add Real-Time Presence and Live Updates
Who is viewing a record, who is typing, and a banner when someone else saves, over WebSockets on your runtime.
Add File Uploads
Presigned uploads that are size- and type-checked, confirmed after arrival and scoped to each user.
Add Web Push Notifications
Send web push from a Worker with VAPID, prune dead subscriptions, and report errors to Sentry.
Backend
Add Background Jobs
Typed background jobs with retries, a dead-letter list, cron schedules and a queue consumer on your runtime.
Add Durable Workflows with Approvals
Crash-safe multi-step runs that sleep, wait for events and pause for a named person to approve.
Add Structured Logging and Sentry
JSON logs with a request id and secrets redacted by default, plus error reports to Sentry that work on Workers.
Trace a Request Across Logs, Sentry and Spans
One traceId links JSON logs, Sentry reports and OpenTelemetry spans, plus AI cost, health checks and what is never recorded.
Run Off Cloudflare
Swap the KV, queue, blob and defer adapters so the same server code runs on Node, Bun, Vercel or Upstash.
Publish an API
An OpenAPI spec and reference page generated from your validators, signed outbound webhooks, and HTTP caching.
Add a Backend Module to an API App
Wire auth, a database, an admin API, payments or notifications into an app made from the api template.
AI and agents
Add AI Chat, Tool Loops and Grounded Answers
A streaming chat route with a React hook, plus tool loops, embeddings search and answers that cite their sources.
Add AI Extraction With a Budget
Typed, schema-validated LLM output with a cache, a spend cap and a fallback provider.
Add MCP Tools to an App
A typed, scoped MCP endpoint behind OAuth, with errors mapped to the Signet envelope, plus a stdio entry.
Expose an App to Agents
Every validated route becomes an MCP tool run as the caller, with per-user tools and approvals for writes.