Enzor Agent – installation guide for IT
The Enzor Agent lets Enzor AI reach a business system in your network (for example a self-hosted Odoo or Infor SyteLine) without opening any inbound port or VPN. It runs as a Windows service, connects out to Enzor AI over HTTPS (443), and only allows what you configure on the server. Installation takes about ten minutes.
Before you start
- Windows Server 2019 / 2022 / 2025 or Windows 10 / 11, 64-bit, that can reach the business system.
- Outbound HTTPS to
mcp.enzor-ai.com(port 443). A company proxy is fine, including TLS inspection. - A local administrator account on that server.
- Someone with access to the Enzor AI portal: in Settings → Agents → Add agent they get the installer and a pairing code (
XXXX-XXXX-XXXX-XXXX-XXXX-XXXX, valid for 15 minutes, single use). Create the code just before you pair – a new one takes a few seconds.
1. Install
Download
EnzorAgent.msifrom the portal (Add agent → Download the installer) and copy it to the server.Check the signature: right-click the file → Properties → Digital Signatures. It must say Enzor d.o.o. Never run an installer with a different or missing signature.
Double-click the installer and confirm the Windows administrator prompt (UAC). It installs the Enzor Agent service and the
enzor-agentcommand.
2. Pair the agent with Enzor AI
Open PowerShell as administrator: right-click the Start button → Terminal (Admin) or Windows PowerShell (Admin). The window title must start with “Administrator”. Open it after the installation, so the
enzor-agentcommand is found.Pair with the code from the portal:
enzor-agent pair XXXX-XXXX-XXXX-XXXX-XXXX-XXXXThe agent saves its key, starts its service and connects to Enzor AI. The portal shows the new agent within a few seconds.
Show the two fingerprints:
enzor-agent statusThe portal shows the same agent key and Enzor AI server key next to the new agent. Approve it only if both match exactly. If they do not, do not approve: revoke it and contact us. To approve, type the approval code from this server – the
Approval code:line ofenzor-agent status(also printed byenzor-agent pairand in the Event Log, event 1001). It is shown only on the server, so approving proves you can see the real server.
3. Choose what Enzor AI may reach (targets)
Nothing in your network is reachable until you add a target. Each target is one system at one address; the agent forwards only that system's known operations. Run the command for your system in the administrator PowerShell, with your own address:
Odoo (17/18: --dialect jsonrpc; 19 and newer: --dialect json2 with --server-version 19). --database is the only database Enzor AI may use:
enzor-agent targets add --id odoo --adapter odoo --dialect jsonrpc --server-version 17 --database prod --url http://odoo-srv:8069/Infor SyteLine / CSI (9.01 and newer: --dialect rest-v1; 8.x: --dialect soap). The address is the utility server's IDO web service – keep /IDORequestService/ at the end; the usual port 80 needs no number:
enzor-agent targets add --id syteline --adapter mongoose --dialect rest-v1 --mongoose-config CSI_TEST --url http://sl-util/IDORequestService/--mongoose-config is the only SyteLine configuration Enzor AI may log in to. Start with your TEST configuration: production configurations on the same server stay out of reach.
PANTHEON (PAWS web service):
enzor-agent targets add --id pantheon --preset pantheon --url https://paws-srv:8443/SAOP iCenter (Web API on IIS; --tls-pin for a self-signed certificate):
enzor-agent targets add --id saop --preset saop --url https://iis-srv:8443/SAP Business One (Service Layer; it usually has a self-signed certificate – pin it, never switch TLS checks off):
enzor-agent targets add --id sapb1 --preset sapb1 --url https://b1-srv:50000/Targets are read-only unless you add --allow-writes – then the agent itself refuses every change, even if Enzor AI were compromised. Only addresses on your local network are allowed; --allow-addresses 10.0.0.15 pins an exact IP. Changes restart the service automatically.
To change a target later – for example to allow writes – run the same targets add command again with the same --id and the new options; it replaces the old one. There is no need to remove it first.
Check what is configured:
enzor-agent targets listThen, in the portal, add a connection for your system (Connections → Add), choose Through an Enzor Agent and select this agent and target. There you enter the system's user and password – never on the server.
Silent install (Intune, SCCM, scripts)
The MSI can install and pair in one step without any window. Run it elevated and wait for it to finish (a plain msiexec in PowerShell returns before the installation is done). With a proxy, add PROXY=http://user:password@proxy:3128.
Start-Process msiexec.exe -Verb RunAs -Wait -ArgumentList '/i "C:\Install\EnzorAgent.msi" PAIRING_CODE=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX /qn /l*v "C:\Install\enzor-agent-install.log"'Exit codes:
0– installed. Check withenzor-agent status.1603– the installation failed. The reason is in the log: search it forReturn value 3.1625– not run as administrator.1639– invalid command line (for example a pasted placeholder such as<code>).
If the pairing code is wrong or has expired, the agent is still installed – it is just not paired. enzor-agent status then says “Not paired”; pair it with a new code as in step 2.
Troubleshooting
| Problem | What to do |
|---|---|
enzor-agent is not recognized | The window was opened before the installation. Open a new administrator PowerShell, or use the full path: & "C:\Program Files\Enzor Agent\enzor-agent.exe" status. |
| “Access denied” or the installer ends with 1603 right away | Not running as administrator. Open PowerShell with Run as administrator (the title starts with “Administrator”). |
| The portal keeps waiting, or the target does not appear in the connection wizard | The agent is not connected. enzor-agent status shows service stopped → start it with enzor-agent service start. If it stops again, check the Windows Event Log (source EnzorAgent) and that mcp.enzor-ai.com:443 is reachable. |
enzor-agent status says “Not paired” | Create a new pairing code in the portal and run enzor-agent pair XXXX-XXXX-XXXX-XXXX-XXXX-XXXX (codes are valid for 15 minutes, single use). |
| Event 1100 “connection refused” | Usually a wrong clock. Check that the Windows Time service is running and synchronised. |
| The portal asks for a password to approve | Approving an agent needs a recent sign-in: enter the password of the portal account you are signed in with (not a Windows password), or sign out and in again. |
Day to day
| Task | Command (administrator) |
|---|---|
| Status, fingerprints, approval code, service | enzor-agent status |
| Recent activity (no business data) | enzor-agent log tail -n 50 |
| Stop / start the agent | enzor-agent disable / enzor-agent enable |
| Remove completely | Settings → Apps → Enzor Agent → Uninstall |
- Service Enzor Agent (
EnzorAgent) runs asNT SERVICE\EnzorAgentand restarts itself after a failure. - Data:
C:\ProgramData\Enzor Agent(key protected with Windows DPAPI,config.yaml,logs\). The service can read its configuration but cannot change it. - Windows Event Log → Application, source EnzorAgent: 1000 started, 1001 paired (fingerprints + approval code), 1002 connected / waiting for approval, 1003 stopped, 1100 connection refused, 1101 revoked, 1102 quarantined, 1200 configuration error, 1201 an untrusted data folder was moved aside, 1202 a server key or gateway that is not built into this installer (the service does not start – pair again).
- If an admin revokes the agent in the portal, it stops at once and stays stopped. To use it again, pair it with a new code:
enzor-agent pair XXXX-XXXX-XXXX-XXXX-XXXX-XXXX --force.
What the agent never does
It never accepts inbound connections, never follows redirects, never reaches the internet except Enzor AI, never stores your business data, and never logs request bodies, passwords or query strings.
Need help?
Write to info@enzor.si with the output of enzor-agent status and, for installation problems, the installer log.