Skip to content
Portalby Webisoft®Book a demo

Learn

How to connect an AI agent to your ERP

Connect your ERP to Portal, then add Portal's MCP address in Claude, ChatGPT or Cursor and sign in. The assistant gets only the tools you turn on, and anything that changes data shows a preview you confirm first.

01How it works

The idea.

AI assistants such as Claude, ChatGPT and Cursor can call outside tools through the Model Context Protocol, or MCP. An MCP server is an address the assistant connects to; it lists the tools the assistant may use, like searching products, checking stock or looking up an invoice.

Pointing an assistant straight at your ERP is risky: it would need ERP credentials, it could see far more than the person asking, and nothing stands between a misunderstood prompt and a posted document. Portal sits in between. Its MCP server acts as the signed-in user, nothing more, so a buyer sees their own account and a staff member sees what their role allows.

Changes are off by default. When an admin allows them, every tool that places an order, requests a quote, accepts a quote, requests a return or decides an approval first returns a priced preview. The assistant has to show it and call again with your confirmation, and a preview expires after 10 minutes. Every tool call is written to the activity log with the app that made it.

The trade-off: the assistant works on the data Portal syncs from your ERP and the tools Portal exposes, not on every table in your ERP. For most sales, service and finance questions that is the point.

02Steps

Set it up.

  1. Connect your ERP to Portal

    An admin opens Setup, ERP, ERP system, chooses the ERP and fills in its settings: an address and API credentials for cloud ERPs, or a Connect button for ERPs that sign in with OAuth. Test connection confirms Portal can read it. ERPs that run on your own servers use the On-site connector instead, covered in its own tutorial.

  2. Turn on AI tools for the people who need them

    An admin opens Setup, MCP. There are separate cards for Customer users and Internal users. Tick Allow AI tools on each side you want, pick which tools are offered or keep All tools, and for customers choose All customers or only the accounts you list. Requests per minute, per user, is set under Limits.

  3. Decide whether the assistant may change data

    Allow actions that change data is a separate checkbox per side and is off until you tick it. Leave it off for read-only assistants. When it is on, write tools still ask the user to confirm a preview before anything reaches the ERP.

  4. Copy the address and add it in your AI app

    Customers find Connect an AI tool in their menu; admins see the address on the MCP page. Copy it, then in Claude, ChatGPT or Cursor add a connector or custom integration and paste it. The app opens a Portal sign-in page that says what it may do; choose Allow. Apps that ask for a token instead can use a personal token created under My profile.

  5. Check what it did

    Every call appears in Developers, Activity log as an MCP tool call with the name of the app or token that made it. Reads are also listed in the Access log.

03By ERP

Pick your ERP.

04FAQ

Questions, answered.

Can the AI change data in my ERP?

Only if an admin turns on Allow actions that change data for that group of users. Even then, each change returns a preview first and only goes ahead when the user confirms it, and it reaches the ERP through Portal's command queue like any other order.

Which AI apps work?

Any app that supports MCP servers with sign-in, such as Claude, ChatGPT and Cursor. Apps that only accept a token can use a personal token from My profile.

Can my customers use it too?

Yes. Customer users get their own tools for products, prices, stock, orders, quotes, invoices and shipments, limited to their own account. You choose whether all customers or only some can connect.

Does the assistant need an ERP login?

No. It signs in to Portal as the person using it. Portal holds the one ERP connection.