Which integration methods are used?
Depending on the structure of the system being connected, one or more of the following methods are used together:
- API Connecting through the interface the system officially provides; this is the best option in terms of security and ease of maintenance.
- Middleware An integration layer that brings several different systems together under a single interface.
- Reading from the data platform Analytical queries are served from a data warehouse or lakehouse instead of the operational system.
- RPA bridge Screen automation used as a last resort for legacy systems that do not offer an API (AI agent vs RPA).
- MCP server Model Context Protocol (MCP) is an open protocol that lets agents connect to tools and data sources through a standard interface. When a system's API is exposed as an MCP server, the same connection can be reused with different models and agents. MCP is a connection standard; the permission and logging principles below apply equally to MCP servers.
5 principles for a secure integration
- Keep tools narrow in scope Instead of giving the agent access to the whole system, give it tools that can perform only the actions its task requires.
- Never exceed the user's permissions The agent must not perform any action that the person it acts on behalf of could not perform (data access permissions).
- Separate reading from writing Reading data can be allowed directly, while creating a new record or changing an existing one can require human approval.
- Log every action with a full audit trail For every action the agent carries out, it must be possible to trace afterwards on whose behalf and for what reason it was done.
- Test in a test environment before going live Validate write operations in a test environment before opening them up to the real system.
What should you watch out for?
Agent integration must be designed so that it does not degrade the performance of core systems. Routing heavy analytical queries to the data platform instead of the operational system and capping the number of calls the agent can make are key elements of this design.