Skip to content
Portalby Webisoft®Book a demo

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

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

01About

About Sage 50.

Sage 50 is desktop accounting software for small businesses, installed on a Windows computer or a server in the office. It covers customers, invoicing, receivables, payables, inventory items and the general ledger, and comes in Pro, Premium and Quantum editions.

Sage 50 is really two products. The US edition, formerly Peachtree, keeps each company in an Actian Zen database (formerly Pervasive) from version 2020 on. The Canadian edition, formerly Simply Accounting, keeps its data in MySQL behind the Sage 50 Connection Manager. Their data, screens and developer tools differ, so an integration built for one does not work on the other.

Price levels depend on the edition: the US data dictionary gives each item five price levels in Pro and up to ten in Premium and higher.

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

02The hard part

Why connecting to Sage 50 is hard.

Sage 50 is desktop software, so reaching it from the cloud means something has to run next to it on that computer.

Every application has to be allowed in

Third-party software writes to Sage 50 US through the Sage 50 .NET SDK. Each application needs an application ID from Sage, and the first time it asks for a company its request stays Pending until a Sage 50 user opens that company and allows it. The SDK also has to run as a 32-bit program on .NET Framework 4.8.

No security model and one company at a time

Sage says the SDK has no security model: an application with access to a company reaches every area of it. An application can only work with one company at a time, and a company must have been opened in Sage 50 at least once before the SDK can connect to it.

Two editions, two databases

Sage 50 US runs on Actian Zen, formerly Pervasive, while the Canadian edition uses MySQL and a Connection Manager that controls requests from Sage 50 and third-party software. Field names, tables and the write tools are different, so each edition needs its own mapping.

Pricing depends on the edition

Each Sage 50 US item carries its prices as price levels, at least five in Pro and up to ten in Premium and higher, and each customer is assigned one level. Customer-specific contract prices are not part of that model.

03Options

Your options.

OptionFits whenWatch out for
Native Sage 50 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 50 write rules yourself.
Custom codeThe need is unique and you have developers who know Sage 50.Upgrades and staff changes put the integration at risk.
Portal by WebisoftYou want customers, your team and AI agents working on live Sage 50 data.It works on top of Sage 50; it does not replace it.
04How Portal connects

How Portal reaches Sage 50.

Portal connects to Sage 50 through the On-site connector, a Windows service on the computer that runs Sage 50. For the US edition it reads the company over the company's ODBC data source and writes through the Sage 50 SDK, which runs in a small 32-bit helper installed with the agent. The service runs as the Windows user who allows the application in Sage 50, because Sage grants access per Windows user and per program.

Before writing, the agent checks that the customer is active and not a prospect, that it is not on credit hold (credit status Hold, or Hold Over Limit with the balance over the limit) and that every item is active. Each document starts its note with a portal reference that the agent searches for before writing, on top of its own journal, so a retry never enters it twice. A Sage 50 Canada company is read only for now: customers, bill-to addresses and items.

05Before you start

What you need.

06Steps

Step by step.

Your Portal team sets up the Sage 50 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 50 driver

    Run portal-on-site configure sage50 on the computer with Sage 50. The US edition is read over the company's ODBC data source and written through the Sage 50 SDK, which runs in a small 32-bit helper the agent starts on its first write. Sage approves access per Windows user and per program, so approve again after an agent upgrade.

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

RecordReadWrite backNote
Customers and contactsYesNoProspects skipped; credit hold from the credit status. Canada: customers only
Bill-to and ship-to addressesYesNoCanada: bill-to only
Inventory itemsYesNo
Price levelsYesNoUS only; no quantity breaks
QuotesYesYesUS only; a new sales order is created on acceptance
Sales ordersYesYesUS only, through the Sage 50 SDK
Sales invoicesYesNoUS only; balance and paid status
Receipts (payments)YesYesUS only; applied to the paid invoices
Purchase ordersYesYesUS only; update dates and quantities and cancel lines
Stock, shipments and returnsNoNoNot synced from Sage 50 yet

Limits today: Today the connection covers Sage 50 US. Sage 50 Canada is read-only for now.

08Next

What you can do next.

09FAQ

Sage 50 questions, answered.

Does Sage 50 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