How to connect an AI agent to ECI Deacom
Connect Deacom to Portal, then add Portal's MCP address in Claude, ChatGPT or Cursor and sign in. The assistant answers from Deacom data synced into Portal, and anything it changes, like a Deacom sales order header with one line per item, for the facility you set, waits for your confirm.
About ECI Deacom.
Deacom ERP is an all in one ERP for batch and process manufacturers and distributors, covering batch manufacturing, quality control, production scheduling and inventory in one system. Deacom, Inc. was based in Chesterbrook, Pennsylvania, and ECI Software Solutions completed its acquisition on September 2, 2021, which is why the product is now known as ECI Deacom.
Deacom runs as a cloud site hosted by ECI or on premises for Enterprise customers who install the API server on their own IIS. Integrations use the Deacom Public API, available from version 17.03.008: a create, read, update and delete API over the tables and fields Deacom exposes, with a Swagger page on each site.
Portal by Webisoft is a B2B portal for ECI Deacom: customer self-service and team apps on live Deacom data.
Why connecting to Deacom is hard.
Pointing an assistant at Deacom's Public API means teaching it table relationships and valid records. Portal gives it tools on synced Deacom orders, inventory and jobs and writes only what a person confirms.
Tokens that last 15 minutes
ECI supplies a client ID and client secret, and there is no long-lived API key: each call to POST /api/authenticate returns a bearer token valid for 15 minutes. Any integration that syncs all day has to renew that token on its own, and on premises the secret is shown once and has to be reissued by the ECI Deacom team if it is not copied.
Table rows, not business documents
The Public API exposes Deacom's database tables and fields, so an integration writes rows rather than calling a create sales order service. Deacom says you need to understand the table relationships and what is required to create a valid record, and points customers who lack that knowledge to paid training hours.
On premises means your own API server
On premises Enterprise customers host the API themselves: an ASP.NET web hosting bundle on the API server, a certificate for the IIS site from their IT provider, and an HTTPS port that defaults to 5002 and must match the API server port in Deacom's options. On the cloud, the ECI Cloud Team installs it.
Delta loads depend on the row version
Every exposed table carries Row Version, a system managed value that changes whenever a row is inserted or changed, so jobs can load only what changed instead of refreshing whole tables. It must never be edited by hand, and a sync that ignores it reads every table in full.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Deacom add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the Deacom write rules yourself. |
| Custom code | The need is unique and you have developers who know Deacom. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Deacom data. | It works on top of Deacom; it does not replace it. |
How Portal reaches Deacom.
Portal connects to ECI Deacom through the Deacom Public API on your Deacom site. Your administrator enters the API server address, the client ID and secret ECI issued and the company currency; Portal asks for a 15 minute token, keeps it until a minute before it expires and asks again on a 401. Table names can be set where your site differs, and the connection test names any table or column Portal cannot see. For an API server inside your network, the On-site connector relays the calls with outbound connections only.
Portal reads customers, ship-tos, items, inventory by facility, sales orders, vendors, purchase orders and jobs with their materials by row version, so each sync only reads what changed. Documents are written as a header and then each line, with a portal marker in the header's Reference column that is looked up before every create, so a retry finishes a half written document instead of doubling it. Customers flagged CreditHold cannot order, and an accepted quote is copied into a sales order and marked Converted.
What you need.
- Deacom 17.03.008 or later with the Deacom Public API installed, by the ECI Cloud Team or on your own IIS server
- A client ID and client secret from ECI for the Public API
- An admin in Portal to turn on AI tools under Setup, MCP
Step by step.
Your Portal team sets up the Deacom connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Enter the Deacom API server and ECI credentials
Under Setup, ERP, ERP system, choose ECI Deacom and enter your Deacom API server address, such as https://yoursite.deacomcloud.com:5002, the client ID and client secret ECI issued for the Public API, and your company currency. Optionally name the facility new orders go to and any table whose name differs on your site, then choose Test connection: it reads one row of each table and lists any table or column Portal cannot see.
Turn on AI tools
Under Setup, MCP, tick Allow AI tools for internal users, customer users or both, and choose which tools are offered. Customer, item and price data come from the Deacom customer row, where the CreditHold flag stops new orders and Inactive customers are refused and the price on each Deacom item, since customer price rules are not read yet.
Decide on changes
Leave Allow actions that change data off for a read-only assistant. Turn it on and a request such as placing an order returns a preview; once confirmed, it becomes a Deacom sales order header with one line per item, for the facility you set, kept from duplicating by a portal marker in the header Reference column, so a retry finds the header and adds only its missing lines.
Add Portal to your AI app
Copy the address from the MCP page, or from Connect an AI tool on the customer site, and add it as a connector or custom integration in Claude, ChatGPT or Cursor. Sign in on the Portal page that opens and choose Allow.
What syncs with Deacom.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers | Yes | Yes | CreditHold blocks new orders; inactive customers cannot order |
| Ship-tos | Yes | Yes | Written with a new customer |
| Items | Yes | Yes | With product code and unit of measure |
| Item prices | Yes | Yes | The item price as base price; customer pricing is not read |
| Inventory by facility | Yes | Yes | On hand minus allocated; adjustments and transfers |
| Sales orders | Yes | Yes | With requested ship date and line promise dates |
| Sales quotes | No | Yes | Accepted quotes are copied into a sales order and marked Converted |
| Shipments | No | Yes | Shipped quantities are read on the order lines |
| RMAs | No | Yes | |
| Invoices and credit memos | No | Yes | Invoices entered in Deacom are not read yet |
| Cash receipts | No | Yes | One line per paid invoice, up to its balance |
| Purchase orders | Yes | Yes | Receipts, due dates and quantities |
| Jobs and job materials | Yes | Yes |
Limits today: Quotes, shipments, RMAs and invoices entered in Deacom are not read yet: customers see and pay the invoices Portal bills into Deacom, and shipped quantities come from the order lines.
What you can do next.
- Which Deacom sales order lines for this customer have a promise date later than the requested ship date?
- How much of this item is allocated versus on hand in each Deacom facility?
- Which Deacom jobs due this week still have materials not fully issued?
Deacom questions, answered.
Which Deacom API does Portal use?
The Deacom Public API, the CRUD API over Deacom tables available from 17.03.008. Portal signs in with the client ID and secret from ECI, renews the 15 minute token itself and reads only rows whose Row Version changed since the last sync.
Does the assistant log in to Deacom?
No. It signs in to Portal as the person using it, and Portal holds the single Deacom connection.
Can it see every Deacom record?
It sees what the signed-in user may see in Portal: a customer user sees their own account, and staff see what their role allows.
Keep going.
- Connect an AI agent to your ERP: overview
- B2B portal for ECI Deacom
- Automate order entry from email, ECI Deacom
- Take invoice payments online, ECI Deacom
- Give customers order status, ECI Deacom
- Build a B2B ordering portal, ECI Deacom
- Quotes customers accept online, ECI Deacom
- Triage a shared inbox, ECI Deacom
- Add approval workflows, ECI Deacom
- One REST API for your ERP, ECI Deacom
- Connect an on-prem ERP safely, ECI Deacom
Sources
- Deacom: Public API setup, client ID and secret, 15 minute bearer token
- Deacom: on premises setup, one time secret
- Deacom: the API exposes tables and fields; knowledge of relationships required
- Deacom: required database knowledge and training hours
- Deacom: on premises API setup, IIS, certificate and port 5002
- Deacom: the ECI Cloud Team installs the cloud API server
- Deacom: Row Version for delta loads