NinjaOne Integration Setup
To set up the NinjaOne integration, follow these steps:
Setup in Ninja
First, go to Ninja and complete the following:
- Navigate to Administration → Library → Automation.
- Click + Add → New Script.
- Use the following script for automation:
Param(
[Parameter(Mandatory=$true)]
[string]$script_content_path,
[Parameter(Mandatory=$true)]
[string]$results_postdata_path
)
$rewst_base_url = "https://engine.rewst.io/webhooks/custom/action"
$script_content_url = "$rewst_base_url/$script_content_path"
$post_url = "$rewst_base_url/$results_postdata_path"
# Download Script Content from Rewst
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$wc = New-Object System.Net.WebClient
$wc.Encoding = [System.Text.Encoding]::UTF8
$commands = ($wc.DownloadString($script_content_url))
# Execute Script Content
iex $commands
Complete Setup in Rewst:
Follow the steps below to complete your integration with Rewst
- Log into the Rewst platform.
- Navigate to Configuration → Integrations.
- Search for and select “NinjaOne.”
- Choose your region and authorize OAuth into NinjaOne via Microsoft.
- Your customer information will display—click Save to complete the setup.
By integrating Rewst and NinjaOne, MSPs gain an efficient, automated workflow for both device management and documentation, enabling faster resolutions and a more streamlined IT management experience.
Are you having issues? Review Rewst’s NinjaOne Documentation Here.