> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NinjaOne OAuth 2.0 connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 for NinjaOne in StackOne to allow users to link their accounts.

> [!WARNING]
>
> Only system administrators can create OAuth client applications in NinjaOne. Ensure you have Admin privileges before starting.

## Register an OAuth Application in NinjaOne

Create an OAuth client application in the NinjaOne admin panel to obtain a Client ID and Client Secret. Set them once in your Connector Profile and they apply to everyone who connects.

**1. Sign in to NinjaOne**

Sign in to your [NinjaOne portal](https://app.ninjarmm.com) with administrator credentials.

**2. Navigate to API settings**

Go to **Configuration** → **Apps** → **API** → **Client App IDs** and click **Add** to create a new application.

**3. Configure the application**

Fill in the application details.

<ul>
  <li>**Application Type:** Select **Web** (server-side web application)</li>
  <li>**Name:** Enter a descriptive name (e.g., `StackOne Integration`)</li>
  <li>**Redirect URI:** Enter the **Callback URL** from your Connector Profile</li>
  <li>**Scopes:** Select **Monitoring** and **Management** (add **Control** if remote access is needed)</li>
  <li>**Grant Types:** Enable **Authorization Code** and **Refresh Token** (required for offline access)</li>
</ul>

**4. Save and copy credentials**

After saving, copy the **Client ID** and **Client Secret** into your Connector Profile. The Client Secret is shown only once.

## Set the region and scopes

These values are shared by everyone who connects through this profile.

**1. Select your NinjaOne region**

Select the **Region** that matches your NinjaOne instance URL.

<ul>
  <li>`app` — United States (default)</li>
  <li>`us2` — United States 2</li>
  <li>`eu` — Europe</li>
  <li>`oc` — Oceania</li>
  <li>`ca` — Canada</li>
</ul>

**2. Choose the scopes**

Enter the OAuth **Scopes** to request, space-separated.

<ul>
  <li>**Monitoring** — Read access to devices, organizations, alerts, and monitoring data</li>
  <li>**Management** — Write access to modify devices, create organizations, run scripts, and manage policies</li>
  <li>**Control** — Remote access via API (only needed for remote control actions)</li>
</ul>

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/ninjaone/guides/link-account/oauth-2-0.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.