This page describes how to set up and configure a third-party configuration before creating the Box data store.
Create a Box app
- Sign in to the Box Developer Console with your administrator account.
- Click Create platform app.
- Select App typeas Custom app.
- Enter the App name.
-
Set the following properties:
- Purpose:Integration.
- Categories:AI.
- External system:Google Cloud Gemini Enterprise.
-
Select Authentication methodas Server Auth - JWT.
-
Click Create App.
Configure the Box app
-
In the Box Developer Console , select the Platform app from the My Platform Appspage.
My Platform Apps page in the Box Developer Console. -
In the Configurationtab, do the following:
-
In the App access levelsection, select App + Enterprise access.
Configure the Box app. -
In the Application scopessection, select the scopes based on the connection mode from the following table:
Connection modeScopePurposeFederated searchRead all files and folders stored in BoxRequired to fetch comments and tasks, and to preview files for search.Federated search and actionsWrite all files and folders stored in BoxRequired to copy the files and also to fetch comments and tasks, and to preview files for search.Data ingestionRead all files and folders stored in BoxRequired for data ingestion.Manage usersRequired to fetch the list of users, enabling retrieval of files, comments, and tasks from individual user accounts for ingestion. The administrator service account does not inherently possess access to all user-owned files. The as-user header enables the system to make API requests as the specific user to access their data.Manage enterprise propertiesNecessary for incremental sync functionality, as it facilitates the use of the Enterprise event stream to track changes for ingestion.Manage groupsRequired to fetch the list of groups and their members. This is critical for access control during ingestion.
-
-
In the Add and manage public keyssection, click Generate a public/private keypair.
- The public keyis automatically uploaded to the console with an ID, used when creating a connection.
- You can download a configuration file with the private key and passphrase. Be sure to keep this file for later use.
- Optionally, to generate your own key, see the Box keypair setup guide .
-
Click Save changes.
Authorize the Box app
To authorize the Box app from the Developer console, do the following:
- In the Box Developer Console , select the Platform app, and then go to the Authorizationtab.
- Click Review and submit.
-
In the Review app authorization submissiondialog, click Submit.
If the authorization request is submitted successfully, the following confirmation message is shown:
Authorization request is successfully sent.
To authorize the Box app from the Box admin platform apps manager, do the following:
- Sign in to the Box admin platform apps manager with your administrator account.
- Choose the Platform appthat you have configured.
- Click the three dots ( ...) in the corresponding row.
- Select Authorize appfrom the drop-down list.
- In the Authorize appdialog, click Authorizeto complete the authorization process.
Obtain Box authentication information
To obtain the Box authentication information, do the following:
- In the Box Developer Console , select the Platform app from the My Platform Appspage.
-
Enterprise ID: Obtain it from the General settingstab.
Obtain the Enterprise ID. -
Client IDand Client secret: Obtain it from the Configurationtab under OAuth 2.0 credentials.
Obtain the client configuration. -
Private key, Key ID, and Passphrase: These parameters were generated and downloaded to a local file from the Configurationtab under Add and manage public keyswhile configuring the app.
Add and manage public keys.

