Web apps & CRM ·

Building a SaaS MVP: scope, stack and the first paying customers

How to scope a SaaS first version around one customer and one job, which stack to choose, the multi-tenancy rules to set on day one, and how to win paying users.

By Kareem Mohamed, Web Developer at Digital House

Building a SaaS MVP: scope, stack and the first paying customers

SaaS MVP development is where good ideas most often stall: either the first version tries to do everything, or it is built so quickly that it cannot take a second customer. Here is how I scope a first version, which stack I reach for, the multi-tenancy decisions to get right from day one, and how to get from launch to the first paying users.

SaaS (software as a service) means customers pay a subscription to use your software in the browser, while you run one shared system for all of them. That shared system is what makes the economics work, and also what makes the early decisions matter.

What an MVP is for

An MVP (minimum viable product) is the smallest version of your software that a real customer will pay for. Not a demo, not a clickable prototype in Figma, and not a smaller copy of the final product. Its job is to prove that a specific type of business will hand over money for a specific result.

That definition rules out a lot. If no one would pay for it yet, it is a prototype, which is fine, but call it one. If it needs ten modules before anyone pays, the idea needs narrowing, not more code.

Scoping the first version

I scope an MVP around one customer type and one painful job. For Step, the customer was a Saudi real-estate office, and the job was keeping leads, properties and owner money in one workspace. The marketplace of apps came later, once the core was in daily use.

  • One customer type. “Small businesses” is not a type. “Clinics with two to five branches” is.
  • One core workflow, done completely, from the first record to the result the customer is paying for.
  • Manual where it is cheap. Onboarding by hand, invoices sent from your accounting software, reports exported by you. Automate once it starts to hurt.
  • A written list of what is out. Recording what will not be built protects the budget more than any estimate does.

Which tech stack should a SaaS MVP use?

A boring one, chosen for how quickly it can change rather than for scale you do not have yet. My default is React for the interface, Node.js with Express for the API, and MySQL or MariaDB for the data. Many developers know it, it runs on affordable hosting, and it will carry an MVP well past its early customers.

AX-SaaS, the HVAC operations platform I built, serves its API, its live updates over Socket.IO and the app itself from a single Node process. One thing to deploy, one log to read, one place to look when something breaks. Microservices (splitting a system into many small, separately deployed services) solve the problems of large teams, and an MVP does not have those problems yet.

  • A relational database for anything involving money, contracts or permissions.
  • Prerendered marketing pages, so the public site can rank; the React rendering article explains why.
  • Managed services for email and file storage rather than building your own.
  • Nothing you will have to fight to add Arabic and right-to-left layouts later.
Six steps from idea to paying customers: narrow the customer, scope one core workflow, build the tenant base, ship to pilot customers, charge from day one, then automate what hurts.
Six steps from idea to paying customers: narrow the customer, scope one core workflow, build the tenant base, ship to pilot customers, charge from day one, then automate what hurts.

Multi-tenancy basics from the first commit

Multi-tenancy means one installation of your software serves many customer companies, each seeing only its own data. It is the part of a SaaS that is hardest to add later, so it belongs in the first week, even while you have a single customer.

The simplest approach that works is a shared database where every table has a company_id, and the server reads that id from the signed login token on every request, never from anything the browser sends.

// every authenticated request gets its tenant from the token, nowhere else
function tenant(req, res, next) {
  const { company_id, role } = req.user; // set by the auth middleware
  if (!company_id) return res.status(403).end();
  req.tenant = { companyId: company_id, role };
  next();
}

app.get('/api/projects', auth, tenant, async (req, res) => {
  const [rows] = await db.query(
    'SELECT id, name FROM projects WHERE company_id = ?',
    [req.tenant.companyId]
  );
  res.json(rows);
});

That is the foundation Step uses for every office it serves. The rest of the rules, from computed balances to idempotent migrations, are in six rules I never break in a multi-tenant SaaS, and the login and permissions side is in web app security basics.

Getting to the first paying customers

Launching an MVP is quieter than people expect. There is no big day; there is a first customer who uses it on Monday and tells you what is missing on Tuesday. Plan for that rhythm rather than for a launch event.

  • Pilot with two or three customers who feel the problem strongly, and agree a price before they start, even a small one.
  • Onboard them yourself. Bringing in their existing data is part of the product; my notes on CSV import will help.
  • Invoice properly from the start. Speak to an accountant about VAT registration before you charge, especially if you sell across borders; invoicing with UAE VAT covers the software side.
  • Watch what they do, not only what they say. Simple usage logs show which screens matter and which nobody opens.
  • Keep a public page that sells, with a clear way to book a demo.
The first paying customer teaches you more than the first thousand free sign-ups.

Expect the first month to change your priorities. Features you were sure about will go unused, and something you thought was minor will turn out to be the reason customers stay. That is the MVP doing its job, and it is why I keep the build in short milestones rather than a long fixed plan.

How long does it take, and what does it cost?

As a rough guide from my own work, a focused B2B SaaS MVP with multi-tenancy, roles, one complete workflow and a simple admin area takes about three to four months, delivered in milestones with something to click every week. Cost follows scope, which is why I break it down in how much does a custom web app cost?

If your first product is really an internal tool that might become a SaaS later, start with the custom CRM development guide instead. Building it with a company_id from day one keeps that door open at almost no extra cost.