# 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

1. Go to https://app.box.com/developers/console and create a new application.
2. Select Custom App.
3. Select User authentication (OAuth 2.0).
4. Type a name for the app.

5. 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 is `http://localhost:7878/`.

6. 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

7. 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/.

_FT_HTML5_bannerTitle.htm