Bot Agent Installation
The OpenAutomate Bot Agent is the distributed component that executes automations on your infrastructure. This guide covers the complete installation and configuration process.Overview
The Bot Agent consists of two main components:- Windows Service: Background service that communicates with the orchestrator
- WPF UI Application: Desktop application for configuration and monitoring
Prerequisites
Before installing the Bot Agent, ensure your system meets the requirements:System Requirements
- OS: Windows 10 (1903+), Windows 11, or Windows Server 2019+
- Architecture: x64 (64-bit)
- RAM: 4 GB minimum, 8 GB recommended
- Storage: 2 GB free space minimum
- Network: Internet connectivity for orchestrator communication
Software Requirements
- Python 3.11+: Required for automation execution
- .NET 8.0 Runtime: Automatically installed with the agent
- Administrator Rights: Required for installation
Network Requirements
- Outbound HTTPS (443): To cloud.openautomate.io
- Firewall: Allow OpenAutomate Agent through Windows Firewall
- Proxy: Supported with authentication if required
Installation Process
Step 1: Prepare for Installation
-
Download Installer
- Log into your OpenAutomate dashboard
- Navigate to Agents → Add New Agent
- Fill in agent details and generate a machine key
- Download the Bot Agent installer
-
Prepare System
- Close all unnecessary applications
- Disable antivirus temporarily (if needed)
- Ensure stable internet connection
- Have the machine key ready
Step 2: Run the Installer
-
Launch Installer
-
Installation Wizard
- Welcome Screen: Click Next
- License Agreement: Accept the terms
- Installation Directory: Choose path (default:
C:\Program Files\OpenAutomate\
) - Service Configuration: Configure service settings
- Python Detection: Verify Python installation
- Ready to Install: Review settings and click Install
-
Installation Progress
- Files are copied to the installation directory
- Windows Service is installed and configured
- Desktop shortcuts are created
- Initial configuration files are set up
Step 3: Initial Configuration
After installation, the configuration wizard launches automatically:-
Connection Settings
- Organization Slug: Enter your organization identifier
- Machine Key: Paste the machine key from the dashboard
- Server URL: Default is
https://cloud.openautomate.io
-
Test Connection
- Click Test Connection to verify settings
- Ensure the test passes before proceeding
- Troubleshoot any connection issues
-
Register Agent
- Click Register to complete the setup
- The agent will appear in your dashboard as “Connected”
- Configuration is saved for future use
Configuration Options
Service Configuration
The Windows Service can be configured with various options:Service Properties
- Service Name: OpenAutomate Bot Agent
- Display Name: OpenAutomate Bot Agent
- Startup Type: Automatic (Delayed Start)
- Log On As: Local System (recommended)
Advanced Settings
Network Configuration
Proxy Settings
If your network requires a proxy:- System Proxy: Agent uses system proxy settings by default
- Manual Configuration: Edit
appsettings.json
:
Firewall Configuration
Add firewall rules for the agent:Security Configuration
Certificate Validation
- Default: Validates SSL certificates
- Development: Can disable for testing (not recommended for production)
- Custom CA: Support for custom certificate authorities
Authentication
- Machine Key: Unique key for agent authentication
- Rotation: Keys can be rotated without reinstalling
- Encryption: All communication is encrypted with TLS 1.3
Post-Installation Tasks
Verify Installation
-
Service Status
-
Dashboard Verification
- Return to the OpenAutomate dashboard
- Navigate to Agents
- Confirm the agent shows as “Connected”
- Check the last heartbeat timestamp
-
Agent UI Test
- Launch the Agent UI from Start menu
- Verify connection status is “Connected”
- Check for any error messages
Configure Antivirus Exclusions
Add the following paths to antivirus exclusions:Set Up Logging
Configure logging for troubleshooting:- Log Levels: Information, Warning, Error, Debug
- Log Rotation: Automatic cleanup of old logs
- Log Location:
C:\ProgramData\OpenAutomate\Logs\
Advanced Installation Scenarios
Silent Installation
For automated deployments:Group Policy Deployment
For enterprise environments:- Create MSI: Convert installer to MSI format
- GPO Configuration: Set up Group Policy Object
- Registry Settings: Configure via registry
- Deployment: Push to target machines
Docker Installation
For containerized environments:Troubleshooting Installation
Common Issues
Installation Fails
- Cause: Insufficient permissions
- Solution: Run as Administrator
- Check: User Account Control settings
Service Won’t Start
- Cause: Port conflicts or missing dependencies
- Solution: Check Windows Event Log
- Command:
eventvwr.msc
→ Windows Logs → Application
Python Not Found
- Cause: Python not in system PATH
- Solution: Reinstall Python with “Add to PATH” option
- Verify: Run
python --version
in Command Prompt
Connection Failed
- Cause: Network connectivity or firewall
- Solution: Test connectivity to orchestrator
- Command:
telnet cloud.openautomate.io 443
Log Analysis
Check these log files for troubleshooting:- Installation Log:
%TEMP%\OpenAutomate_Install.log
- Service Log:
C:\ProgramData\OpenAutomate\Logs\Service.log
- Agent UI Log:
%APPDATA%\OpenAutomate\UI\Logs\UI.log
- Windows Event Log: Application and System logs
Getting Help
If you encounter issues:- Documentation: Check troubleshooting guides
- Community: Join our Discord server
- Support: Email support@openautomate.io
- Logs: Include relevant log files when requesting help
Next Steps
After successful installation:- Test Execution: Run a simple test automation
- Configure Assets: Set up secure credential storage
- Install Packages: Deploy your first automation package
- Monitor Performance: Set up monitoring and alerts
- Scale Deployment: Install additional agents as needed