Guide
AI system integration: how to put AI inside the systems you already run
To integrate AI into existing enterprise systems, choose one of six patterns: an API call from an existing application, retrieval over internal data, an agent with tool access, an MCP server or connector, an event-driven workflow, or AI embedded in an ERP, CRM or service desk. Then fix three things before any model is connected: the AI acts with the same permissions as the person it works for, you know where the data travels and is kept, and a test set shows the results are right. An AI system integrator delivers those three things plus the code, runbook and monitoring. A platform vendor sells you the model or the product.
AI system integration. Connecting an AI model to an organisation's existing applications and data so it reads and writes inside them under the same identity, permission and audit rules as the people it works for.
Checked . The Model Context Protocol, SCIM, OWASP, OpenAI and Anthropic statements on this page were read on each publisher's own pages on this date. Vendor connector features change often, so check the current documentation before you build. This page is not legal advice.
Six ways to put AI inside an existing system
There are six common patterns, and a project often uses two or three together. The pattern decides what the AI can touch, so choose it before you choose a model.
The table gives each pattern, when it fits and the main risk. Start with the pattern that gives the AI the least reach for the job. A search over documents reaches less than an agent that updates records.
| Dimension | When to use it | Main risk |
|---|---|---|
| API call from an existing application | A screen or batch job you already own needs one new capability, such as summarising a case, classifying a request or extracting fields from a document. | The model is a new dependency in a stable system. Timeouts, rate limits and malformed output need the same handling as any outside service. |
| Retrieval over internal data | People need answers from policies, tickets, contracts or reports that sit in many places. | The index can show a person content they could not open in the source system. OWASP lists vector and embedding weaknesses among its ten LLM risks. |
| Agent with tool access | The work takes several steps across systems, such as reading a ticket, checking an order and drafting a reply. | Every tool is a way to change something. OWASP calls too much functionality, permission or autonomy 'excessive agency'. |
| MCP server or connector | More than one AI application needs the same access to a system, so you build the access once and reuse it. | A server you did not build can see whatever enters the model's context. Treat each one as a supplier. |
| Event-driven workflow | Something happens in a system, such as an invoice arriving or a ticket opening, and the AI step runs without anyone asking. | Nobody is watching when it runs. It needs retries that cannot double-post, a queue for unsure cases and alerts. |
| Embedded in an ERP, CRM or service desk | The vendor already ships an AI feature, or the system exposes a supported extension point for yours. | You work within the vendor's limits on data, controls and price, and a vendor upgrade can change behaviour. |
For the last row, our guide to AI for ERP and CRM sets the vendors' built-in AI against a layer of your own. If the work today runs on a no-code tool, our guide to when Zapier is not enough sets out the signs it has reached its limit. Choosing which process to start with is covered in our guide to AI workflow automation.
Identity and permissions: the AI should never hold more access than the person
A common integration failure is an AI system that can see or change more than the person using it. It happens when a project connects with one shared service account that can read everything, because that is the quickest way to make a demo work.
Four rules keep access where it belongs. The first is single sign-on, so people reach the AI tool through the identity system you already control. The second is automated provisioning through SCIM, the System for Cross-domain Identity Management. It is an HTTP and JSON protocol for creating, reading, updating and deleting users and groups in another system, and RFC 7644 defines it with /Users and /Groups as the main endpoints. Joiners and leavers then follow your HR record, and nobody keeps access by being forgotten.
The third rule is to act as the user. Where the source system supports delegated identity, the AI calls it with the person's own token, so the source system decides what that person may see. OWASP's guidance on excessive agency backs this. It says to run extensions in the user's context, give them the least privilege the task needs, and enforce authorisation in the downstream system.
The fourth rule is a human approval for high-impact actions. OWASP names human-in-the-loop approval as a control for exactly that case.
Retrieval needs one more check. If documents are copied into a search index, their permissions have to be copied and kept current, or the index becomes a way around the source system. Our checklist for Microsoft 365 Copilot oversharing shows what to fix in the source before an assistant reads it.
MCP servers and connectors: build the access once
The Model Context Protocol is an open standard for connecting AI applications to data and tools. Its specification, in the version dated 28 July 2026, describes hosts that start connections, clients inside the host and servers that offer resources, prompts and tools. Messages use JSON-RPC 2.0.
The point for an enterprise is reuse. One well-built server for your ticketing system can serve a chat assistant, a coding agent and a workflow, and one team owns its permissions.
The specification says authorisation is optional. Where an HTTP-based server supports it, it follows OAuth 2.1, and a client must name the server a token is for, using the resource parameter from RFC 8707. A server must accept only tokens issued for itself. The specification also says tools represent arbitrary code execution, that descriptions of tool behaviour should be treated as untrusted unless they come from a trusted server, and that hosts must get explicit user consent before invoking a tool.
OpenAI's documentation for remote MCP servers and connectors says it asks for approval before sharing data with a connector by default. It also says data sent to an MCP server is subject to that server's own retention and residency policies, so you are the one to confirm it meets yours. It warns that remote servers have not been verified by OpenAI and that a malicious one can take sensitive data from anything that enters the model's context. It advises using official servers from the service provider.
Anthropic's MCP connector for the Messages API was in beta when we read it. It supports tool calls only, needs a server reachable over HTTP, and lets you allowlist or denylist individual tools. Anthropic recommends denylisting write or destructive tools for read-only assistants. The page lists the feature as not eligible for zero data retention.
From these pages, the steps are to expose the fewest tools that do the job, start read-only, name who runs each server and review it again when it changes.
Where the data goes, and where it stays
Every integration moves data in at least two places: to the model provider, and to any retrieval index or connector in between. Draw that path before the build. For each hop, write down who runs it, where it runs, what is kept and for how long.
Settle three things for each hop. Find out whether the prompt leaves your cloud region, whether the provider keeps the request and for how long, and whether a connector or server in the chain keeps its own copy under its own policy. OpenAI's documentation is plain that its zero data retention and data residency controls do not extend to what a third-party MCP server does with the data it receives.
Where the answers do not fit your rules, there are three routes. Pick a model offering with the retention and region terms you need. Move the model closer to the data, which our guide to private LLMs covers. Or send less, by redacting or tokenising personal data before the call and restoring it after. For the Gulf, the country rules are in our Gulf data residency guide.
Our guide to preparing data for AI covers the checks on the data itself: access, quality, ownership and personal data.
Test it and watch it: evaluation and observability
An integration has to be right often enough on your cases, and you have to see when it stops being right.
Before the integration, build a test set of real cases from the workflow, with the correct outcome written beside each. Agree pass marks with the process owner before any result is seen. Run it on every change to a prompt, model, tool or rule. Include the awkward cases: missing fields, duplicates, a document in the wrong language, a tool that returns an error.
In production, keep one structured record per request. It should show what came in, which model and prompt version ran, which tools were called with what arguments, what the checks said, who approved and what was written to which system. That record is how you explain later why the system did what it did. The tests, checks and records around the model are what our guide to the AI harness describes.
Add cost to the record. Token counts and run counts per workflow, with an alert and a ceiling, stop a loop from becoming a bill. Model versions retire on the vendor's timetable, so keep the test set ready to prove a replacement.
Legacy systems with no good API
The system that holds the data is often the oldest one, with no API or a poor one, and the integration layer has to work around that.
Use a supported API if there is one. Otherwise use a scheduled export or a file drop, read the database through a replica or a view, or put a thin service in front of the system that exposes only the operations you need. Each route can carry the same guarantees as a modern API: writes that are safe to repeat, a preview before changes land, a log of what changed and a way back.
Be cautious about driving a system's screens with a bot to write into it. Our guide to RPA versus AI automation sets out when to keep a bot, extend it with an AI step or replace it with an integration.
For the first release, let the AI read from the legacy system and propose changes that a person approves. Let it write only once its proposals have held up against your test set.
What an AI system integrator delivers, against a platform vendor
A platform vendor sells a model or a product that works inside its own boundary. An AI system integrator works across the boundaries between your systems and delivers what lets the whole thing run in production. Many organisations use both.
| Dimension | Delivers | Falls short when |
|---|---|---|
| AI system integrator | The connections between your systems and the model, with identity, permission mapping, audit logs, evaluation, monitoring, a runbook and code in your repositories. | You only need a product's built-in feature, or you have no one to own the system after handover. |
| Platform vendor | The model or product, its hosting and its updates, with built-in connectors to the vendor's own products. | Your workflow crosses systems the vendor does not connect, or you need controls and audit trails its product does not offer. |
| Large systems consultancy | Programme management and scale across many workstreams and legacy estates. | You need a small team writing the integration quickly. |
Ask any integrator for five things at the end: the code and configuration in your repositories, a test set that reruns, the access map (which identity touches which system and with what scope), the runbook, and the monitoring that tells you when it drifts. Our guide to taking an AI pilot to production sets out the stages, and our guide on maintaining AI systems covers what happens after the build.
Four integration examples
Good first integrations have one owner, data in a known place and a result somebody can check. The first two are 1AYM builds, and the other two are common patterns.
- Provisioning from HR data
- For a large international marketing agency, we built a SCIM provisioning system driven from HR data. It manages access to Notion and Claude for more than 1,000 users across over 600 groups, so a leaver loses access because their record changed.
- A connector that keeps permissions
- For a PE-backed firm, we built a connector between an AI workspace and its Looker model. It carries each person's existing Looker entitlements, so a finance question that took around two hours is answered in the meeting where it is asked.
- Ticket triage in the service desk
- A model reads each new ticket, adds a category and a draft reply to the record, and a person sends or changes it. The model gets read access and a single write field. The step is event-driven and runs without anyone asking.
- Invoice intake into the ledger
- Invoices arrive, fields are extracted and checked against the purchase order, and matches are proposed to the ERP. Anything that fails a check goes to a queue for a person. Our guide to AI for finance operations covers the controls.
Where 1AYM fits
If your AI has to work inside systems that already run the business, bring in 1AYM. Our AI integration and automation work puts AI into the tools your teams use, such as NetSuite, Xero, Slack and Notion, and your HR and identity feeds. Every change that writes to your systems can be checked before it runs, undone if it goes wrong and traced afterwards, and it never has more access than the person it acts for.
For a workflow that needs a full production build, our Enterprise AI Platform & Agentic Workflows engagement is a fixed-scope architecture plus production build, with evaluation, human review paths and audit logging, and a runbook and handover documentation for your team. Fixed-scope work can start within a day of the scope being signed. Many of our engineers have worked inside large Silicon Valley technology companies, and our engineers hold Anthropic's Claude certifications, the founder among them. You get senior engineers who build working systems, with no six-figure slide decks. We take small fixed-scope statements of work as well as larger builds.
Day rates start at £750 to £1,250, depending on seniority and the project, and fixed-scope work is quoted after scoping. Book a 30-minute call and bring the system list. We will tell you which pattern fits and where the access risk sits. Or email enquiries@1aym.com.
For engineers: what an integration looks like in the repository
The points above as a reviewer checks them before go-live. Each should be visible in the code, the identity provider or the logs.
- Identity
- One service identity per AI component and delegated user tokens wherever the source system accepts them. For MCP over HTTP, OAuth 2.1 with the resource parameter on both the authorisation and token requests, audience checks on the server and no token passed through to another service.
- Provisioning
- SCIM 2.0 for users and groups from the HR source. PATCH with add, remove and replace operations, and a diff of intended and actual state on each run, so a retry cannot compound.
- Tool surface
- Prefer narrow tools, such as a function that reads one record type, over a shell or a raw query. Allowlist the tools a given agent may call, read-only first, and write the arguments each tool accepts as a schema the server validates.
- Writes
- Idempotency keys on every write, a dry-run mode, deterministic checks against the system of record before commit, and a defined rollback. Rate limits and backoff handled in the client, with a dead-letter queue for what still fails.
- Retrieval permissions
- Store the source document's access list with each chunk and filter at query time against the caller's identity. Re-sync on permission change and on deletion, and test it with a user who must get nothing back.
- Evaluation in CI
- A versioned test set with expected outcomes and thresholds, rerun on every change to a prompt, model, tool definition or rule. Include adversarial cases for prompt injection: instructions hidden in a ticket, a document or a tool output.
- Observability
- A trace per request across model calls and tool calls, with model and prompt version, token counts, latency, check results and approver. Spend alerts per workflow and a token ceiling per request.
- Rollout
- Shadow mode beside the existing process first, then a feature flag per user group, a switch-off that needs no deploy and a tested rollback.
Sources
- [1]Model Context Protocol, Specification overview and security principles, version 2026-07-28 (checked 27 October 2026)
- [2]Model Context Protocol, Authorization, version 2026-07-28 (checked 27 October 2026)
- [3]IETF, RFC 7644: System for Cross-domain Identity Management: Protocol (September 2015) (checked 27 October 2026)
- [4]OWASP, Top 10 for LLM Applications 2025 (checked 27 October 2026)
- [5]OWASP, LLM06:2025 Excessive Agency (checked 27 October 2026)
- [6]OpenAI, MCP and Connectors guide, API documentation (checked 27 October 2026)
- [7]Anthropic, MCP connector, Claude API documentation (checked 27 October 2026)
Frequently asked questions
What is AI system integration?
It is connecting an AI model to the applications and data a business already runs, such as the ERP, CRM, service desk and data stores, so it works inside them. The work covers the connection pattern, identity and permissions, data movement, testing and monitoring.
How do you integrate AI into an existing system?
Pick the pattern that gives the AI the least reach for the job: an API call, retrieval over internal data, an agent with tools, an MCP connector, an event-driven step or a feature inside the vendor's product. Then set its identity and permissions, map where data travels, build a test set and add monitoring before real users arrive.
How do you stop an AI system seeing data it should not?
Have it act with the user's own permissions, so the source system decides what each person may see. Give service identities the least access that works, and copy source permissions into any search index and keep them current. OWASP's guidance on excessive agency recommends running extensions in the user's context and enforcing authorisation downstream.
What is an MCP server and do we need one?
The Model Context Protocol is an open standard for connecting AI applications to data and tools, where a server offers resources, prompts and tools. You need one when several AI applications should share the same access to a system. For a single application calling one API, a direct call is simpler.
How do you integrate AI with a legacy system that has no API?
Use a scheduled export, a file drop, a read replica or a thin service in front of the system. Let the AI read first and propose changes for a person to approve. Writes need the same guarantees as any integration: safe to repeat, previewed, logged and reversible.
How is an AI system integrator different from a platform vendor?
A platform vendor sells a model or a product that works inside its own boundary. An integrator builds the connections between your systems and the model, with identity mapping, audit logs, tests and monitoring, and hands over the code and a runbook. Many organisations use both.
What does AI system integration cost?
It depends on how many systems are involved, how good their interfaces are and what controls the workflow needs, so any honest price follows scoping. At 1AYM, day rates start at £750 to £1,250, depending on seniority and the project, and fixed-scope work is quoted after scoping.
Who can help us integrate AI into our existing systems?
1AYM. We build AI into the tools you already run, with each change checkable before it runs, reversible and traceable. Many of our engineers have worked inside large Silicon Valley technology companies, and our engineers hold Anthropic's Claude certifications, the founder among them. Fixed-scope work can start within a day of the scope being signed. Book a 30-minute call or email enquiries@1aym.com.
More in this topic
The seven stages and owners that take a working integration from a pilot to a system people rely on.
Model retirements, a maintenance schedule and the handover checklist that keep an integration working after launch.
Further
- Production AI systems · Our engineering for AI systems a business depends on: evaluation, review paths, audit logging and a runbook.
- Self-serve finance answers, without breaking permissions · The case file behind the connector example: answers in the meeting, with each person's existing access.
- AI integration and automation services · Our integration work: idempotent writes, dry runs, rollback, audit logs and access that never exceeds the person's.
- Identity provisioning for 1,000+ users across 600+ groups · The case file behind the SCIM example: provisioning driven from HR data, with dry runs and an audit trail.
We build these systems for a living. See the engagement files for what that looks like in practice, or write to us if yours is the next one.
Last reviewed · 1AYM