Create a client app in NinjaOne
- In NinjaOne, go to Settings → Apps → API.
- Open the Client app IDs tab and click Add client app.
- Set Application platform to Web (PHP, Java, .Net Core, etc.). Don’t choose API Services (machine-to-machine). MSPilot sends you through NinjaOne authorization, which that platform doesn’t support.
- Set Name to
MSPilot. - Under Redirect URIs, add:
https://app.mspilot.io/api/oauth/connections/ninjarmm/callbackUse the hostname you actually sign in to. The URI must match exactly. - Under Scopes, select Monitoring, Management, and Control.
- Under Allowed grant types, select Authorization code, Client credentials, and Refresh token. Authorization code is required to connect. Refresh token keeps the connection alive. Don’t leave Refresh token unchecked.

- Click Add. Copy the Client ID and Client Secret to a password manager before you close the dialog. NinjaOne typically won’t show the secret again.

Connect NinjaOne
- In MSPilot, open Integrations and choose NinjaOne.
- Select the Instance that matches the URL you sign in to NinjaOne with — not the country your company is in. If you sign in at
https://ca.ninjarmm.com, choose Canada. - Paste Client ID and Client Secret.
- Click Connect NinjaOne, then approve access in NinjaOne when you’re redirected.
