How to connect on-prem Sage X3 without opening a port
Install the On-site connector on a Windows machine that can reach Sage X3 and pair it with a one-time code. It only makes outbound HTTPS connections, so Sage X3 stays behind your firewall with no port to open.
About Sage X3.
Sage X3 is Sage's ERP for mid-sized companies with complex operations, aimed above all at manufacturing, distribution and food and beverage. It covers finance, sales, purchasing, inventory and production, and it was sold for a time under the names Sage ERP X3 and Sage Enterprise Management.
Most X3 sites run on their own servers or at a hosting partner. In November 2025 Sage also launched a next generation of Sage X3 delivered by Sage itself as a fully managed, continuously updated cloud service, first for early adopters in the UK, the US and Germany, with France, Canada and South Africa announced next.
One X3 server holds several folders, each a separate set of company data such as a live folder and a test folder. Integrations do not talk to "X3" in general but to one folder, through a web server (Syracuse) endpoint connected to it.
Portal by Webisoft is a B2B portal for Sage X3: customer self-service and team apps on live Sage X3 data.
Why connecting to Sage X3 is hard.
Most X3 folders run on servers in your network or at a hosting partner, and publishing the X3 web server to the internet for each cloud tool is what IT resists.
Writes still go through classic SOAP
Sage X3 has two kinds of web services. The REST Web API gives read-only representations of every resource, but modules that still run on classic screens, which include sales orders and quotes, are written through the SOAP web services. An integration that wants to create orders in X3 has to speak the older SOAP protocol.
Every object has to be published, and pools have a size
A SOAP call names a public name declared in X3's Publication function, so each object an integration reads or saves must be published first. Calls run through a classic SOAP pool set up in the Syracuse administration, with a maximum number of clients per web services process, so heavy traffic queues behind the pool's size.
One folder per endpoint
An X3 server supports several folders, and each Syracuse endpoint is connected to one folder code. The SOAP pool sets the endpoint its requests use, so the folder an integration writes to is decided by the pool configuration, and a test folder needs its own pool.
Cloud and on-premises sign in differently
Sage documents user name and password (basic) authentication and certificates for web services on premises, and says neither is supported by Sage X3 Online, where OAuth 2 is the only method. Moving a folder to Sage's cloud changes how every integration signs in.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Sage X3 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 Sage X3 write rules yourself. |
| Custom code | The need is unique and you have developers who know Sage X3. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Sage X3 data. | It works on top of Sage X3; it does not replace it. |
How Portal reaches Sage X3.
Portal talks to Sage X3 version 12 (patch 9 and later) through the classic SOAP web services: query, read and save calls to the CAdxWebServiceXmlCC service on your X3 web server, with the alias of a SOAP pool and a web service user and password. Your X3 administrator publishes the objects Portal uses (customers BPC, items ITM, stock by site ITV, quotes SQH, orders SOH, invoices SIH, payments PAY, deliveries SDH and returns SRH), adds the update date UPDDATTIM to each left list so Portal can sync only what changed, and adds a YPORTALREF user field to orders and quotes.
Every order and quote Portal saves carries its portal reference in that user field, and Portal queries for it before each save, so a retry never creates a second document. Credit control set to Blocked stops an order before it reaches X3, and inactive items are refused. For an X3 server inside your network, the connection can go through the Portal On-site connector, which relays each call to the X3 web server over outbound connections only. Portal signs in with basic authentication, which Sage supports on premises; Sage X3 Online, which only accepts OAuth 2, is not covered yet.
What you need.
- Sage X3 version 12, patch 9 or later, on your servers or at a hosting partner
- A Windows Server 2016 or later, or Windows 10 or later, machine on the same network
- Outbound HTTPS from that machine to Portal
Step by step.
Your Portal team sets up the Sage X3 connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Generate a pairing code
In Portal, ERP, On-site connector, an admin chooses Generate pairing code. It works once and expires after 15 minutes.
Install and pair the agent
Install the On-site connector on the Windows machine, then in an admin command prompt run portal-on-site pair with the code.
Relay to the X3 web server on your network
Run portal-on-site configure relay, enter sage_x3 as the connector and the address of the X3 web server as the On-site connector sees it, for example its internal host on port 8124. In Portal, set the Sage X3 connection to connect through the On-site connector. The pool alias, sales site and web service user stay the same.
Test, start and watch
Run portal-on-site test, start the Portal On-site Connector service, then check ERP, Sync health in Portal for the connector status and the data received.
What syncs with Sage X3.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers, contacts and addresses | Yes | Yes | Credit hold when credit control is Blocked |
| Items | Yes | Yes | Only active items can be ordered |
| Prices | Yes | No | Item base price; X3 price lists are not mapped yet |
| Stock by site | Yes | No | Accepted stock less allocations |
| Sales quotes | Yes | Yes | Converted to a sales order whose lines reference the quote |
| Sales orders | Yes | Yes | Credit control and item status checked first |
| Sales invoices | Yes | Yes | Posted invoices, balance from the open items |
| Customer payments | Yes | Yes | One line per invoice paid; a surcharge is not posted |
| Deliveries | Yes | Yes | Validated deliveries, tracking from the PRO number |
| Customer returns | Yes | Yes | Made from the deliveries |
| Purchase orders | Yes | Yes | Update expected receipt dates and quantities |
| Attachments | No | No | The SOAP web services take no files |
Limits today: Today the connection works with Sage X3 on your own servers or at a hosting partner. Sage X3 Online and X3 price lists are not covered yet.
What you can do next.
- IT approves the setup because Sage X3 gets no inbound rule and no VPN.
- When the server moves, revoke the old agent and pair a new one with a fresh code.
Sage X3 questions, answered.
Does Sage X3 need to be on the internet?
No. The agent calls out to Portal over HTTPS; nothing calls in.
What does the agent log?
For relayed requests, only the method, path, status and duration, kept on the machine for 14 days. Its secrets are encrypted on that machine.
How do we know it is working?
ERP, Sync health shows the connector online or offline, what it sent in the last 24 hours and any failed batches you can try again.
Keep going.
- Connect an on-prem ERP safely: overview
- B2B portal for Sage X3
- Connect an AI agent to your ERP, Sage X3
- Automate order entry from email, Sage X3
- Take invoice payments online, Sage X3
- Give customers order status, Sage X3
- Build a B2B ordering portal, Sage X3
- Quotes customers accept online, Sage X3
- Triage a shared inbox, Sage X3
- Add approval workflows, Sage X3
- One REST API for your ERP, Sage X3
- Connect an on-prem ERP safely, Sage 100
- Connect an on-prem ERP safely, Sage 300
- Connect an on-prem ERP safely, Sage 50
- Connect an on-prem ERP safely, Sage 500
Sources
- Sage X3 help: web services integration, REST read-only representations and SOAP for classic modules
- Sage X3 help: SOAP web services implementation
- Sage X3 help: publicName comes from the Publication function
- Sage X3 help: classic SOAP pool configuration, maximum and initial size
- Sage X3 help: endpoints and the folder they connect to
- Sage X3 help: the pool sets the endpoint of every web service request
- Sage X3 help: authentication methods on premises and in Sage X3 Online
- Sage: next generation Sage X3 as a managed cloud service