> ## 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 a connector profile using OAuth 2.0 for Box in StackOne to allow users to link their accounts.

> [!WARNING]
>
> You need a Box account with developer access to create applications. Ensure you have the appropriate permissions before proceeding.

## Create a Custom App in Box Developer Console

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.

**1. Navigate to Box Developer Console**

Open your browser and navigate to [Box Developer Console](https://app.box.com/developers/console). Sign in with your Box account credentials.

**2. Create a New App**

Click the **New App +** button in the top right corner of the My Platform Apps page.

**3. Enter App Details**

In the "Create a New App" dialog, provide the following details.

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

**4. Configure OAuth 2.0 Credentials**

After creating the app, you'll be redirected to the Configuration page where you can view and manage your OAuth 2.0 credentials.

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

**5. Add StackOne Redirect URI**

Configure the OAuth 2.0 redirect URI to allow Box to redirect users back to StackOne after authentication.

<ul>
  <li>Scroll down to the **OAuth 2.0 Redirect URIs** section.</li>
  <li>In the **Redirect URI** field, enter the **Callback URL** from your Connector Profile</li>
  <li>Click the **Add** button to add the redirect URI to your app configuration.</li>
</ul>

**6. Configure Application Scopes**

Enable the required permissions for your Box application by selecting the appropriate scopes under Application Scopes.

<ul>
  <li>Scroll down to the **Application Scopes** section.</li>
  <li>Under **Content Actions**, enable **Read all files and folders stored in Box**.</li>
  <li>Enable **Write all files and folders stored in Box** as well if you connect with the default scopes (which include write access) or plan to use actions that create or modify content. Read-only connections that specify custom read scopes do not need it.</li>
  <li>Under **Administrative Actions**, enable **Manage users**, **Manage groups**, and **Manage enterprise properties**. These are required for a successful account connection, user and group management actions, and accessing enterprise event streams and attributes.</li>
</ul>

**7. Save Changes**

Click the **Save Changes** button in the top right corner of the Configuration page to apply all changes to your Box application.

## OAuth Scopes

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

**1. Understanding Available Scopes**

Review the available Box OAuth scopes to determine which permissions your integration needs.

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

**2. Default Scopes**

Scope information for the Box integration.

<ul>
  <li>If no scopes are specified during StackOne configuration, the integration will default to **root\_readwrite manage\_managed\_users manage\_groups manage\_enterprise\_properties**.</li>
  <li>When specifying custom scopes, **root\_readonly** is required in order to connect the account.</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/box/guides/link-account/oauth-2-0.md).


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