Configure Box for external content indexing

  • Release version: Yokohama
  • Updated July 31, 2025
  • 3 minutes to read
  • Create and authorize an OAuth 2.0 application in the Box developer console to allow the Box external content connector to access your Box source system.

    Before you begin

    You need administrator access to the Box developer console and the Box Admin UI portal.

    You must have created a private/public key pair for the Box external content connector and extracted the public key certificate in PEM-encoded (Base64 ASCII) X.509 format. For details on creating the public/private key pair and extracting the public key certificate, see Create a public/private key pair for the Box external content connector.

    Role required: none

    About this task

    The Box external content connector retrieves documents and user permissions from your Box source system using the Box API.

    To allow the connector to access your Box source system via the Box API, you must configure and authorize an OAuth 2.0 application in the Box developer console. Your connector administrator can use settings copied from the OAuth 2.0 application and its API key to configure the Box external connector for proper connection to your source system.

    Procedure

    1. In the Box developer console, create a new OAuth 2.0 application for the Box external content connector.
      1. Navigate to https://app.box.com/developers/console and log in with administrator credentials.
      2. Select Create Platform App, then select Custom App.
        My Platform Apps screen in Box developer console.
      3. In the Create a Custom App window, enter a name for your app and specify its purpose, then select Next.
        Create a Custom App screen 1 of 2 in Box developer console.
      4. In the Create a Custom App windows, select Server Authentication (with JWT), then select Create App.
        Create a Custom App screen 2 of 2 in Box developer console.
        The Configuration screen for your new OAuth 2.0 application appears.
    2. Configure your new OAuth 2.0 application with required settings and generate a public/private keypair for it.
      1. In the App Access Level section, select the App + Enterprise Access option.
        App Access Level configuration settings in Box developer console.
      2. In the Application Scopes section, under the Content Actions heading, select the Read all files and folders stored in Box and Write all files and folders stored in Box options if they're not already selected.
        Application Scopes configuration settings in Box developer console.
      3. In the Advanced Features section, select the Make API calls using the as-is header and Generate user access tokens options.
        Advanced Features configuration settings in Box developer console.
      4. In the Add and Manage Public Keys section, select Add a Public Key.
        Add and Manage Public Keys configuration settings in Box developer console.
        The Add a new Public Key dialog box appears.
      5. In the Add a new Public Key dialog box, paste the PEM-encoded public key text, including the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- markers, into the Public Key field, then select Verify and Save.
        Add a new Public Key dialog box in Box developer console.
      6. Copy the public key ID string that Box displays for the new public key and store it in a secure location.
        ID shown for new public key in Box developer console.
        Important:
        Your connector administrator needs this public key ID string when configuring the Box external content connector.
      7. In the App Settings section, select Download as JSON, then save the downloaded JSON-format settings file in a secure location.
        App Settings section in Box developer console.
        Important:
        Your connector administrator needs this JSON-format settings file when configuring the Box external content connector.
      8. Select Save Changes.
        A message appears, reporting that the OAuth 2.0 app's configuration has been successfully updated.
    3. Submit an authorization request for your new OAuth 2.0 application.
      1. Navigate to the Authorization screen for your new OAuth 2.0 application.
      2. Select Review and Submit.
        Review and Submit option in Box developer console authorization settings.
      3. On the Review App Authorization Submission screen, enter a description for your OAuth 2.0 application, then select Submit.
        Review App Authorization Submission screen in Box developer console.
        The app's Authorization Status shows Pending Authorization.
    4. In the Box Admin UI portal, authorize your new OAuth 2.0 application.
      1. Navigate to https://app.box.com/master and log in with administrator credentials.
      2. Select the Integrations menu icon , then navigate to the Platform Apps Manager tab.
      3. Select Server Authentication Apps and find the entry for your new OAuth 2.0 application.
      4. Open the app entry's context menu by selecting its overflow icon , then select Authorize App.
        Platform Apps Manager screen in Box Admin UI portal.
      5. On the Authorize App screen, select Authorize.
        Authorize App screen in Box Admin UI portal.
        The app's Authorization Status changes to Authorized.

    What to do next

    Provide the following items to your connector administrator:
    • The email address for the Box administrator account that you used to configure the OAuth 2.0 application.
    • The public key ID string that you copied in step 2.f.
    • The JSON-format settings file that you downloaded in step 2.g.

    Your connector administrator needs these items to configure a Box external content connector to retrieve user boxes and security principals from your Box source system.

    For details on creating and configuring a Box Cloud external content connector, see Create a Box external content connector.