How a government entity decides what to buy and what to build: residency, policy fit, procurement, exit — and where buying genuinely wins.
The question usually reaches us as build or buy, and it is not really one question. A government entity does not buy an entire system or build an entire system; it buys some services as a finished product, builds what encodes its own policy, and assembles both for the rest. The common mistake is to ask the question at the level of the whole project, which turns the answer into an ideological position rather than an engineering decision. The right level is each service inside the system.
We wrote about cloud versus on-premise and about build versus buy as a general commercial decision. This article stands somewhere else: inside a Saudi government entity, where buying and building carry layers a private company does not face — data residency, regulatory fit, a defined procurement path, and leaving a vendor without stopping the service. And we will say plainly where buying wins, because denying that makes the rest of the text untrustworthy.
Six criteria that decide before price
Price looks like the clearest criterion, which is why it is used first and produces bad decisions. The criteria that actually decide are: whether residency allows the data to live where it must; whether a finished product can express a rule specific to the entity; whether the purchase fits the required contracting path; whether integration with national and internal systems reaches what the work needs; whether you can leave without an outage; and who carries continuity three years from now. Any one of these can eliminate an option regardless of price.
The table below does not rule for either side; it puts each criterion against what it favours. Use it as a discussion tool with finance and legal, not as a list from which one row is chosen. The realistic decision is usually hybrid: a finished product for a supporting service, and custom software for the service that is the entity's actual work.
| Criterion | What favours buying | What favours building |
|---|---|---|
| Where data lives | A provider offering an in-Kingdom region and a clear contractual position on location | Full control of location where a requirement no provider will carry |
| Policy fit | A common process that does not differ between entities | A rule specific to the entity that changes by administrative decision, not by product release |
| Contracting path | A service purchasable under an existing contract or a clearly scoped competition | A scope that needs technical qualification and solution evaluation, not a price comparison |
| Time to service | The need is near and the function exists today | The need is core and the work will not accept an approximate solution |
| National integration | Standard integration over documented interfaces | Deep integration with internal and legacy systems the product does not cover |
| Exit and continuity | Full data export and a short renewable contract | Ownership of code and documents, and a written transition path |
If one row comes out decisively, there is no need for a scoring matrix. The problem starts when rows tie, and the decision gets settled by price, relationship or habit. At that moment the question becomes: which option can we operate three years from now? That is an operational question more than a technical one.
Where buying genuinely wins
Buying wins for services that do not express the entity's distinctiveness: mail and collaboration, the service desk, human resources, survey forms, general dashboards, and standard document management. These are functions the market has solved maturely, and building them from zero consumes a whole team to produce something worse than what exists. If the entity cannot staff year-round operations, buying is not a concession; it is the responsible decision.
The function is common and differs between entities only in detail, so customisation becomes cost without value.
Updates matter more than distinctiveness: you want regular security and usability improvements rather than owning every line.
The internal team is small and cannot run, maintain and develop the service at the same time.
The provider's security evidence is stronger than what you can produce, which is a legitimate reason to choose it, not a reason for embarrassment.
The budget is operational and an annual subscription fits better than a large capital outlay.
The risk is bounded: a supporting service does not stop the entity's work for a day and can be substituted temporarily.
Where buying fails in government
Buying fails when the product is asked to express authority it does not hold. A government entity is not an ordinary customer; it has powers, approval paths, disclosure rules and exception cases that no general product models. When that specificity meets configuration inside a finished product, it usually ends in workarounds: extra fields carrying a second meaning, approvals managed by email, and reports built by hand outside the system. At that point buying saved time at the start and drained years afterwards.
There is a second case: the system itself is the service the entity provides. A licensing portal, a tender platform, a permits system — these are not internal tools; they are the entity's face to the public, and their detail is the policy. Buying a product here means explaining your policy to a vendor at every change and waiting for its release. We discussed how those requirements should be written in government website requirements.
Hosting is a separate question from ownership
A common error is to conflate SaaS with outside the Kingdom. A finished product can run in an in-Kingdom cloud region, and custom software can be hosted elsewhere if the contract allows it. Residency is an independent decision built on data classification, contractual requirements and what the regulator says, not on the purchasing model. We separated the full map in cloud versus on-premise.
But a separate hosting question is not a simple one. Ask about every copy: where it is stored, where it is backed up, where logs are processed, where the support team works, and which subprocessors touch the data. A product that advertises an in-Kingdom region may ship diagnostic logs to a centre outside it, and that is the kind of detail that surfaces in review rather than in the pitch.
Exit is what decides the decision
From reading to shipping
Want this built, not just explained?
Bring us the problem behind the article. We will tell you what it takes, what it costs, and whether we are the right team.
The real difference between a good and a bad decision does not appear in year one but at the moment of change: when the vendor changes, the price rises, the policy shifts, or your data is requested in another format. At that moment you learn whether you bought a service or a dependency. Write the exit plan before signature: export format, who owns the data, handover period, how deletion is proven, and who bears migration cost. Those lines are not easy to negotiate later.
For custom software the exit is different: you own the code, but you need someone who understands it. So the questions become documentation, tests, delivery practice and whether the team can be replaced. Ownership without transferability is not full ownership. We gathered the practical differences in the vendor lock-in assessment checklist, an exercise worth running before the decision rather than after it.
How to decide in a week
List the services inside the system, not the system as a whole. Classify each as common, entity-specific, or mixed. Common is bought, entity-specific is built, and mixed is built on a product or bought with a clear customisation layer. Then test each decision with four questions: can we exit it within six months; can its controls be evidenced; can our team operate it; and will we end up in workarounds a year from now? If the last answer is yes, reclassify.
That exercise takes a week and reveals what a demo session cannot. It also produces a document a buyer can defend before a committee, because every classification has a written reason. If you decide part of the system should be built as a platform, look at how we work on SaaS platforms or on enterprise systems to see how we handle the boundary between what is bought and what is built inside one system.
Frequently asked questions (FAQ)
Is SaaS always cheaper?
No. It can be cheaper at the start and more expensive over years once customisation, migration and a difficult exit are added. The correct comparison covers total cost: subscription, integration, customisation, training, and migration at exit. The costs compared must cover the same period.
Can custom software run inside the Kingdom?
Yes, and it is a common choice for entities needing full control. But location is settled by classification and contract requirements, not by system type. Write the location into the requirement, ask for evidence at acceptance, and do not leave it to a general sentence in the proposal.
What happens to the data when the vendor changes?
A full export in a readable format, an agreed handover period, and proof of deletion afterwards. Write this into the first contract rather than the exit contract, because at the moment of change your negotiating power is weaker.
Can the two be combined in one system?
Yes, and it is the most realistic option. What matters is that the boundary is written down: which service the product owns, which your code owns, how data moves between them, and who fixes what during a failure. A vague boundary produces outages nobody knows how to fix.
Who decides in the end?
The entity decides; the vendor helps produce a defensible decision. A vendor should not decide on the entity's behalf, and the entity should not be left without a map. The best outcome is a decision the entity can explain to an auditor, not one it can explain only to a single vendor.
Sources
Digital Government Authority — reference for government digital transformation and its rules.
Etimad — the national government e-procurement platform.
Bureau of Experts at the Council of Ministers — government competition and procurement regulations.
Saudi Data and AI Authority — personal-data protection and residency.
National Cybersecurity Authority — the national cybersecurity controls.
Cover image: Kyle Sudu, Unsplash License, via Unsplash.

