Skip to content

Customer technical prerequisites

Six things must exist on your side before install day. Each section names the owner role, the typical lead time, and change-ticket text your IT can paste as-is. Every one of these is verified by the install itself; a missing item does not degrade quietly, it stops the install with the check named.

# Prerequisite Owner (your side) Typical lead time
1 Dedicated Sage user + role Sage administrator 1 day
2 Read-only SQL login on the ERP database DBA 1 to 3 days (change control)
3 Connector service registration on the ERP server Server admin (one elevated session) scheduled window, 30 min
4 Firewall rule: app server to connector Network admin 1 to 5 days (change control)
5 Sales Order external-key UDF (Custom Office) Sage administrator 1 day, needs a quiet window
6 Outgoing mail sender Your IT (mail administrator) same day on your own mail system; days on Amazon SES

Rather not do the Sage side yourselves? Full install covers the five Sage-side prerequisites as well as the ForgeSync server and the cutover; it needs administrator access to the Sage server for the session. One-time, separate from the subscription: https://keywaysystems.com/pricing/#install

Optional: Slack alerts

Slack alerts need a workspace admin who can create an app from a link we provide (see the Slack alerts page). Nothing is inbound and no firewall change is needed. Skip it and warning and critical alerts reach you by email instead.

0. The AWS server

ForgeSync runs on one EC2 instance in your AWS account (the install sequence covers the size and the software). Two things about that instance are requirements, not suggestions:

  • Encrypted EBS volumes. Every volume attached to the instance, root included, must be created with encryption on (the account-level "EBS encryption by default" setting makes this automatic). ForgeSync encrypts customer details, tokens and backups itself; the volume is the layer under that, and fe:verify reports disk-encryption FAIL for any attached volume that is not encrypted. An unencrypted volume cannot be encrypted in place: snapshot it, copy the snapshot with encryption on, and swap the volume.
  • The instance role. The instance profile from the ForgeSync stack template grants what the box needs and nothing else: Systems Manager for access, write-only S3 for its own backups, the two secrets it writes for disaster recovery, and ec2:DescribeVolumes so the encryption check above can run. Without that last permission the check reads WARN ("could not determine") rather than OK.

1. Dedicated Sage user account and role

The connector signs into Sage as its own user (never a person's account). That logon must carry a role granting the web-service task the connector runs under, and each live session consumes ONE concurrent Sage license seat. Size your seat count accordingly: if every seat is in use, the connector cannot open a session and integration pauses until one frees.

Ticket text: Create Sage 100 user forgesync with a strong password, no expiry rotation that would break an unattended service, assigned to a role that grants the AR web-service task (service class AR551ELK_WebService_svc, security task AR_Division_ui) plus inquiry rights on AR, SO, and IM. Confirm one spare concurrent license seat exists for this user.

2. Read-only SQL login (Sage 100 Premium)

Invoice and order detail lines are read directly from the MAS_<company> SQL database, because the Premium object layer exposes no detail classes. This requires a SELECT-only login. It is never a sysadmin account, and the install refuses a login that can write.

Ticket text: On the SQL Server hosting Sage 100 Premium, create login forgesync_ro with SELECT-only permission on database MAS_<company> (db_datareader). No write, DDL, or server-level rights. Provide the server name, port, and credentials through the agreed secrets channel, not email.

3. Connector service registration (one elevated session)

The connector is ForgeSync.Host.exe, one self-contained Windows executable, installed as the Windows service ForgeSyncSvc ("ForgeSync Sage Connector") under C:\ForgeSync\service. It ships in the service\ folder of the Sage AI Connector bundle, SageAIConnector-<version>.zip, which you download from the account link on your welcome sheet (the SHA-256 of the exact file is printed there; compare it with Get-FileHash before you extract). You do not register the service by hand: the bundle's Sage service installer does it, after generating the TLS certificate, protecting the secrets with machine-scoped DPAPI and locking the directory.

Ticket text: On the Sage server, as a Windows administrator: verify the bundle hash against the account page, Unblock the zip, extract it, then from an elevated Windows PowerShell (powershell.exe 5.1, not PowerShell 7) in the extracted folder run .\service\Install-ForgeSyncConnector.ps1 -AnswerFile .\worksheet.json -PackageDir .\service, with worksheet.json filled from the install sheet (company code, Sage home folder, Sage user, read-only SQL connection string, dns_name, external-key UDF column, and the HMAC public key the ForgeSync install shows; the Sage password and the HMAC private key are typed at the prompt, not stored in the file). The installer registers ForgeSyncSvc with startup type Automatic under LocalSystem, turns on native order writing, and reports [ok] /health on https://127.0.0.1:8587. Hand C:\ForgeSync\service\forgesync-tls.cer to Keyway on the agreed channel. Service account must read the Sage home directory (MAS90\Home).

The key pair is made on the ForgeSync server, never on the Sage server: the install's "Key pair for the Sage connector" stage shows the public key for the worksheet and the private key once, to be read out to whoever runs the connector installer. php artisan fe:sage:pair --show shows them again. The connector installer refuses to run without them.

Re-runs of the installer are upgrades: pass the same worksheet and type the same private key.

4. Network transport (outbound-only by default)

By default the ERP server dials OUT: a restricted SSH tunnel from the ERP box to the application server carries all connector traffic, so NO inbound port opens on your ERP server. The account it lands on can forward exactly one port and nothing else, no shell (see the outbound-only transport page for the exact posture).

Ticket text (default): Allow outbound TCP 22 from to . No inbound rule is required. Tell us the public address the ERP server's outbound traffic comes from: the ForgeSync server opens port 22 to that address only (the SageEgressCidr of the compute stack).

If your policy prefers an inbound rule instead, the documented fallback is the connector's TLS listener, pinned and restricted:

Ticket text (fallback): Allow inbound TCP 8587 on from only. Deny from any other source.

5. Sales Order external-key UDF

Every web order is stamped with an external order number so the integration can prove whether Sage already has an order before ever re-sending it. That is the duplicate-order protection: without this column, a connection blip during order entry could book the same order (and charge the same deposit) twice. It is a Custom Office user-defined field on Sales Order header and history; the exact field name is supplied with your install sheet.

Ticket text: Via Custom Office, add a string(50) UDF to SO Sales Order Header and SO Sales Order History Header, name per the install sheet. Schedule in a quiet window; Custom Office changes recompile panels.

The install runs fe:sage-readback-gate after the first test order: it re-reads that order from Sage and confirms the column echoed the key back. If it does not, go-live stops there. This is deliberate.


6. Outgoing mail sender

ForgeSync sends alerts, failed-order notices and contact confirmations by email. The quickest route is your existing mail system (Microsoft 365, Google Workspace or any SMTP server) with an app password for one sending address. The install asks for the server, the port and the login, then signs in once to prove it works; it sends nothing while checking. The password is typed on the ForgeSync server and stays there.

Ticket text (your own mail system, recommended): Create or choose a sending mailbox such as alerts@<your domain> for ForgeSync. Allow authenticated SMTP sending for that mailbox (Microsoft 365: enable "Authenticated SMTP" on the mailbox; Google Workspace: allow SMTP relay or create an app password). Provide the server name, port (usually 587) and the login; the password is entered on the ForgeSync server during the install, not sent by email.

Amazon SES in your own AWS account works too. Its production approval is a support request that takes several days, and until it clears SES only delivers to verified addresses, so do not let it hold up the install.

Ticket text (Amazon SES): In the AWS account that holds the ForgeSync server, verify the sending domain in Amazon SES (the DKIM records go in your DNS) and request SES production access for that region.

Pre-contract technical qualification (run BEFORE signing)

Ten minutes with your IT contact answers whether the install can succeed:

  1. Sage 100 Premium (SQL) edition? Version 2022 or later?
  2. Is one concurrent license seat spare for a service user?
  3. Can the DBA provision a read-only SQL login on MAS_<company>, and what is the change-control turnaround for it?
  4. Can we get one elevated session on the ERP server for service install?
  5. Is outbound TCP 22 from the ERP server permitted (or what is the firewall change turnaround for the inbound fallback), and who owns the rule?
  6. Can Custom Office UDF changes be scheduled within two weeks?
  7. Who owns the store's DNS, and can a subdomain be pointed at the application server within a week?

A "no" on 1 is disqualifying today. Slow answers on 3 to 6 set your timeline; they are the long poles of every install.