Skip to content
Portalby Webisoft®Book a demo

How to connect on-prem Sage 500 without opening a port

Install the On-site connector on a Windows machine that can reach Sage 500 and pair it with a one-time code. It only makes outbound HTTPS connections, so Sage 500 stays behind your firewall with no port to open.

01About

About Sage 500.

Sage 500 ERP, formerly Sage MAS 500, is an ERP that runs financials, sales orders, purchasing and inventory on Microsoft SQL Server databases. It is installed on your own Windows servers, with a Windows client on each desk.

Versions are named by year, and Sage's documentation lists Sage 500 ERP 2026 as the latest. Sage ships product updates for the versions it supports; its mid-year 2026 updates covered Sage 500 ERP 2026, 2024 and 2023.

One set of Sage 500 databases can hold several companies, linked so they can be consolidated or used for intercompany transactions. The number of companies you can create depends on your license.

Portal by Webisoft is a B2B portal for Sage 500: customer self-service and team apps on live Sage 500 data.

02The hard part

Why connecting to Sage 500 is hard.

Sage 500 runs on your own SQL Server, so every cloud tool needs a way in that IT will approve.

Many companies in one database

Sage 500 keeps more than one company in the same application database, and every table holds rows for all of them. An integration has to filter every read and every write to the right company, or it mixes one company's customers and orders into another's.

Data comes in through imports, not a web API

Sage 500 brings outside data in through Data Import Manager import jobs, with their own DI Package User and Administrator roles; cash receipts, for example, arrived as an import entity. There is no modern web API, so each document type an integration writes depends on an import path Sage provides for it.

Only some versions get updates

Sage ships product updates for the Sage 500 versions it supports, and its mid-year 2026 updates went to 2026, 2024 and 2023 only. Running an older version means no fixes, and an integration has to be checked when you upgrade.

03Options

Your options.

OptionFits whenWatch out for
Native Sage 500 add-onsYou need one narrow function and an add-on covers it.Each add-on is its own product to license, learn and upgrade.
Generic integration platformYou have someone in-house to build and maintain the flows.You still build the screens, the AI layer and the Sage 500 write rules yourself.
Custom codeThe need is unique and you have developers who know Sage 500.Upgrades and staff changes put the integration at risk.
Portal by WebisoftYou want customers, your team and AI agents working on live Sage 500 data.It works on top of Sage 500; it does not replace it.
04How Portal connects

How Portal reaches Sage 500.

Portal connects to Sage 500 through the On-site connector, a Windows service on a machine that can reach your Sage 500 SQL Server. You give it a connection string, the company ID (for example SOA), your Sage version and, if you want, a default warehouse; every read is limited to that company, even when other companies share the database. A separate login for writes is optional, so the read login can stay read only.

Sales orders go in through Sage's own sales order staging tables and API procedure, which validates and posts them, and the agent reads Sage's messages back. Before that it checks that the customer is active and not on hold and that every item is active. Each order is tagged in a user field with a short portal reference that the agent looks for first, so a retry never creates a second order.

05Before you start

What you need.

06Steps

Step by step.

Your Portal team sets up the Sage 500 connection with you during onboarding, so the first step is done together. The rest is yours to change any time.

  1. Generate a pairing code

    In Portal, ERP, On-site connector, an admin chooses Generate pairing code. It works once and expires after 15 minutes.

  2. 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.

  3. Configure the Sage 500 driver

    Run portal-on-site configure sage500 on the agent machine. Every read from the Sage 500 SQL Server database is filtered to your company ID, so other companies in the same database are never read. Orders are written to Sage's staging tables and created by its sales order API procedure, and portal-on-site test shows which procedure name it found. Give a separate write login if the read login must stay read only.

  4. 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.

07What syncs

What syncs with Sage 500.

RecordReadWrite backNote
Customers, contacts and addressesYesNoCredit hold from the customer hold flag
ItemsYesNo
PricesYesNoStandard price only; no customer pricing
Stock by warehouseYesNoOn hand and available as Sage computes them
Sales ordersYesYesStandard and blanket orders; written through Sage's staging API
QuotesYesNoCreated and converted by your team in Sage 500
Invoices and memosYesNo
Cash receiptsYesYesApplied to the paid invoices
ShipmentsYesNoWith ship method; no line detail
Returns (RMAs)YesNoCreated by your team in Sage 500
Purchase ordersYesYesNew purchase orders only; changes stay in Sage 500

Limits today: Today the Sage 500 connection writes sales orders. Quotes and returns stay with your team in Sage 500.

08Next

What you can do next.

09FAQ

Sage 500 questions, answered.

Does Sage 500 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.

10More guides

Keep going.

Sources