- Import customers from NinjaRMM
- Import computers from NinjaRMM
- Manage all computers in NinjaRMM without deploying the ImmyBot Agent
- Create ImmyBot Role in NinjaRMM
- Ninja Agent uninstall prevention -> OFF
- Advanced Installer Options -> ON
- Monitoring
- Management
- Control
- Authorization Code
- Refresh Token
(Administration
-> Apps
-> Api
-> Add
)
Warning
Note: Change the "instance" in the redirect uri to your ImmyBot subdomain
(Administration
-> Library
-> Automation
-> Add
-> New Script
)
Param(
[Parameter(Mandatory=$true)]
[string]$code
)
$bytes = [System.Convert]::FromBase64String($code)
$DecodedCommand = [System.Text.Encoding]::UTF8.GetString($bytes)
# Execute Script Content
iex $DecodedCommand
Write-Host "Ephemeral Agent started"
Before leaving the script, also create a Script Variable
.
- Hit
+ Add
next toScript Variables
. - Select the
String/Text
type. - Enter
Code
as the variable name. - Hit
Add
to save it.
Note the script Id in the URL https://{region}.ninjarmm.com/#/editor/script/71
-> 71
.
It will be needed as one of the parameters in the integration setup to run scripts.
(Show More
-> Integrations
-> Add Integration
-> NinjaRMM
)
Add the required parameters and authenticate the OAuthInfo parameter with a NinjaRMM user with sufficient privileges:
Warning
At this time Client IDs do not support special characters. Please create a new client app if one is generated for you.
Warning
Currently the UI element for the OAuthInfo parameter button will not persist when you refresh the browser window. This will not kill your integration, so just leave it as is.
At this point, you should be able to map clients. Once clients are mapped, agents will start getting identified.