Box Authorization
Box requires multiple steps for authentication.
- You must first set up a Developer account.
- With the new Developer account, you need to set up an Application with credentials.
- Once the app is created, you'll need an admin to approve the application.
- Once the application is approved, you'll need it to be invited to the relevant folders.
Setting up Your Box Developer Accountβ
- Register your Box Account for a Developer Account.
- Navigate to your Developer Account settings.
- Scroll down to the 2-Step Verification section. Click Set up
- Select your preferred method for 2FA. We recommend using an authenticator app. Click Next.
- Set up 2FA in your app of choice. Provide the Authentication code, then click Submit.
NOTE: Setting up 2-Step Verification is key to creating a Service Account for your application. Don't skip this step!
Creating a Box Developer App + Credentialsβ
- Go to the Developer console.
- Click "Create New App"
- Click "Custom App"
- Select Server Authentication (with JWT), name your app, and click Create App
- Check to verify that you're on the Configuration tab for your new app. If not, navigate there.
- Scroll down to the section called Application Scopes. Make sure Write all files and folders stored in Box is selected.
Click Save Changes at the top of the page.
Scroll down to the section called OAuth 2.0 Credentials. Copy the Client ID and store this for later.
- Scroll down to the section called Advanced Features. Make sure both of these items are checked.
- Scroll down slightly and select Generate a Public/Private Keypair.
NOTE: You may first be prompted for your 2FA code. If so, enter the code and try generating a Public/Private Keypair again.
- A file should be downloaded to your computer that contains your app credentials in JSON format. This will be used for every Box Blueprint on Platform, so store this somewhere safe.
- Click OK.
If this step was successful, the screen should update to look something like this.
Giving Your Box Developer App Access to the Enterpriseβ
Submitting the Box Developer App for Approvalβ
- Go to the Developer console and select your app.
- Switch to the Authorization Tab
- Click the Review and Submit button.
- Fill out an App Description and click Submit.
- The screen should now update to look something like this.
Approving the Box Developer App in the Admin Tabβ
At this point, an Admin for your Enterprise will need to take the following steps.
- Navigate to the Admin panel for Box.
- Click Apps on the sidebar.
- Click on the Custom Apps tab.
- Highlight the application name that was submitted. a. Click the 3 dots icon to access more menu options. b. Click Authorize App.
- Click Authorize.
- You should now see your application shown in the table below.
Inviting your Box App to your Foldersβ
- Navigate to the Developer Console
- Select your app.
- Scroll down to the Service Account Info section. Copy the email listed as a Service Account ID. It will be formatted as
AutomationUser_AppServiceID_RandomString@boxdevedition.com
- Go to the main Box application.
- Move your mouse over the folder you want to share. Click the Share button on the right.
- Paste your Service Account ID email into the Invite People section. Ensure that you are inviting the email as an Editor. Click Send.
- The folder will now show as Blue to indicate it is shared!