> ## 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.

# Box OAuth 2.0 connector profile – StackOne setup guide

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

<Warning>You need a Box account with developer access to create applications. Ensure you have the appropriate permissions before proceeding.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Create a Custom App in Box Developer Console</h2>

  <p>To connect Box with StackOne, you need to create a Custom App with OAuth 2.0 authentication in the Box Developer Console. This will generate the Client ID and Client Secret required for integration.</p>

  <Steps>
    <Step title="Navigate to Box Developer Console">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Open your browser and navigate to <a href="https://app.box.com/developers/console" target="_blank" rel="noopener noreferrer">Box Developer Console</a>. Sign in with your Box account credentials.</p>
      </div>
    </Step>

    <Step title="Create a New App">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>New App +</strong> button in the top right corner of the My Platform Apps page.</p>
      </div>
    </Step>

    <Step title="Enter App Details">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the "Create a New App" dialog, provide the following details.</p>

        <ul>
          <li>Enter a descriptive <strong>App Name</strong> for your application (e.g., StackOne Integration).</li>
          <li>For <strong>App Type</strong>, select <strong>OAuth 2.0</strong> from the dropdown menu.</li>
          <li>Click <strong>Create App</strong> to proceed.</li>
        </ul>
      </div>
    </Step>

    <Step title="Configure OAuth 2.0 Credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>After creating the app, you'll be redirected to the Configuration page where you can view and manage your OAuth 2.0 credentials.</p>

        <ul>
          <li>Locate the <strong>OAuth 2.0 Credentials</strong> section.</li>
          <li>Copy the <strong>Client ID</strong> - you'll need this for StackOne configuration.</li>
          <li>Copy the <strong>Client Secret</strong> - click the <strong>Copy</strong> button to securely copy the secret.</li>
        </ul>
      </div>
    </Step>

    <Step title="Add StackOne Redirect URI">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Configure the OAuth 2.0 redirect URI to allow Box to redirect users back to StackOne after authentication.</p>

        <ul>
          <li>Scroll down to the <strong>OAuth 2.0 Redirect URIs</strong> section.</li>
          <li>In the <strong>Redirect URI</strong> field, enter `https://api.stackone.com/connect/oauth2/box/callback`</li>
          <li>Click the <strong>Add</strong> button to add the redirect URI to your app configuration.</li>
        </ul>
      </div>
    </Step>

    <Step title="Configure Application Scopes">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Enable the required permissions for your Box application by selecting the appropriate scopes under Application Scopes.</p>

        <ul>
          <li>Scroll down to the <strong>Application Scopes</strong> section.</li>
          <li>Under <strong>Content Actions</strong>, ensure both <strong>Read all files and folders stored in Box</strong> and <strong>Write all files and folders stored in Box</strong> are enabled. Both Read and Write scopes must be selected to ensure a successful account connection.</li>
          <li>Under <strong>Administrative Actions</strong>, enable <strong>Manage users</strong>, <strong>Manage groups</strong>, and <strong>Manage enterprise properties</strong>. These are required for a successful account connection, user and group management actions, and accessing enterprise event streams and attributes.</li>
        </ul>
      </div>
    </Step>

    <Step title="Save Changes">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>Save Changes</strong> button in the top right corner of the Configuration page to apply all changes to your Box application.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>OAuth Scopes</h2>

  <p>Box OAuth 2.0 scopes control what data and operations your application can access. You can configure custom scopes based on your integration requirements.</p>

  <Steps>
    <Step title="Understanding Available Scopes">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Review the available Box OAuth scopes to determine which permissions your integration needs.</p>

        <ul>
          <li><strong>root\_readwrite</strong> - Read and write all files and folders stored in Box (includes root\_readonly)</li>
          <li><strong>root\_readonly</strong> - Read all files and folders stored in Box</li>
          <li><strong>manage\_managed\_users</strong> - Manage enterprise users (create, update, delete users)</li>
          <li><strong>manage\_groups</strong> - Manage enterprise groups and group memberships</li>
          <li><strong>manage\_enterprise\_properties</strong> - View and manage enterprise properties and settings</li>
        </ul>
      </div>
    </Step>

    <Step title="Default Scopes">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Scope information for the Box integration.</p>

        <ul>
          <li>If no scopes are specified during StackOne configuration, the integration will default to <strong>root\_readwrite manage\_managed\_users manage\_groups manage\_enterprise\_properties</strong>.</li>
          <li>When specifying custom scopes, <strong>root\_readonly</strong> is required in order to connect the account.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

## Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for <strong>Box</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>Box</strong></li>
      <li>Select <strong>Type</strong> as <strong>OAuth 2.0</strong></li>

      <li>
        Fill out the fields using details retrieved from your provider:

        <ul style={{ marginLeft: '20px' }}>
          <li><strong>Client ID</strong></li>
          <li><strong>Client Secret</strong></li>
          <li><strong>OAuth Scopes</strong> (Optional)</li>
        </ul>
      </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>Box</strong>.
