What does SaaS development involve beyond the features?

A SaaS product has two parts: the features customers pay for, and the platform that lets many customers use them safely at the same time. The platform covers tenant isolation, sign-up and team management, subscriptions and billing, a public API, admin tooling, monitoring and a release process. In the first year it is often as much work as the features, and it is the part that is most expensive to retrofit. We design both from the start and build only as much platform as the current stage needs.

From MVP to production: the stages

Stage Goal What exists at the end
Discovery Find the riskiest assumption and the smallest product that tests it Scope, architecture note, tenancy and pricing model
MVP Real users on real data Sign-up, core workflow, billing, error tracking, backups
Production Paying customers who depend on it Roles, audit log, public API, admin console, monitoring, security review
Scale Growth without firefighting Queues, caching, per-tenant limits, performance budgets, on-call runbooks

An MVP is small in scope, not in quality. Authentication, tenant isolation and logging are in it from the first release, because adding them later means touching every query and every screen.

Architecture decisions we make early

Tenancy model. Shared database with a tenant column, a schema per tenant, or a database per tenant. We usually start with a shared PostgreSQL database and enforce isolation with row-level security, so a forgotten filter in application code cannot expose another tenant’s rows. The design leaves room to move a large customer to a dedicated database later if a contract requires it.

Identity and access. Sessions for the web app, scoped API keys for integrations, and short-lived signed tokens (RS256) when the product is embedded in another platform. Permissions are checked in the backend on every request.

Billing. The billing provider is the source of truth for payments; your product is the source of truth for what each plan allows. Signature-verified webhooks keep the two in sync, and access is never granted from a browser redirect alone.

API first. A versioned REST API with an OpenAPI document, cursor-based pagination and idempotency keys on write requests. For products that AI agents should be able to use, a read-only MCP server sits next to the API.

AI features with limits. Where the product calls LLMs, we add per-tenant cost ceilings, validation of model output, a fallback provider, and a record of model, prompt version, tokens and cost for every call.

What goes wrong between MVP and production

  • Data visible across tenants. Prevented by database-level isolation and automated tests that attempt cross-tenant reads.
  • Billing drift. A missed webhook leaves a canceled customer with access, or a paying customer without it. Idempotent handlers and a daily reconciliation job close the gap.
  • Noisy neighbors. One customer’s bulk import slows everyone down. Background queues and per-tenant rate limits contain it.
  • Blind support. Without an admin console and request IDs in the logs, every support ticket turns into guesswork.
  • Webhooks that fail silently. We sign every outbound delivery, retry with back-off, and disable endpoints that keep failing while telling the customer why.

Security and compliance

We use the OWASP Application Security Verification Standard (ASVS) as the production-readiness checklist and follow the practices of the NIST Secure Software Development Framework (SP 800-218): code review, static analysis and secret scanning in CI, and a documented release process. The revised Swiss FADP applies to personal data processed in Switzerland or with an effect there. The GDPR applies if you offer the product to people in the EU, and the EU AI Act can reach AI features whose output is used there. We design data flows, processor lists and hosting (Switzerland or an EU region) so that your answers to customers’ security questionnaires are accurate.

What drives cost and timeline

Driver Effect on effort
Tenancy and isolation Dedicated databases or regional hosting per customer add build and operating work.
Billing model Seats, usage metering, trials and taxes each add rules and edge cases.
Integrations Every third-party system brings its own authentication, limits and failure modes.
AI features Prompt design, evaluation and cost controls come on top of the feature itself.
Enterprise requirements Single sign-on, audit exports and security reviews arrive with larger customers.
Existing MVP Replacing a no-code or prototype codebase needs data migration and parallel running.

We price the MVP as a fixed-scope project after discovery, then plan later stages against what it teaches you. The stages and a readiness checklist are covered in more depth in from MVP to production.

How it connects to the rest of the business

A SaaS product needs a commercial system around it. Trials and sign-ups flow into CRM and sales automation. Onboarding, billing and usage emails run through email automation. Product data is exchanged with your customers’ tools through API integrations.

Why Sensaria

We build and run platforms of this kind. PingMyUsers, which Sensaria operates, publishes a public REST API with eight endpoint groups and an OpenAPI document, plus a read-only MCP server with 10 tools; free-text requests go through a deterministic parser rather than an LLM, so the same question always gets the same answer. For a client we built a multi-tenant product with PostgreSQL row-level security, signed outbound webhooks with retries and auto-disable, and an embeddable widget authenticated with short-lived tokens. Sensaria AG is based in Lugano, Switzerland, and works in English, Italian, German and French.

What's included

SaaS Development

  1. 01

    Product architecture

    Domain model, tenancy model, service boundaries and data flows decided early and written down, so the MVP doesn't need a rewrite when the first large customer arrives.

  2. 02

    MVP development

    The smallest product that tests your riskiest assumption with real users, on production-grade foundations (authentication, tenancy, logging) that are expensive to add later.

  3. 03

    Multi-tenant systems

    Tenant isolation enforced in the database with PostgreSQL row-level security, plus automated tests that try to read across tenants and must fail.

  4. 04

    Subscriptions and billing integration

    Plans, trials, seats and usage limits modeled in your product; payments and invoices handled by a billing provider such as Stripe Billing and kept in sync through signature-verified webhooks.

  5. 05

    User and team management

    Sign-up, invitations, roles and permissions, scoped API keys and session policies, plus an internal admin console for your support team.

  6. 06

    Public API and MCP server

    A versioned REST API with an OpenAPI document and, where AI agents should use your product, a read-only MCP server next to it.

  7. 07

    Dashboards

    Customer-facing dashboards and an internal view of tenants, usage, failed jobs and webhook deliveries.

  8. 08

    Integrations and webhooks

    Outbound webhooks signed per endpoint with retries and automatic disabling of dead endpoints; inbound webhooks verified and processed idempotently.

  9. 09

    Scaling and ongoing development

    Background queues, caching where it pays off, error tracking and structured logs, and a release process that lets you ship every week.

Typical scenarios

Typical scenarios

  • From validated idea to first paying customers

    A founder with interviews and a waiting list needs a product people will pay for. We scope the MVP around the one workflow customers pay for and launch with billing from the start, so willingness to pay is measured, not assumed.

  • Turning an internal tool into a product

    A system built for one company gains tenants, self-service onboarding and billing, without breaking the workflows of the original users.

  • Rebuilding a no-code MVP in custom code

    When a no-code prototype hits limits on performance, permissions or integrations, we rebuild it with a proper data model, migrate the existing accounts and run both versions in parallel until the switch.

  • Opening a product to developers and AI agents

    A public REST API with an OpenAPI document and a read-only MCP server lets customers' developers and AI assistants query your product directly.

  • An embeddable product for other platforms

    An editor or widget that other software companies embed for their own users, isolated in an iframe, with short-lived signed tokens and per-tenant theming.

FAQ

Frequently asked questions

How long does it take to go from MVP to a production SaaS?

A focused MVP with sign-up, one core workflow and billing typically takes two to four months. Getting from MVP to a production platform that paying customers depend on usually takes another three to six months of releases: roles, audit logs, public API, admin tooling, monitoring and a security review. The pace depends mostly on scope decisions and integrations.

How much does SaaS development cost?

The main cost drivers are the tenancy and hosting requirements, the billing model (seats, usage metering, trials, taxes), integrations, AI features and enterprise demands such as single sign-on or audit exports. We don't publish prices. After discovery we price the MVP as a fixed-scope project and plan the next stages against what the MVP teaches you.

What does production-ready mean for a SaaS product?

Customers can depend on it. In practice: tenant data is isolated at the database level, access is checked on every request, errors are tracked and alerted, backups are restored in tests and not only taken, deployments are automated and reversible, and you can answer a customer's security questionnaire truthfully. We use OWASP ASVS as the checklist for the security part.

How do I choose a SaaS development partner?

Ask how they isolate tenants, how billing state is kept in sync, what their test and release process looks like, and who operates the product after launch. Ask to see a product they built that is live, including its API. Red flags are fixed prices without discovery, no automated tests, and no plan for code ownership and handover.

Which contract model is best: fixed price, time and materials or milestones?

A fixed price works well for a clearly scoped MVP or release. Once the product is live and priorities change weekly, a monthly capacity or time-and-materials arrangement fits better, because you will learn things that change the plan. Milestone payments tied to working software in production combine the two.

Which security standards should a SaaS product follow?

For the application, OWASP ASVS is a practical verification checklist and the NIST Secure Software Development Framework (SP 800-218) describes the development practices around it. SOC 2 and ISO/IEC 27001 are organizational certifications that larger customers may ask for later; building to ASVS and keeping audit logs makes that process much easier.

Does my SaaS need to comply with the Swiss FADP, GDPR and the EU AI Act?

The revised FADP applies when personal data is processed in Switzerland or the processing has an effect there. The GDPR applies if you offer the product to people in the EU. The EU AI Act can apply to AI features whose output is used in the EU, with obligations depending on the risk category. We design data flows, processor lists and hosting with these rules in mind.

Can you take over a no-code MVP and rebuild it in custom code?

Yes. We export the data model and existing records, rebuild the product with proper tenancy, permissions and tests, migrate accounts and data, and run both versions in parallel until users switch. Rebuilding is worth it once the no-code tool limits performance, access control or integrations, not before you have paying users.

Technology we use

  • TypeScript
  • React
  • Next.js
  • Node.js
  • Python
  • FastAPI
  • PostgreSQL
  • Redis
  • Stripe Billing
  • Sentry
Technology

Tell us about your project

SaaS products from the first MVP to a multi-tenant platform: architecture, tenant isolation, subscriptions and billing, user management, public API, dashboards and ongoing development.