For the complete documentation index, see llms.txt. This page is also available as Markdown.

Kaseya VSA integration

If you’re new to integrations in Rewst, read through our introductory integration documentation here.

What does the Kaseya VSA integration do?

Our Kaseya VSA integration enables the automation of remote monitoring and management. Use the Kaseya VSA API within Rewst workflows to obtain asset inventory, execute commands and run procedures on endpoints.

Set up the Kaseya VSA integration

Set up steps in Kaseya VSA

  1. Log in to Kaseya VSA

  2. Navigate to System > Server Management > OAuth Clients.

  3. Select Register Client and supply the following:

    • Client Name: RewstAPI

    • Redirect URL (From Rewst Kaseya integration page)

    • Email: email@address.com

  4. Click Save.

  5. Copy the information from the dialogue and store it somewhere secure. You'll need this information for further steps in Rewst.

Set up steps in Rewst

  1. Navigate to Integrations in the left side menu of your Rewst platform.

  2. In the Integrations page, search for the Kaseya VSA integration.

  3. Under Parameters, enter the information copied from Kaseya into the relevant fields:

    1. Hostname: i.e. rmm.company.com

    2. Client ID: From Kaseya OAuth page

    3. Client Secret: From Kaseya OAuth page

  4. Click Save Configuration.

  5. Rewst will do a quick validation of your input. Once completed, you'll see a new section beneath the configuration form for organization mapping. Complete your mapping as desired.

Rewst agent procedure import

To perform actions on agent end points in Rewst, you'll need to import the file Procedure RewstPoshCommand.xml into the VSA.

  1. Download the file Procedure Rewst (Powershell).xml.

  1. Log in to your VSA.

  2. Navigate to System > Server Management > Import Center.

  3. Select New Import.

  4. Name it Rewst (Powershell), and point it to the Procedure Rewst (Powershell).xml file.

  5. Click Process.

  6. Click Save.

Use custom PowerShell scripts with your RMM integration

This brand of RMM allows PowerShell scripts to be passed via API. The RMM runs your script on an endpoint, and Rewst has no way to see the result, so the script has to POST back to a Rewst URL. PowerShell only runs on the RMM's side, never inside Rewst. To report the script back to Rewst, you'll need to add a wait for webhook callback node. This will generate a unique callback URL and pause until an external system calls it or the timeout expires.

If using custom scripts, you'll need to add this to bottom of your existing script to ensure the call back to Rewst is made. The $resumeUrl / $resumeToken are on the node's URL Ready output, and the workflow passes both into the RMM script as parameters.

Timeout is required and bounded: 60 seconds minimum, 604800 maximum, which is 7 days. You can control the response your script sees. The responseStatus defaults to 200, and there's an optional responseBody. This is useful if the RMM cares what came back.

Last updated

Was this helpful?