> ## 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 (Client Credentials) connector profile – StackOne setup guide

> Set up the OAuth 2.0 (Client Credentials) connector profile for NinjaOne in StackOne. One-time admin setup required before your users can link NinjaOne accounts via Hub.

<Warning>Only system administrators can create OAuth client applications in NinjaOne.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Register a Machine-to-Machine Application in NinjaOne</h2>

  <p>Create an API Services (machine-to-machine) application in the NinjaOne admin panel.</p>

  <Steps>
    <Step title="Sign in to NinjaOne">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://app.ninjarmm.com" target="_blank" rel="noopener noreferrer">NinjaOne portal</a> with administrator credentials.</p>
      </div>
    </Step>

    <Step title="Navigate to API settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Go to <strong>Configuration</strong> → <strong>Apps</strong> → <strong>API</strong> → <strong>Client App IDs</strong> and click <strong>Add</strong>.</p>
      </div>
    </Step>

    <Step title="Configure the M2M application">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Fill in the application details.</p>

        <ul>
          <li><strong>Application Type:</strong> Select <strong>API Services (machine-to-machine)</strong></li>
          <li><strong>Name:</strong> Enter a descriptive name (e.g., `StackOne M2M Integration`)</li>
          <li><strong>Redirect URIs:</strong> Leave empty (not needed for Client Credentials)</li>
          <li><strong>Scopes:</strong> Select <strong>Monitoring</strong> and <strong>Management</strong> (add <strong>Control</strong> if remote access is needed)</li>
          <li><strong>Grant Types:</strong> Enable <strong>Client Credentials</strong></li>
        </ul>
      </div>
    </Step>

    <Step title="Save and copy credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>After saving, copy the <strong>Client ID</strong> and <strong>Client Secret</strong>. Store the Client Secret securely — it is shown only once.</p>
      </div>
    </Step>
  </Steps>
</section>

## Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for <strong>NinjaOne</strong>:

<Steps>
  <Step title="Navigate to Connector Profiles">
    Login to StackOne and navigate to [Connector Profiles](https://app.stackone.com/connector_profiles)
  </Step>

  <Step title="Create New Connector Profile">
    <ul>
      <li>Click <strong>+ Connector Profile</strong></li>
      <li>Search for and select <strong>NinjaOne</strong></li>
      <li>Select <strong>Type</strong> as <strong>OAuth 2.0 (Client Credentials)</strong></li>
      <li>(Optional) Select <strong>Actions</strong> to be enabled for this Connector Profile</li>
      <li>Click <strong>Create profile</strong></li>
    </ul>
  </Step>
</Steps>

Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to <a href="/guides/accounts-section#linking-accounts">Link Accounts</a> for <strong>NinjaOne</strong>.
