Skip to content

Sync Agents

Sync agents let you connect data sources that aren’t accessible from the public internet—things like QuickBooks Desktop, local SQL Server instances, or databases behind a corporate firewall.

The sync agent is a Docker container that runs on your network. It connects outbound to Resplendent’s cloud over WebSocket, waits for sync requests, queries your local data source, and sends the results back.

┌─────────────────────────────────────────────────────────────────┐
│ Your network │
│ │
│ ┌──────────────────┐ ┌──────────────────────────────┐ │
│ │ Sync Agent │ ◄─────► │ Local data source │ │
│ │ (Docker) │ │ (QuickBooks, SQL Server) │ │
│ └────────┬─────────┘ └──────────────────────────────┘ │
│ │ │
└───────────│─────────────────────────────────────────────────────┘
│ WebSocket (outbound only, port 443)
▼
┌───────────────────┐
│ Resplendent │
│ Cloud │
└───────────────────┘

Because the agent only makes outbound connections, you don’t need to open any inbound firewall ports or configure port forwarding.


You need a sync agent if your data source:

  • Runs on a local machine (QuickBooks Desktop)
  • Is behind a firewall with no public IP
  • Can’t whitelist Resplendent’s IP addresses
  • Is on a private network segment

For cloud services (ConnectWise, QuickBooks Online, Autotask) or databases with public IPs, you don’t need a sync agent—connect directly through the Integrations page.


Sync agents are available on Business tier and above. A Staff or Admin user can create and edit an agent; deleting an agent requires an Admin user.

  1. Go to Settings → Sync Agents in the sidebar
  2. Click Add Sync Agent
  3. Enter a name for your agent (e.g., “Office Server” or “HQ Sync Agent”)
  4. Click Save

The dialog displays the Agent UUID immediately. The Agent Key shows Pending save until you save the agent. After saving, keep the dialog open and copy both values—you’ll need them to install the agent. The dialog also shows the install command for the Resplendent instance you’re signed in to.

If you close the dialog before copying the credentials, click the agent’s name in the table to view them again.


  • A 64-bit x86 (amd64) machine with Docker Engine and Docker Compose v2 installed
  • Network access to your local data source
  • Outbound HTTPS and WebSocket access on TCP port 443 to the Resplendent instance you sign in to, such as app.resplendentdata.com, or to the address you set in SYNC_AGENT_BASE_URL

We recommend a dedicated Linux VM or server that stays running 24/7. The agent needs to be online whenever syncs run. Windows with WSL2 and macOS can be used for evaluation, but Linux is the recommended production host.

Use the following profiles to size each sync agent host:

Workload CPU Memory Available SSD storage Network
Evaluation or light use 2 vCPU 4 GB RAM 20 GB 10 Mbps
Recommended production 4 vCPU 8 GB RAM 40 GB 100 Mbps
Large backfills or multiple data sources 8 vCPU 16 GB RAM 80 GB 100 Mbps–1 Gbps

These profiles are planning recommendations rather than fixed limits. Actual resource use depends on the number of simultaneous syncs, selected columns, row width, and the volume of changes between syncs. Large initial imports and incremental catch-up operations can temporarily use substantially more memory and network bandwidth than normal scheduled syncs.

The agent does not store a persistent copy of synchronized data on the host. Available storage is primarily used for Docker images, container logs, and temporary capacity while an updated image is downloaded. Configure Docker log rotation and leave enough free space for both the current and replacement images during an update.

SSH into your server and run the install command from the agent dialog. For app.resplendentdata.com, it is:

Terminal window
mkdir resplendent_sync_agent
cd resplendent_sync_agent
curl -fsSL https://app.resplendentdata.com/api/public/sync-agent-install.sh | bash

The agent connects to the Resplendent instance that served the script, so an agent installed with a partner instance’s command connects to that partner instance. The script prompts for your Agent UUID and Agent Key, then creates an owner-only (0600) docker-compose.yaml. It runs the updater with the file owner’s numeric UID/GID and the Docker socket’s supplementary group. Before reporting success, it checks from inside the updater that the Compose file can be read and validated and that the Docker daemon is accessible.

Automatic installation requires a local Docker socket at /var/run/docker.sock. The UID/GID setup assumes standard Linux Docker ownership mapping. Rootless Docker, user namespace remapping, custom Docker endpoints, and Docker Desktop may require different socket or file access configuration; verify access from inside the updater before relying on remote updates.

To connect the agent to a different address than the instance that served the script, pass the address you sign in to:

Terminal window
curl -fsSL https://app.resplendentdata.com/api/public/sync-agent-install.sh | SYNC_AGENT_BASE_URL=https://your-instance.example.com bash

If you prefer not to pipe scripts to bash:

  1. Create a directory for the agent:

    Terminal window
    mkdir resplendent_sync_agent
    cd resplendent_sync_agent
    umask 077
    touch docker-compose.yaml
    chmod 600 docker-compose.yaml
  2. Create docker-compose.yaml:

    name: resplendent-sync-agent
    services:
    sync-agent:
    image: resplendentdata/sync-agent:latest
    container_name: sync-agent
    environment:
    - SYNC_AGENT_UUID=your-uuid-here
    - SYNC_AGENT_KEY=your-key-here
    - SYNC_AGENT_BASE_URL=https://app.resplendentdata.com
    - SYNC_AGENT_UPDATER_URL=http://sync-agent-updater:8080/v1/update
    - SYNC_AGENT_UPDATER_TOKEN=generate-a-long-random-token
    restart: always
    sync-agent-updater:
    image: resplendentdata/sync-agent-updater:latest
    container_name: sync-agent-updater
    user: '1000:1000'
    group_add:
    - '999'
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    - ./docker-compose.yaml:/config/docker-compose.yaml:ro
    environment:
    - SYNC_AGENT_UPDATER_TOKEN=generate-a-long-random-token
    - SYNC_AGENT_COMPOSE_FILE=/config/docker-compose.yaml
    - SYNC_AGENT_COMPOSE_PROJECT=resplendent-sync-agent
    - SYNC_AGENT_SERVICE_NAME=sync-agent
    - SYNC_AGENT_UPDATE_AUTO_THROTTLE_SECONDS=21600
    restart: always
  3. Replace your-uuid-here and your-key-here with your actual credentials. If you sign in to Resplendent at a different address, set SYNC_AGENT_BASE_URL to that address. Replace both generate-a-long-random-token values with the same long random token. On Linux, replace user with the output of stat -c '%u:%g' docker-compose.yaml and group_add with the output of stat -c '%g' /var/run/docker.sock. Write those numeric values directly into the file so the updater can resolve the configuration without your host shell’s variables.

  4. Start the containers:

    Terminal window
    docker compose up -d
    docker compose exec -T sync-agent-updater python updater.py --check

The Resplendent updater sidecar can update the sync agent from the Sync Agents page and checks for updates automatically when the agent reconnects.

Repair updater file permissions on an existing installation

Section titled “Repair updater file permissions on an existing installation”

Keep the existing agent credentials and shared updater token. Run these commands on the host from the installation directory; do not rerun the installer over the existing configuration.

  1. Read the Compose file owner’s numeric UID/GID and the Docker socket’s group:

    Terminal window
    stat -c '%u:%g' docker-compose.yaml
    stat -c '%g' /var/run/docker.sock
  2. Under sync-agent-updater, set user: '<file-owner-uid>:<file-owner-gid>' and group_add: ['<socket-gid>'], using the numbers from those commands. Keep ./docker-compose.yaml:/config/docker-compose.yaml:ro.

  3. Install the updated updater image and verify its access:

    Terminal window
    chmod 600 docker-compose.yaml
    docker compose pull sync-agent-updater
    docker compose up -d --no-deps --force-recreate sync-agent-updater
    docker compose exec -T sync-agent-updater python updater.py --check

After the check passes, use Check for Updates in Resplendent and inspect docker compose logs --tail=100 sync-agent-updater for the result. The updater replaces only the sync agent; updating the updater itself requires these host commands.

The updater’s health check verifies configuration access, Compose validation, and Docker daemon access. Healthy status does not establish that a later image pull or agent replacement succeeded.

Check the logs to confirm the agent connected:

Terminal window
docker compose logs -f sync-agent

You should see:

INFO:__main__:Authenticating with server
INFO:__main__:Successfully authenticated with the server

In Resplendent, the Last Connection column on the Sync Agents page should show the current time. The agent sends a heartbeat every 30 seconds.


Once your agent is running, you can use it when connecting a data source:

  1. Go to Settings → Integrations
  2. Find the integration card (e.g., QuickBooks Desktop). Click Connect, or select Manage → New connection if the card already has a connection
  3. Fill in the connection details and the required Connection Title
  4. Scroll down to On-Premise Sync Agent
  5. Toggle Enable On-Premise Sync
  6. Under Select Sync Agent, choose your agent
  7. Click Save & Test

The connection test runs through your sync agent. After the dialog shows Connected, click Sync Dataset to select the datasets you want to sync.


Run these from the directory containing docker-compose.yaml:

Terminal window
# View logs
docker compose logs -f sync-agent
# Restart the agent
docker compose restart sync-agent
# Stop the agent
docker compose down
# Update manually
docker compose pull && docker compose up -d
  1. Go to Settings → Sync Agents
  2. Click the agent name
  3. Update the name if needed
  4. Click Save

You can’t change the UUID or Key after creation. If you need new credentials, delete the agent and create a new one.

You must be an Admin user to delete a sync agent.

  1. Go to Settings → Sync Agents
  2. Click the agent name
  3. Click Delete

You can’t delete an agent that’s still assigned to an integration. First go to Settings → Integrations, edit or delete each connection that uses the agent, and save the changes so the connection no longer uses that agent.


  • Check the container is running: docker ps
  • Verify the UUID and Key match what’s in Resplendent
  • Check logs for errors: docker compose logs sync-agent
  • Ensure outbound connections on port 443 to the instance you sign in to, such as wss://app.resplendentdata.com, aren’t blocked

“Connection refused” when testing integration

Section titled ““Connection refused” when testing integration”
  • Verify the sync agent can reach your data source on the network
  • Check firewall rules between the agent and data source
  • For QuickBooks Desktop, ensure the CData Gateway is running
  • Check for network instability
  • The agent automatically reconnects after disconnection
  • If the problem persists, check docker compose logs sync-agent for error patterns

For detailed setup instructions with specific data sources:


Sync agents are available on Business tier and above. See Tier Limits for details.


Does the sync agent require inbound firewall ports?

Section titled “Does the sync agent require inbound firewall ports?”

No. The agent only makes outbound connections to Resplendent’s cloud on port 443 (HTTPS/WSS). No inbound ports, port forwarding, or firewall rules are needed.

Syncs pause until the agent reconnects. The agent automatically reconnects when the network is restored. No data is lost.

Yes. Create a separate agent in Resplendent for each location or network segment. Each agent needs its own UUID and Key.

The Resplendent updater sidecar can update the sync agent from the Sync Agents page and checks for updates automatically when the agent reconnects. For manual updates: docker compose pull && docker compose up -d.

For production, we recommend a dedicated 64-bit x86 Linux VM with 4 vCPU, 8 GB RAM, 40 GB of available SSD storage, and a 100 Mbps network connection. The minimum profile for evaluation or light workloads is 2 vCPU, 4 GB RAM, and 20 GB of available storage. See Requirements for high-volume sizing and network details.

Basic connection status appears in Settings → Sync Agents. For detailed logs, check the container directly: docker compose logs -f sync-agent.