RMM Overview:
Remote monitoring and management (RMM) software application enables Managed IT service providers (MSPs/MSSPs) to monitor their customers’ networks and computers remotely and proactively. RMM tool helps businesses gain insight into the performance, health, and status of their various IT assets.This tool gives the administrator control over the network and endpoints which involves installing software and managing all activities:
This article describes how SonicWall Capture Client integrates with Datto Remote Monitoring & Management (RMM) tool. This integration helps: Install Capture Client on the endpoint using the Datto platform and displays that Capture Client is installed on the device details in device list page.
About Datto RMM :
Datto RMM is an IT automation solution that helps companies track and manage IT assets from a single location. This document describes the steps that need to be performed to be able to configure the integration successfully. Datto RMM helps Managed Service Providers (MSPs/MSSPs) to secure, monitor, and manage endpoints remotely to reduce costs and improve service delivery.
CAUTION: Before starting the integration, make sure that the Datto RMM agent is installed on the endpoints and is being reported in the Datto RMM console.Also, download the Capture Client Agent MSI package from the CC Console.
Configuring Datto RMM
Sample Datto RMM PowerShell script component inside the batch file:
“msiexec /i "SonicWall Capture Client.3.7.7.msi" /qn /promptrestart TOKENID=$ENV:CaptureClientTenantID /L*V "C:\CapCliInstall.log" echo Product Installed Succesfully exit”

The values for these variables can be found in the Capture Client console under the respective tenant.The TenantId can be found in the Capture Client console under Management | Tenant Settings
The version can be found under Management|Client Installers based on the clients chosen.
NOTE: Please make sure you use the right TenantId or the client will be installed under different (wrong) Tenant.
TIP: To know more more about Capture Client Installation via Command Line Interface or PowerShell, refer to this KB article.
Troubleshooting
Please post your queries to SonicWall community for any help.