--- title: "Create a Box repository definition" slug: "create-a-box-repository-definition" tags: ["Product Usage", "DLP 11.12.x"] updated: 2026-09-09T08:05:50Z published: 2026-09-09T08:05:50Z canonical: "docs.trellix.com/create-a-box-repository-definition" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Create a Box repository definition Configure a Box repository for scanning. For details about product features, usage, and best practices, click ? or Help. 1. In ePO - On-prem, select one of the following: - **Menu** → **Data Protection** → **DLP Discover** - **Menu** → **Data Protection** → **DLP Policy Manager** 2. Click the **Definitions** tab. 3. In the left pane, under **Repositories**, select **Box**. 4. Select **Actions** → **New Item**. 5. Enter the name and optional description. 6. Click the link to the Box website. Follow the instructions on the website to define the Box application and to obtain the client ID and client secret. - When defining the application, select the manage enterprise option. - For the redirect URI, enter the exact address of the ePO - On-prem server. > [!NOTE] > Note > > In other words, if you access ePO - On-prem using the host name, you must use the host name for the redirect URI; you can't use an IP address. Any mismatch in addresses leads to a Box redirect URI error. - To scan other accounts, contact Box support to enable the as-user functionality. 7. Enter the client ID and client secret, then click **Get Token**. 8. When prompted on the Box website, grant access for the Discover server. 9. Specify whether to scan all user accounts or specific user accounts. 10. Click **Save**.