azyware
Technology

Compliance and data rules for AI in SaaS

EZ
Eazyware
· 7 min read
Quick answer

What are the compliance rules for AI in SaaS?

No single regulation governs AI in SaaS. You inherit obligations from your customers: India's DPDP Act, UK and EU GDPR, the EU AI Act for certain uses, sector rules that reach you through regulated clients, and contractual commitments in your DPA. Architecture, not policy documents, is what satisfies them.

No single law governs AI in SaaS. You inherit obligations from your customers and from where their data sits: India's DPDP Act 2023, UK and EU GDPR, the EU AI Act for certain use cases, sector rules that reach you through regulated clients, and the contractual promises in your own data processing agreement. Architecture satisfies those, not policy documents.

This article maps each rule to the specific engineering decision it forces, sets out the evidence an enterprise buyer will ask for before signing, explains what the compliance work costs and when to do it, and names the point at which chasing every certification early becomes the wrong use of your money.

Why a SaaS company inherits compliance rather than choosing it

In most AI projects the company building the feature is also the data controller. In SaaS you are almost always the processor. Your customer decides why the data is processed; you decide how, and you are contractually bound to do only what they instructed. Adding a model to the pipeline changes how, which is why an AI feature triggers fresh diligence even in accounts that signed years ago.

The practical consequence is that your compliance surface is the union of your customers' obligations. One regulated lender in your book brings supervisory expectations with it. One German enterprise brings EU transfer rules. One hospital group brings health-data handling into a product that otherwise never touched it. AI compliance in SaaS is therefore a function of your sales pipeline as much as your roadmap.

The second consequence is that model providers become subprocessors. The moment a customer record leaves your infrastructure for an API, you have added a party to a chain your contract enumerates. Most standard DPAs require you to publish a subprocessor list and to give notice before changing it, and a model swap is a change.

Which rules actually apply to AI in SaaS?

Five regimes cover almost every case, and each forces a different engineering decision rather than a different paragraph of policy.

RegimeReaches you whenWhat it asks of an AI featureThe decision it forces
DPDP Act 2023 (India)You process personal data of people in IndiaLawful basis, purpose limitation, retention limits, breach noticeRetention and deletion of prompts, traces and embeddings
UK and EU GDPRYou have UK or EU customers or data subjectsTransparency, data minimisation, transfer safeguards, rights requestsRegion-pinned processing and a deletion path through the index
EU AI ActThe feature is used in a listed high-risk contextRisk management, logging, human oversight, technical documentationAudit logging and a documented human override
Sector rules via customersA client is a bank, insurer, hospital or public bodySupervisory access, outsourcing governance, incident reportingRight-to-audit clauses and per-tenant deployment options
SOC 2 and your own DPAAny enterprise saleAccess control, change management, subprocessor disclosureRBAC, approvals and a published subprocessor list

The DPDP Act does not impose blanket localisation, but it lets the government restrict transfers to notified countries, which is why a configurable processing region is cheaper to build now than to retrofit. Our plain reading of the statute for engineering teams is in DPDP Act 2023 and AI: what Indian companies must do.

For UK and EU exposure, the Information Commissioner's Office publishes guidance on AI and data protection that reads as an engineering checklist: it addresses lawful basis, accuracy, human review of automated decisions and the records you are expected to keep. It is the most useful primary source we point clients at.

The seven architectural decisions your compliance position is made of

Everything above resolves into a short list of choices. Make them explicitly at design time and the questionnaires answer themselves.

  • Where inference happens. A single global endpoint is simple and fails the first EU or Indian enterprise that asks. Decide early whether processing region is a tenant setting. The trade-offs are set out in the data residency definition.
  • What leaves your perimeter. Redact identifiers before the prompt, or send the record and rely on the provider's zero-retention terms. Both are defensible; only one survives a customer who forbids third-party processing entirely.
  • How long prompts and traces live. Traces are personal data when they contain customer content. Give them a retention period shorter than your product data and enforce it in code.
  • Whether the index is deletable. A deletion request must remove the source document, its chunks and its embeddings. Vector stores make this harder than relational deletes, so test it before you promise it.
  • Who the model can answer for. Retrieval must respect the asking user's permissions, not the tenant's. This is the single most common AI data leak in SaaS, and permission-aware retrieval is how it is prevented.
  • What is logged for oversight. Which model version, which prompt version, which documents were retrieved, what the user did with the answer. Without this you cannot answer an incident question.
  • Which actions require a human. Any AI action with financial, clinical or legal effect needs an approval gate and a record of who approved it.

Customers who cannot accept a third-party model provider at all are the case for a self-hosted deployment. Agentic AI solutions running inside your own VPC start at $31,500 or ₹20,80,000 plus infrastructure, and that premium buys you the accounts that would otherwise be unwinnable.

One pattern is worth stating plainly, because it resolves most arguments between engineering and legal. Treat every artefact the AI feature creates as customer data with the same classification as its source. A prompt built from a support ticket is support-ticket data. An embedding derived from a contract is contract data. Once that rule is written down, retention, residency and deletion stop being separate debates and become one inherited property.

What evidence will an enterprise buyer ask for?

Security review is where AI features are won or lost, and the questions are predictable. Buyers ask for a current subprocessor list naming every model provider, a data flow diagram showing what leaves your infrastructure, retention periods for prompts and traces, evidence that tenant data cannot surface in another tenant's answers, your policy on training, and the name of a person accountable for the feature.

Write those answers once, keep them with the product rather than with legal, and update them when the architecture changes. We published a security questionnaire for AI vendors precisely so buyers and builders can work from the same list, and our own answers live on the trust page.

The other half of the evidence is operational. SSO, RBAC and audit logs are table stakes for an enterprise-ready product, and an AI feature adds a further requirement: the log has to show what the model was given, not only what it returned. AI audit trails: what regulators will ask to see covers what that record needs to contain.

What the compliance work costs, and when to do it

Done at design time, residency configuration, retention enforcement, permission-aware retrieval and audit logging add roughly a fifth to the build of an AI feature in a SaaS product. Retrofitted after a failed security review, the same work costs more and arrives with a deal on hold behind it.

Practical sequencing: build the feature for one region and one permission model, but make region and retention configuration rather than constants. Add per-tenant deployment only when a named account requires it and the contract value justifies the operational overhead. Eazyware's published pricing covers the build; ongoing evidence work, prompt regression after model changes and re-indexing sit in the $750 or ₹40,000 AI add-on to a Care Plan.

Sequencing also depends on who signs. A product sold to engineering teams can ship an AI feature and answer questions afterwards. A product sold to a chief information security officer cannot, because the review happens before the pilot and a missing answer stops the process for a quarter. Look at who signed your last three enterprise contracts and let that decide how much of this work happens before launch rather than after it.

When compliance-first is the wrong first move

Not every SaaS company should start here. If your product handles no personal data, if you sell to small businesses that never send a questionnaire, or if you are still proving anyone wants the feature, pursuing certification before adoption spends the budget on the wrong risk. Ship behind a flag to a small cohort, learn whether the feature earns its place, then harden it.

Equally, do not let compliance become an excuse for a self-hosted model you cannot operate. Running open-weight models well requires GPU capacity, evaluation discipline and on-call cover. If no customer has actually demanded it, a hosted provider with contractual zero-retention terms is the more honest architecture. SaaS automation that nobody can maintain is not safer for being on your own hardware.

A checklist before the first AI feature ships

  • Update the subprocessor list and give customers the notice your DPA requires
  • Confirm the model provider's retention and training terms in writing, not from a marketing page
  • Set and enforce a retention period for prompts, traces and embeddings
  • Prove deletion removes source, chunks and vectors with an automated test
  • Make retrieval respect the asking user's permissions, not just the tenant boundary
  • Log model version, prompt version and retrieved sources on every request
  • Name an accountable owner and write the incident path before launch

Multi-tenant LLM architecture for SaaS covers the isolation patterns behind these rules, AI governance for mid-size companies without a compliance team is the lightweight version for smaller organisations, and our SaaS industry page sets out how we approach product work in regulated accounts.

Compliance for AI in SaaS is not a document you write at the end; it is a set of architectural choices you make at the start and can prove later.

Frequently asked questions

Does the DPDP Act require Indian SaaS data to stay in India?

▾

Not as a blanket rule. The DPDP Act 2023 permits transfers abroad but allows the government to restrict them to notified countries, and sector regulators can impose stricter localisation on their own regulated entities. Build processing region as a tenant-level setting so a future restriction is a configuration change.

Is a model provider a subprocessor under our DPA?

▾

Yes, whenever customer personal data is sent to it. That means adding the provider to your published subprocessor list, giving customers the notice your agreement specifies, and confirming retention and training terms contractually. Swapping one model provider for another is a subprocessor change and triggers the same notice.

What does an enterprise security review ask about AI features?

▾

Consistently six things: which model providers process data, what leaves your infrastructure, how long prompts and traces are retained, whether customer data trains any model, how tenant and user-level isolation is enforced in retrieval, and who is accountable. Prepare those answers as product documentation before the first review.