Before you begin: Create an enrollment token and copy the deployment script for the target operating system. See Deploy SaaS Management through your RMM.
These instructions apply to VSA 9, also known as VSA Classic. They may not apply to VSA 10.
Define the enrollment token
- Go to Agent Procedures > @Management > Variable Manager.
- Create a variable named
EnrollmentToken. - Enter the enrollment token without quotes or leading or trailing spaces.
- Assign a value for each machine group.
- In procedures, reference the variable as
<EnrollmentToken>.
Windows
- In Manage Files, upload the Windows deployment script as
download-and-install-agent.ps1. - Go to Agent Procedures > Manage Procedures > Schedule / Create.
- Add a
writeFile()step that copies the script toC:\Windows\Temp\download-and-install-agent.ps1. - Add an
executePowershellCommand64BitSystem()step with the argument-EnrollmentToken "<EnrollmentToken>". - Run the procedure on the target Windows devices.
macOS
- Upload the macOS deployment script as
download-and-install-agent.sh. - Add a
writeFile()step that copies it to/tmp/download-and-install-agent.sh. - Add an Execute Shell Command step that runs as System with:
SCALEPAD_ENROLLMENT_TOKEN="<EnrollmentToken>" bash /tmp/download-and-install-agent.sh > /tmp/scalepad-kaseya.log 2>&1To skip browser plugins, add SkipPlugins=1 before bash.
After the procedure runs, verify deployment.