Back to BlogWebsites & e-commerce5 min read

Building a SaaS product: accounts, roles, billing and data

Founders tend to plan the feature that makes their SaaS special and underestimate everything around it: tenant separation, team accounts, subscriptions, invoices, audit logs, support tools. A map of those building blocks, what is needed at launch and what can wait.

Blue-lit hall of server cabinets
Photo: Akela999 / Pixabay

A SaaS product needs more than its core feature. Around it sit building blocks that every subscription software has: separate customer workspaces (tenants), user accounts with roles, subscription billing and invoicing, onboarding, an admin back office, security and audit logging, data export and deletion, monitoring and support processes. Many can be simplified or bought at launch, but none can be ignored.

The core feature is the smaller part

The unique feature is what customers buy, and usually what founders describe in detail. In practice, a large share of the build goes into the platform around it. Planning that platform from the start avoids expensive rework when the first paying customers arrive.

1. Tenants: separating customers' data

Each customer organisation (tenant) must only see its own data. Common approaches:

ApproachHow it worksConsider
Shared database, tenant ID on every recordAll customers in one database; every query filters by tenantEfficient; requires strict discipline so no query forgets the filter
Separate schema per tenantOne database, one schema per customerStronger separation; more complex migrations
Separate database per tenantEach customer has its own databaseStrongest isolation, suits regulated or large customers; higher operating effort

Whatever you choose, test tenant separation explicitly. Broken access control is the top risk in the OWASP Top 10, and in SaaS it means one customer seeing another's data.

2. Accounts, teams and roles

Business customers expect several users per account: inviting colleagues, roles such as owner, admin and member, transferring ownership when someone leaves, and removing access. Larger customers often ask for single sign-on with their identity provider. Plan the role model early; retrofitting permissions is costly.

3. Subscription billing

Billing covers plans, trials, upgrades and downgrades, proration, failed payments and retries, invoices with the right tax information, and cancellation. Most SaaS products use an established billing provider rather than building this themselves. Still, your application must know each customer's plan and limits, and react to billing events.

In the EU, check VAT rules for digital services: for business customers the reverse-charge mechanism usually applies, and for consumers VAT depends on the customer's country.

4. Onboarding

The first minutes decide whether a trial becomes a customer. Typical elements: a short signup, sample data or a guided first task, invitations for colleagues, and help where people get stuck. Measure where new users drop off.

5. Admin back office

Your own team needs tools to look up customers, see their plan and usage, help with support requests, extend trials and, with care, act on a customer's behalf. Log every such action. These tools are rarely visible in demos but used every day.

6. Security and audit

  • Secure authentication, with two-factor authentication available.
  • Encryption in transit and at rest.
  • Audit logs of important actions, visible to customer admins on higher plans.
  • Regular dependency updates and security testing.
  • A clear process for incidents, including GDPR breach notification duties.

Business customers will send security questionnaires. Keeping documentation current from the beginning makes them easier to answer.

7. Data protection, export and deletion

For EU customers, you are usually a processor acting on their behalf, which requires a data processing agreement under Article 28 of the GDPR, a list of sub-processors and clear retention rules. Customers must be able to export their data and have it deleted when they leave. The EU Data Act, which applies from 12 September 2025, adds obligations for providers of data processing services, including cloud and SaaS, to make switching provider possible. Check with legal advice how it applies to your product.

8. Operations

  • Monitoring and alerts for errors and performance.
  • Backups with tested restores. See website backups for the principles.
  • Deployment pipelines that allow small, frequent releases.
  • A status page and a way to inform customers about incidents.
  • Cost monitoring, because cloud usage grows with customers.

What to build at launch and what can wait

LaunchLater
Tenant separationSeparate databases for large customers
Accounts, invitations, basic rolesFine-grained permissions, single sign-on
Billing through a provider, plans and limitsUsage-based pricing, complex discounts
Simple onboardingIn-app tours and lifecycle emails
Basic admin tools with loggingFull support console
Security basics, backups, monitoringCertifications, customer-visible audit logs
Data export and deletionSelf-service bulk exports and API

Our article on scoping an MVP explains how to decide what belongs in the first release, and website, web app or SaaS helps confirm that SaaS is the right model.

Our web applications and SaaS team builds SaaS products including these platform parts, and our page on launching an MVP describes how we work with founders. Our web app cost guide explains what drives the budget.

Frequently asked questions

What is multi-tenancy in SaaS?

Multi-tenancy means one application serves many customer organisations, each seeing only its own data. It can be implemented with a shared database, separate schemas or separate databases per customer.

Should I build my own billing system?

Usually not. Established billing providers handle subscriptions, payments, retries and invoices. Your application connects to them and manages plans, limits and access.

What security features do business customers expect from SaaS?

Typically secure login with two-factor authentication, roles and permissions, encryption, audit logs, backups, a data processing agreement and documented security practices. Larger customers often add single sign-on and security questionnaires.

Does the GDPR apply to my SaaS product?

If you process personal data of people in the EU, yes. As a SaaS provider you are usually a processor for your customers, which requires a data processing agreement and appropriate security measures.

Sources

Planning something similar?

Describe your project and we'll reply with questions and, after a free consultation, a written quote.

Contact us