On this page

Pair an agent ​

Purpose ​

This screen creates a one-time pairing code that links a computer running the device agent to a branch, and sets the workstation whose settings the agent uses (DA4). The screen's note reads: Create a one-time code, then run the shown command on the PC as an administrator. The code is valid for 10 minutes and works once.

How to get there ​

  • From the menu: Devices → Pair an agent.
  • The address is /device/pairing.

Permissions ​

ActionKey
Create pairing codes and see unused codesdevice.agent.pair

Pairing is separate from configuring devices (device.device_profile.update) and from revoking agents (device.agent.revoke).

Fields ​

FieldRequired?Description
Agent nameYesThe name shown in the agent list, such as e.g. Cashier 1 - Main branch; up to 100 characters
BranchYesThe computer's branch. The agent uses this branch's device settings
Workstation profile (optional)NoA profile from Device profiles for the same branch. Its settings take precedence over the branch's (P10). Branch settings (no workstation) means the branch's settings alone are used
Update ringYesStable (the default) or Pilot (DA6)

Procedures ​

Pair a new computer ​

  1. Type the Agent name and choose the Branch, then the workstation profile if there is one.
  2. Select Create pairing code.
  3. The Pairing code appears in large type, with Valid until and the expiry time, and the Command to run on the PC.
  4. Run the command on the computer as an administrator, as described in Installing the agent.
  5. The code disappears from Unused codes, and the agent appears in Device agents.

Business rules ​

  • A code is eight letters and digits, leaving out easily confused characters (0, 1, I and O), and is shown as XXXX-XXXX.
  • A code is valid for 10 minutes and works once, and it isn't accepted in another company (tenant). The system doesn't store the code itself, only a fingerprint of it, so it can't be shown again once you leave the screen.
  • After ten wrong attempts within 10 minutes from the same address, pairing is paused for a while.
  • Creating a code and pairing are recorded in the audit log.

Common error messages ​

MessageCauseFix
Choose a valid branch.The branch doesn't existChoose a branch from the list
The workstation profile is inactive or belongs to another branch.The workstation isn't suitableChoose an active workstation of the same branch
Enter a name of up to 100 characters.The name is empty or too longCorrect the name