Connect the Agent

Deploy and connect RAPBot Agent to Orchestrator

After you have connection details from Orchestrator, install and connect RAPBot Agent on the machine that will run automations.

Prerequisites

  • RAPBot Agent installed on the target machine
  • Agent created in Bot Management Console
  • Domain URL, Organization ID, and Agent ID from the Orchestrator agent info dialog
  • Network access from the machine to your Orchestrator URL

Agent Communicator Form

When RAPBot Agent is not connected, the Agent Communicator screen is shown:

RAPBot Agent Communicator form with Domain URL, Organization ID, Agent ID, and Machine Description fields
FieldDescription
Domain URLOrchestrator base URL from agent information
Organization IDOrganization identifier from agent information
Agent IDAgent identifier from agent information
Machine DescriptionLabel for this machine (e.g. hostname or location)
SubmitConnect the agent to Orchestrator

Enter the values copied from Orchestrator. A green checkmark on Domain URL indicates the URL is valid:

Agent Communicator form filled with connection details and green checkmark on Domain URL

After Connection

On success:

  1. A Connected Successfully notification appears
  2. The Tasks screen opens with tasks assigned in Orchestrator
  3. The status bar shows Connected
  4. Orchestrator updates the agent card to Deployed (Connected)
RAPBot Agent Tasks screen after successful connection

Tasks and configuration sync from Orchestrator automatically within 30 seconds, or immediately when you click Refresh. See Agent Interface.

Connect via CLI

You can also connect using rap-agent connect on machines where the agent service is installed:

rap-agent connect

The CLI prompts for Orchestrator URL, Organization ID, Agent ID, and machine description.

See CLI Reference for service start/stop, status, and disconnect commands.

Agent Status in Orchestrator

StatusMeaning
License InactiveAgent license is not active
Active Not DeployedAgent exists but is not yet connected to a machine
Deployed (Connected)Agent is connected and RAPBot Agent is running
Deployed (Not Connected)Agent was deployed but lost connection

Details: Agents — Agent Status and Warnings & Background.

Disconnect

  • Agent UI: Click Undeploy in the header
  • CLI: rap-agent disconnect (use -f / --force if required)
  • Orchestrator: Undeploy from the organization agents list

Troubleshooting

IssueWhat to check
Invalid domainURL must be reachable; green checkmark on Domain URL
Version mismatchAgent build must support your Orchestrator version
Already connectedUndeploy before connecting a different agent
Not Connected statusInternet, engine running, agent service in system tray