Executive summary
A production SaaS platform is not a dashboard connected to a database. It is a system of record for organizations, users, permissions, domain state, workflows, billing, integrations and operations.
The dashboard is not the product. The product is the state machine behind it.
1. Start with the customer and ownership model
Define whether the customer is an individual, an organization, a location, a business unit or a hierarchy of accounts. That decision determines data ownership, invitations, roles, billing and reporting.
2. Separate identity from authorization
Authentication proves who the user is. Authorization decides what that user may do inside a specific organization and resource. Model memberships, roles and permissions explicitly instead of scattering role checks through UI code.
3. Make domain state explicit
Orders, inspections, bookings, documents or service cases need authoritative lifecycle states. A workflow should define legal transitions, who may trigger them, side effects and exception paths.
Organization → Membership → Role → Permission
↓
Domain record → Workflow state → Audit event4. Treat billing as product state
Plans, entitlements, trials, usage, invoices, payment status and access rules belong to the product model. The payment rail can be card, bank transfer, USDC through a managed provider such as CoinGate, or a custom on-chain flow. The SaaS should still own the commercial obligation, entitlement state, reconciliation and audit trail.
5. Design integrations for failure
A reliable integration is more than an API call. Verify incoming events, persist them, process idempotently, use queues where appropriate, retry safely and preserve enough context for support and reconciliation.
6. Add realtime only where business state needs it
Operational dashboards, dispatch, collaboration and live status can justify WebSockets or event streams. Realtime transport should not become a second source of truth.
7. Make AI subordinate to product rules
AI can classify, summarize, recommend and invoke controlled tools, but it should operate through the same permissions, business rules and audit layer as human actions.
8. Build operations into the product
Admin tools, audit history, telemetry, support context, retries and reconciliation are part of production architecture. They determine whether a product remains operable after the first release.
A practical architecture sequence
- Map organizations, actors and ownership.
- Define domain records and lifecycle states.
- Design permissions and workflow transitions.
- Model billing, entitlements and payment rails.
- Define integration failure semantics.
- Add observability and operator controls.
- Only then optimize the interface around real workflows.
