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 authentication (with JWT).
Select Server authentication (with JWT). -
Click Create app.
Configure the Box app
-
In the Box Developer Console , choose the Platform app, and then go to the Configurationtab.
-
In the App access levelsection, select App + Enterprise access.
-
In the Application scopessection, select scopes as per your requirement 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.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.
Configure the Box app. -
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 .
Manage the keys.
-
Click Save changes.
Authorize the Box app
- In the Box Developer Console , choose the Platform app, and then go to the Authorizationtab.
- Click Review and submit.
-
In the Review app authorization submissiondialog, click Submit.
Authorize the Box app. If the authorization request is submitted successfully, the following confirmation message is shown:
Authorization request is successfully sent. -
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.
Click Authorize.
Obtain Box authentication information
Have the following Box authentication information ready:
-
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 already generated and downloaded to a local file from the Configurationtab under Add and manage public keyswhile configuring the app.
Add and manage public keys.

