Connect data
Sync agents
A sync agent connects sources that Resplendent can’t reach over the internet, such as QuickBooks Desktop, a local SQL Server or a database behind a corporate firewall. Use this page to create, install and manage one.
How it works
Section titled “How it works”The sync agent is a Docker container on your network. It opens an outbound connection to Resplendent on port 443, waits for sync requests, queries your local source and sends the results back.
┌──────────────────────── Your network ────────────────────────┐│ ││ ┌──────────────┐ ┌────────────────────────────────┐ ││ │ Sync agent │ ◄─────► │ Local source │ ││ │ (Docker) │ │ (QuickBooks, SQL Server) │ ││ └──────┬───────┘ └────────────────────────────────┘ ││ │ │└─────────│────────────────────────────────────────────────────┘ │ Outbound only, port 443 ▼ ┌───────────────┐ │ Resplendent │ └───────────────┘Because the agent only connects outward, you don’t open inbound firewall ports or set up port forwarding.
You need a sync agent when your source runs on a local machine, has no public address, can’t allow Resplendent’s IP addresses, or sits on a private network segment. Cloud apps and databases with public addresses connect directly from Settings → Integrations.
Create a sync agent
Section titled “Create a sync agent”- Open Settings → Sync Agents and click Add Sync Agent.
- Enter a Name, such as “Office Server”, and click Save.
- Keep the dialog open and copy the Agent UUID and Agent Key. The key reads Pending save until you save.
- Copy the command under Install on your server. It points to the Resplendent address you’re signed in to.
If you close the dialog first, click the agent’s name in the list to see its details again.
Install the agent
Section titled “Install the agent”Requirements
Section titled “Requirements”- A 64-bit x86 (
amd64) machine with Docker Engine and Docker Compose v2. - Network access from that machine to your local source.
- Outbound HTTPS and WebSocket access on TCP port 443 to the Resplendent address you sign in to, such as
app.resplendentdata.com.
Use a dedicated Linux server or VM that stays on around the clock, because the agent must be online whenever syncs run. Windows with WSL2 and macOS work for evaluation.
| Workload | CPU | Memory | Free 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 several sources | 8 vCPU | 16 GB RAM | 80 GB | 100 Mbps–1 Gbps |
These are planning guides, not hard limits. Use depends on how many syncs run at once, the columns you select, row width and how much changes between syncs. Large first imports can briefly use much more memory and bandwidth than normal syncs.
The agent doesn’t keep a copy of your data on the host. Storage holds Docker images, container logs and room to download an updated image. Turn on Docker log rotation and leave space for two copies of the image during an update.
Quick install
Section titled “Quick install”-
Sign in to the server and make an empty folder for the agent.
-
Run the command from the agent dialog. For
app.resplendentdata.comit is:Terminal window mkdir resplendent_sync_agentcd resplendent_sync_agentcurl -fsSL https://app.resplendentdata.com/api/public/sync-agent-install.sh | bash -
Enter the Agent UUID and Agent Key when prompted.
The script writes an owner-only docker-compose.yaml, starts the agent and its updater, and checks that the updater can read the file and reach Docker. The agent connects to the Resplendent address that served the script. To connect somewhere else, pass the address you sign in to:
curl -fsSL https://app.resplendentdata.com/api/public/sync-agent-install.sh | SYNC_AGENT_BASE_URL=https://your-instance.example.com bashThe quick install needs a local Docker socket at /var/run/docker.sock and standard Linux Docker ownership. Rootless Docker, user namespace remapping, custom Docker endpoints and Docker Desktop may need the manual install.
Manual install
Section titled “Manual install”-
Create a folder and an owner-only Compose file:
Terminal window mkdir resplendent_sync_agentcd resplendent_sync_agentumask 077touch docker-compose.yamlchmod 600 docker-compose.yaml -
Put this in
docker-compose.yaml:name: resplendent-sync-agentservices:sync-agent:image: resplendentdata/sync-agent:latestcontainer_name: sync-agentenvironment:- 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-tokenrestart: alwayssync-agent-updater:image: resplendentdata/sync-agent-updater:latestcontainer_name: sync-agent-updateruser: '1000:1000'group_add:- '999'volumes:- /var/run/docker.sock:/var/run/docker.sock- ./docker-compose.yaml:/config/docker-compose.yaml:roenvironment:- 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=21600restart: always -
Replace
your-uuid-hereandyour-key-herewith the agent’s UUID and key. If you sign in to Resplendent at another address, setSYNC_AGENT_BASE_URLto it. -
Replace both
generate-a-long-random-tokenvalues with the same long random token. -
On Linux, set
userto the output ofstat -c '%u:%g' docker-compose.yamlandgroup_addto the output ofstat -c '%g' /var/run/docker.sock. Write the numbers into the file directly. -
Start the containers and check the updater:
Terminal window docker compose up -ddocker compose exec -T sync-agent-updater python updater.py --check
The updater lets you update the agent from Settings → Sync Agents with Check for Updates, and checks for updates automatically when the agent reconnects.
Check the connection
Section titled “Check the connection”Watch the agent’s log:
docker compose logs -f sync-agentA working agent logs:
INFO:__main__:Authenticating with serverINFO:__main__:Successfully authenticated with the serverIn Settings → Sync Agents, the agent’s Last Connection shows a recent time. The agent checks in every 30 seconds.
Repair updater permissions on an existing install
Section titled “Repair updater permissions on an existing install”If Check for Updates fails on an older install, fix the updater’s file access without reinstalling. Run these from the install folder and keep your existing credentials and token.
-
Read the Compose file’s owner and the Docker socket’s group:
Terminal window stat -c '%u:%g' docker-compose.yamlstat -c '%g' /var/run/docker.sock -
Under
sync-agent-updater, setuser: '<file-owner-uid>:<file-owner-gid>'andgroup_add: ['<socket-gid>']with those numbers. Keep the./docker-compose.yaml:/config/docker-compose.yaml:rovolume. -
Pull the updater, recreate it and check its access:
Terminal window chmod 600 docker-compose.yamldocker compose pull sync-agent-updaterdocker compose up -d --no-deps --force-recreate sync-agent-updaterdocker compose exec -T sync-agent-updater python updater.py --check -
Click Check for Updates in Resplendent, then read the result with
docker compose logs --tail=100 sync-agent-updater.
The updater replaces only the sync agent. Updating the updater itself takes the host commands above. A passing check confirms access, not that a later update succeeded.
Use the agent for a connection
Section titled “Use the agent for a connection”- Open Settings → Integrations and find the source’s card, such as QuickBooks Desktop or MS SQL.
- Click Connect, or Manage then New Connection if the card already has one.
- Fill in the connection details and a Connection Title.
- Under On-Premise Sync Agent, turn on Enable On-Premise Sync.
- Under Select Sync Agent, choose your agent.
- Click Save & Test. The test runs through your agent.
- When the dialog shows Connected, click Sync Dataset and choose what to sync.
Eric’s connection card in the Workspace Conversation has the same On-Premise Sync Agent settings, so you can also connect these sources there.
Manage agents
Section titled “Manage agents”Run these from the folder that holds docker-compose.yaml:
# View logsdocker compose logs -f sync-agent
# Restart the agentdocker compose restart sync-agent
# Stop the agentdocker compose down
# Update by handdocker compose pull && docker compose up -dTo rename an agent, open Settings → Sync Agents, click the agent’s name, change Name and click Save. You can’t change an agent’s UUID or key; for new credentials, create a new agent.
To delete an agent, click its name and click Delete. You can’t delete an agent while a connection uses it. First edit or delete each connection in Settings → Integrations so it no longer uses the agent.
Troubleshooting
Section titled “Troubleshooting”| Problem | What to check |
|---|---|
| Last Connection shows “Never connected” | The container is running (docker ps), the UUID and key match Resplendent, the logs (docker compose logs sync-agent), and that outbound port 443 to your Resplendent address isn’t blocked |
| “Connection refused” when testing a connection | The agent’s machine can reach the source, and firewall rules between them allow it. For QuickBooks Desktop, the CData Gateway is running |
| The agent keeps disconnecting | Network stability. The agent reconnects on its own; look for repeated errors in docker compose logs sync-agent |
If the agent goes offline, syncs pause until it reconnects, and nothing is lost. You can run several agents, one per site or network segment, each with its own UUID and key.