Robustech
Build a SaaS step by step: The full checklist. An orange block placed on top of a glass building-block structure

Custom CRM & Micro-SaaS

How to Build a SaaS Platform: A Sourced Component Checklist

What a first SaaS platform needs: auth, tenancy, billing, admin, onboarding, analytics and security, plus build phases, SOC 2 basics and when not to build.

By Issa Badran · Published · 11 min read

Building a SaaS platform means building two products at once: the feature your customers pay for, and the shared machinery (sign-in, customer separation, billing, admin and onboarding) that lets one codebase serve many paying companies safely. The second part is easy to underestimate. Validate demand before writing code, keep the architecture as simple as possible, and treat access control as the one thing you cannot get wrong. This guide covers each component, the order to build them in, what SOC 2 actually is, and when you should not build at all.

Key Takeaways

  • A SaaS platform is defined by shared identity, onboarding and operations across many customers, not just by being hosted in the cloud.
  • Broken Access Control is the number one risk in the OWASP Top 10:2025, so roles and tenant separation belong in the first sprint, not the last.
  • Start with one shared codebase and database; Microsoft advises avoiding per-customer forks and using feature flags or tenant configuration instead.
  • Let a billing platform's webhooks, not your checkout page, decide who has access.
  • SOC 2 is a CPA's report on your controls. Pursue it when customers ask, and screen "fast and easy" providers.
  • In CB Insights' 2026 analysis of startup shutdowns, 43% cited poor product-market fit. Validation comes before code.

What Makes Software "SaaS" and Not Just a Custom App

A custom app serves one organization. A SaaS platform serves many organizations (called tenants) from one product, each with its own users, data, settings and bill. If you build a dispatch tool for your own plumbing company, that's a custom app. If you sell the same tool to other plumbing companies, each logging into their own account, that's SaaS.

The difference shows up in the plumbing, not the features. AWS makes the point in its SaaS guidance: even when each customer gets dedicated infrastructure, a true SaaS product still relies on shared identity, onboarding and operations, and that shared layer is what separates SaaS from a managed-service model (AWS SaaS Lens). In practice, retrofitting multi-tenancy later usually means reworking many tables and permission checks.

If you only need software for your own team, for example a CRM shaped around your sales process, you probably don't need SaaS architecture at all. Our comparison of a custom CRM versus Salesforce and HubSpot covers that decision.

The SaaS Component Checklist

Every SaaS platform, whatever it does, needs the same core components. The table below explains each in plain English, the minimum you need at launch and the mistake first builds make most often.

Component What it does Minimum for launch Common first-build mistake
Authentication Proves who a user is Proven auth provider or library, password reset, optional multi-factor sign-in Writing your own password storage and session handling
Authorization (RBAC) Decides what each user can do Roles per customer account (owner, admin, member), checked on the server for every request Hiding buttons in the UI but not blocking the request on the server
Tenancy Keeps each customer's data separate A tenant ID on every record, enforced in one central place Adding tenant filters by hand to each query
Billing Charges customers and controls access Plans, trials, payment collection and webhooks that grant and revoke access Granting access from the checkout success page instead of from confirmed payment events
Admin console Lets your team support customers Find a tenant, view its plan and users, disable an account, logged "view as customer" access Fixing customer problems by editing the production database by hand
Onboarding Gets a new signup to first value Sign-up, workspace creation, teammate invites, a guided first task Asking for every setting before the user sees anything useful
Analytics Shows how customers use the product Product events tagged with tenant and user, activation and usage tracking Events with no tenant attached, so you can't see which accounts are at risk
Security operations Protects all of the above Dependency scanning, secrets management, logging, backups with tested restores Treating security as a project to start right before an audit
The seven parts every SaaS needs: login and permissions, customer separation, billing, admin console, onboarding, analytics and security habits
The seven parts every SaaS platform needs.

Authentication and Role-Based Access Control

Authentication answers "who are you?" Authorization answers "what are you allowed to do here?" Both rank high in the OWASP Top 10:2025: Broken Access Control is the number one risk and Authentication Failures is number seven.

For a first SaaS, use a proven authentication provider or a well-maintained framework library rather than building your own. Spend your engineering effort on authorization, because that's where your product's rules live. In SaaS, roles belong to a membership, not to a user. The same person can be an admin in one customer account and a read-only member in another.

Here's an illustrative table sketch showing that idea:

-- Illustrative only: a user's role lives on their membership in a tenant
create table memberships (
  user_id   uuid not null references users(id),
  tenant_id uuid not null references tenants(id),
  role      text not null check (role in ('owner', 'admin', 'member')),
  primary key (user_id, tenant_id)
);

Every request your server handles should resolve the current user, the current tenant and the user's role in that tenant before touching data.

Tenancy

Tenancy is how you keep each customer's data apart. The main options range from a separate database per customer to one shared database where every row carries a tenant ID. Microsoft notes that choosing a tenancy model "isn't only a technical decision. It's also a commercial decision" (Microsoft Learn), because it shapes your cost per customer and what you can promise enterprise buyers.

For most first products, start shared. Microsoft's guidance is to keep the architecture "as simple as possible," avoid forking code or building custom infrastructure per tenant, and handle customer differences with feature flags or tenant configuration (Microsoft Learn). Our guide to multi-tenant SaaS architecture compares the models and covers row-level security in depth.

Billing

Billing is more than a payment form. It covers plans, trials, upgrades, failed payments, tax and, most importantly, the signal that turns a customer's access on or off. Stripe is a common choice for US SaaS products. As of October 2026, Stripe lists domestic card processing at 2.9% + 30¢ per successful charge, and Stripe Billing's pay-as-you-go pricing adds 0.7% of Billing volume (Stripe pricing).

The technical rule that matters most: access should follow confirmed payment events delivered by webhook. Stripe's documentation says not to rely on events arriving in order, to deduplicate by event ID, and to return a success response quickly before running complex logic (Stripe Docs). Our Stripe subscription billing guide walks through fees, proration, dunning, tax and the webhooks you must handle.

Admin Console

Your support team needs a safe way to look up a customer, see their plan and users, extend a trial or disable an account. Without an admin console, those jobs become ad hoc database edits, which are slow and risky. If you let staff "view as customer" to troubleshoot, log every session: who viewed which tenant, when and why. That log will matter later if you pursue SOC 2.

Onboarding

Onboarding is the path from sign-up to the first moment the product proves its worth. Practitioner guidance is to create the workspace automatically, ask only for what's needed to reach that first useful result, and make inviting teammates easy. Pre-filled sample data or a guided first task often helps more than a long settings wizard.

Analytics

You need two kinds of data: product analytics (which features each account uses) and business metrics (signups, activation, upgrades, cancellations). The key design choice is to attach a tenant ID and user ID to every event from day one. Without that, you can't tell which customer accounts are healthy and which are drifting toward cancellation.

Security Operations

Security is a set of habits, not a feature. Software Supply Chain Failures rank number three in the OWASP Top 10:2025, which is a reminder that the open-source packages you install are part of your attack surface. At minimum, scan dependencies automatically, keep secrets out of your code repository, log authentication and admin actions, and back up data in a way you've actually tested restoring.

Choosing a SaaS Tech Stack

There's no single correct stack, but there are safe defaults for a first product:

  • A language and framework your team already knows. Familiarity beats novelty when you need to ship and maintain.
  • A relational database, usually PostgreSQL. SaaS data is relational (tenants, users, records, invoices), and PostgreSQL offers row-level security and strong JSON support. Both come up in our CRM data model guide.
  • Managed authentication. Sign-in, password reset, multi-factor and single sign-on are hard to get right and easy to buy.
  • Hosted billing. Use Stripe or a merchant of record rather than building payment flows.
  • One deployable application. Splitting into microservices early multiplies the number of things that can break. Split later, when a specific part of the system needs to scale on its own.

The stack matters less than the discipline around it: automated tests, repeatable deployments and database migrations kept in version control.

SaaS Build Phases, in Order

We deliberately don't attach durations or budgets to these phases. There's no credible public benchmark for SaaS build cost or timeline, because scope varies enormously, so treat any single number you see online with suspicion. The order is what matters.

  1. Validate the problem and the price. Talk to buyers, run a manual or "concierge" version of the service, and ideally collect pre-orders or letters of intent before writing code.
  2. Design the data model and tenancy model. Decide what a tenant is (a company, a location, a team), how data is separated and which roles exist. Changing this later is expensive.
  3. Build identity and tenant plumbing first. Sign-up, sign-in, workspaces, invites and role checks, with automated tests that try to cross tenant boundaries.
  4. Build the core workflow. One job, done well enough that customers would be upset to lose it.
  5. Add billing and plan enforcement. Plans, trials, webhooks and the logic that limits features by plan.
  6. Build admin and support tools. Tenant lookup, account controls and logged support access.
  7. Harden before launch. Dependency scanning, monitoring, alerting, backup restore tests and a security review focused on access control.
  8. Run a private beta with paying design partners. Real customers paying real money surface problems no internal test will.
  9. Launch, measure and iterate. Use your analytics to see where new accounts stall during onboarding and fix that before adding features.

SOC 2, Explained Plainly

SOC 2 is not a certification you buy. It's a report written by an independent CPA firm, under standards set by the AICPA, describing your controls and the auditor's opinion of them (AICPA). Larger customers ask for it during security reviews because it saves them from auditing you themselves.

A SOC 2 report is organized around five trust services categories: Security, Availability, Processing Integrity, Confidentiality and Privacy. The current AICPA SOC 2 guide is the October 2022 edition (AICPA). In practice, Security is the core category, and the others are added when they matter to your customers.

There are two report types:

  • Type 1 looks at whether your controls are designed properly at a single point in time.
  • Type 2 looks at both design and whether the controls actually operated effectively over a period of time. Because it covers operating effectiveness over a period, Type 2 gives buyers more assurance than a point-in-time Type 1.

Practical guidance for a first SaaS:

  • Don't chase SOC 2 before customers ask. In our experience, early buyers may accept a security questionnaire and a clear description of your practices.
  • Build the habits early. Access reviews, logged admin actions, code review, change management and tested backups are good engineering anyway, and they make a later audit far smoother.
  • Screen your providers carefully. The AICPA has warned about "fast and easy" SOC providers and says SOC services should be thoroughly evaluated (AICPA). A report that a buyer's security team doesn't trust is worth little.

If your product handles health or card data, separate rules such as HIPAA and PCI DSS apply on top of SOC 2, and a growing number of US states have their own privacy laws. Get qualified legal and compliance advice before you store that data.

When Not to Build a SaaS Platform

Building is the right call less often than founders hope. CB Insights analyzed 431 VC-backed companies that shut down since 2023, with identifiable reasons for 385 of them. Companies could cite more than one reason: 43% cited poor product-market fit, 29% bad timing or macro conditions and 19% unsustainable unit economics. Seventy percent "ran out of capital," but CB Insights notes this is usually the final cause rather than the root problem (CB Insights, March 2026). Those are venture-backed startups, not bootstrapped tools, but the lesson carries over: products more often fail for lack of demand than for lack of code.

Don't build, or not yet, if:

  • You haven't validated demand. If nobody has paid or committed to pay, the most valuable next step is selling, not engineering.
  • An existing SaaS covers most of the need. Configuring or extending an existing tool is usually cheaper than owning a whole platform. Build when the gaps are central to how you make money.
  • You can't fund ongoing operations. Launch is the start of the cost, not the end. Hosting, security patching, support, backups and feature work continue every month.
  • You'd handle regulated data without a compliance budget. Health records or stored card data bring obligations you need to plan and pay for from the start.
  • You're building SaaS when you need an internal tool. If the only customer is your own company, skip the multi-tenant machinery and build a simpler custom application.

Building Your First SaaS Platform

A first SaaS succeeds on boring fundamentals: proven demand, one shared and well-separated data model, server-side access control, webhook-driven billing and operational habits that make a later SOC 2 audit routine. Get those right and the features you care about have a stable base to grow on. If you're weighing a custom platform or a CRM built around your own operations, Robustech's custom CRM and SaaS development team can help you scope a phased build you own outright.

Frequently asked questions

What features does a SaaS MVP need on day one?

It needs secure sign-in, roles inside each customer account, strict separation between customers' data, a way to take payment and switch access on and off, basic admin tools for your team, and the one core workflow customers are paying for. Everything else, including most integrations and advanced reporting, can wait until paying users ask for it.

Should my first SaaS be multi-tenant from the start?

Usually yes, in the simple sense: one codebase and one database, with every row tagged by the customer it belongs to. That shared model is the cheapest to run and the easiest to update. Microsoft's guidance is to keep the architecture as simple as possible and to avoid forking code or infrastructure per customer, using feature flags or tenant configuration instead.

Do I need SOC 2 before selling to businesses?

Not usually before your first customers. SOC 2 is a CPA firm's report on your controls, and it becomes necessary when larger buyers start asking for it in security reviews. Build good habits early (access reviews, logging, change control) so the audit documents what you already do, and screen any provider that promises a fast and easy report, which the AICPA has warned about.

Which tech stack is best for a SaaS MVP?

The one your team already knows well, with a large community and good documentation. A relational database such as PostgreSQL, a managed authentication provider, a hosted billing platform such as Stripe and a single deployable application cover most first products. Exotic choices add risk without helping you find customers faster.

How do I keep one customer from seeing another customer's data?

Tag every record with a tenant ID, enforce the tenant filter in one central place in your code rather than in every query, and add a database safeguard such as PostgreSQL row-level security as a second layer. Then write automated tests that log in as one customer and try to read another customer's records. Broken access control is the top risk in the OWASP Top 10:2025.

Keep reading

Ready to own your revenue engine?

Book a free strategy call. We will audit your ads, site, CRM and follow-up and show you where leads are leaking.