Before you begin
- The Windows service must be installed and running. The wizard sends everything to the service, so it cannot work without it. See Install the agent.
- You must be allowed to change the agent: a member of the local group Omnilinker ERP Sync Operators, or an administrator running the tray app elevated. Setup adds the person who installed the agent to the group. See Who can change the agent.
- Have the connection’s agent API key ready. See Create a connection.
- Have the ERP database server name, database name and, for SQL Server authentication, a user name and password.
Open the wizard
The wizard opens by itself when the tray app starts and the agent has no saved configuration yet. After installation, the service starts the tray app for you, so the wizard appears straight away. The window is titled Omnilinker ERP Sync - Setup and starts with Welcome to Omnilinker ERP Sync. If the tray app is not running, startOmnilinker.ErpSync.Tray.exe from the tray subfolder of the install folder,
by default C:\Program Files\Omnilinker\ErpSync\current\tray.
Complete the wizard
1
Enter your API key
On Enter Your API Key:
- API URL is filled in with
https://omnilinker.pl. Leave it as it is. - API Key: paste the agent API key.
The wizard says you can find the key “under Settings > API Keys”. The agent key actually comes from the
connection: open ERP Integration > Connections and choose Generate Agent Key in the connection’s
actions. See Create a connection.
2
Select the ERP connection
On Select ERP Connection, the wizard shows API Key Verified and your organization’s name after
Tenant:.In ERP Connection, select the connection this agent serves. The first connection in the list is selected for
you. The line below it shows the connection’s provider, for example Provider: Wapro.Click Continue.3
Enter the ERP database connection
On ERP Database Connection, enter how the agent reaches your ERP database:
Under Advanced Connection Options:
Click Test Connection to check the settings before you save. The result appears below the button. The test
is optional.Click Save Configuration. The button is available once Server / Host and Database Name have a value.
With Windows authentication, the agent connects to the database as the service’s account, Local System, not
as you. On a SQL Server on another computer, that is the agent computer’s account (
<DOMAIN>\<COMPUTER>$). The
test also runs inside the service, so it checks that same account. See
Requirements.4
Finish
Setup Complete! shows a Configuration Summary with the API URL, tenant, connection, ERP server and ERP
database. Click Finish.The tray icon appears in the notification area. See Use the tray app for what it shows, and
Monitoring to confirm that data is arriving in Omnilinker.
Skip the wizard
On the first step you can click Skip for Now. The wizard asks you to confirm (Skip Setup?). The agent stays unconfigured and does not sync until you enter the same details in Settings… from the tray menu.What the wizard saves, and where
The Windows service saves the configuration to one file, for the whole computer:C:\ProgramData\Omnilinker\ErpSync\credentials.dat. Only SYSTEM and administrators can open it. The
tray app never reads it: it asks the service instead.
The file holds:
- the API key and API URL,
- the selected connection and its name, and your organization’s ID,
- the ERP database settings, including the password, if you entered one,
- the company ID, if you set one in Settings….
Change the settings later
Use Settings… in the tray menu to change the API key, the connection or the database settings. Saving there takes effect without restarting the service. See Settings window. To run the wizard again from the start, exit the tray app, deletecredentials.dat as an administrator, and start
the tray app again. The agent stops syncing until you complete the wizard.