Create a Box Application
To index content from Box, you must create a Box application to represent the connector.
NOTE: This procedure is subject to change. For information about creating a Box application, refer to the Box developer documentation.
To create a Box application
- Go to https://app.box.com/developers/console and create a new application.
- Select Custom App.
- Select User authentication (OAuth 2.0).
- Type a name for the app.
-
Specify a redirect URL.
- To use the NiFi Ingest connector, the redirect URL must match the URL shown in the advanced configuration dialog of the NiFi processor. (In the NiFi web interface, right-click the processor and click Configure. Then click ADVANCED. You can find the redirect URL on the OAUTH SETUP tab).
- To use the standard connector, the redirect URL must match the value of the
RedirectUrl
parameter in the OAuth tool configuration file,oauth_tool.cfg
. The default value ishttp://localhost:7878/
.
-
Select the following application scopes:
Name Required For Read all files and folders stored in Box Write all files and folders stored in Box Insert or Delete actions Make API calls using the as-user header Box Enterprise - To retrieve information from the accounts of Box Enterprise managed users, select the option Advanced Features > Perform actions as users. For more information about this permission, see https://developer.box.com/guides/authentication/oauth2/as-user/.