Skip to content

Using the Console

This guide walks through creating and installing a Sync Agent using the Aunsight Console. The examples use Windows; the same flow applies to macOS and Linux with the equivalent commands (see Using the CLI).

Creating an agent in Aunsight

Sign in to the console at https://console-au3.aunsight.com/.

1. Select the organization. In the global navigation bar, use the org selector to choose the organization you want to create an agent for.

The organization selector in the global navigation bar

2. Open the Agents tab. Once in the correct organization, click Agents.

The Agents tab within an organization

3. Create a new agent. The Agents tab lists the agents available for this organization. Click Create Agent in the upper right-hand corner.

The Create Agent button in the upper right of the Agents tab

4. Name the agent. Give the new agent a name (required).

Entering a name for the new agent

5. Add a description. Optional but recommended — a description makes the agent easier to identify later.

Adding an optional description

6. Create. Click Create to continue.

Clicking Create to finish creating the agent

7. Copy the registration token. The agent is now created and a one-time token has been generated. Use the copy button to copy the token — you'll need it during installation.

The newly created agent showing the one-time registration token with a copy button

8. Download the Agent Manager. Click Download Agent Manager for your operating system (Windows, macOS, or Linux). A zip file downloads to your downloads folder.

The Download Agent Manager options for Windows, macOS, and Linux

Configuring and installing the agent

9. Extract the zip. Extract the downloaded zip file and copy it to the location where you want the agent to reside.

The downloaded Agent Manager zip in the Downloads folder

Extracting the Agent Manager zip to the install location

10. Open a command prompt. Type cmd in your machine's search bar and open the Command Prompt application.

Opening the Windows Command Prompt

11. Configure the agent. In the command prompt, run:

.\sync-agent-manager.exe config update --AU3_API_URL https://api-au3.aunsight.com --AU3_RTM_URL wss://rtm-au3.aunsight.com

Running the config update command

12. Install the agent. Run the install command, pasting in the registration token you copied earlier:

.\sync-agent-manager.exe sync-agent install --token REGISTRATION-TOKEN

13. Confirm success. A successful install reports success: true along with the agent ID, name, install path, and service name.

A successful install showing success: true and the agent details

To check that the agent is running, look in the log directory within the sync agent folder, or check Windows Services for the running agent.

Generating a new token

If you need a new registration token later:

14. Generate a token. Find your agent in the Agents list and click Generate Token.

Generating a new token from the Agents list

15. Copy the token. A new token is generated — click the copy icon to copy it.

Copying the newly generated token

Modifying an agent

16. Open the agent menu. Click the more (⋮) icon next to the agent you want to modify.

The more icon next to an agent

17. Choose an action. Options appear including Edit Agent, Download Latest Version, and Delete Agent.

Agent modification options: Edit Agent, Download Latest Version, Delete Agent

Restarting a Sync Agent

On Windows you can restart an agent either through Windows Services or through the Manager process.

Using Windows Services

  1. Go to Services within Windows.
  2. Look for the agent by its token name.
  3. The status will show as Stopped or Paused. Right-click and select Start.

Alternatively, open the Services tab in Task Manager and search for the token.

Locating the agent service in Windows Services

The agent listed in Windows Services

The agent service status shown as stopped

Right-clicking the service and selecting Start

Using the Manager process

Run this command in an admin PowerShell adjacent to the installed manager:

.\sync-agent-manager.exe sync-agent start

If reauthorization is needed, uninstall and reinstall with a new registration token:

.\sync-agent-manager.exe sync-agent uninstall
.\sync-agent-manager.exe sync-agent install --token NEW-REGISTRATION-TOKEN