Box.com Integration Setup
This feature has to be enabled in order to be used. If you are interested in adding a Box integration to your account, please contact your account manager.
How It Works
Our integration with Box is a one-way sync from Box to Capacity. On a nightly cadence, Capacity will sync the files and folder structure (within the scope Capacity has access within Box) including new files/folders, removal of deleted files /folders, and any movement of files/folders.
When this feature is enabled in your account, Admins will see a new menu option within Settings, called "Knowledge Management". On this page, you will see Box.com in the list, in a Inactive state.
Clicking on the Box integration will take you to the Box integration configuration page.
The Box integration will not become active until you have followed all of the setup steps and provided two pieces of information within the Capacity console.
- User Id - This is the Id of the Capacity Sync user created in the Box account.
- JSON Certificate File - This is a file that will be downloaded as part of the Custom App setup process. Once acquired, it will need to be uploaded here.
Set Up Instructions
A Box "app" will need to be created inside of your Box account to allow Capacity to access your data via an app integration.
The user facilitating the set up in Box will need to be an admin and will need access to the Admin Console and the Developer Console.
Creating the Custom App
Navigate to the Developer Console within your Box account and click on the "My Apps" on the left side. Click on the Create New App button.
- Click on the Create New App button.
- Select Custom App and then fill out the app name, description, and purpose. It is recommended that you name the app "Capacity File Syncing" to make it easy to recognize. The description can simply be "Used to sync files between Box and the Capacity platform."
Once the app has been created, fill out the remaining details.
- Authentication Method: select "Server Authentication (with JWT)"
- Under the Configuration tab:
For App Access Level, select "App + Enterprise Access"
For Application Scopes, select "Write all files and folders stored in Box" and "Manage Users"
For Advanced Features, select "Make API calls using the as-user header"
For Add and Manage Public Keys, click "Generate a Public/Private Keypair"
Click Save Changes
You will be prompted to follow a 2FA flow to authenticate as it is attempting to Generate the Public/Private Keypair. Follow that flow - it may require you to click the "Generate a Public/Private Keypair" button again. A JSON file should automatically download.
Save that JSON file as it will be required to be used later.
Click Save Changes again to confirm all app changes have been made.
Under the Authorization tab:
Click on the Review and Submit button.
Now that the app has been set up and configured, you need an admin to complete the authorization of the app.
- Go to the Admin Console, click on apps on the left and select the Custom Apps Manager option.
- Authorize the changes mad to the app. This updates the status of the custom app so it can be used.
If you make any changes to the custom app, you will need to re-authorize the app again and so you will need to go to the Authorization tab for the app and Review and Submit again
Creating the Sync User
The sync user is how you will control what content access the Capacity app has within your Box account. The Capacity app's content access will be via the Capacity Sync user that you set up. The content permissions that are defined for that user, is what will be used to scope the app's access permission for file syncing.
In the Admin Console, click on Users and Groups and then click on the Add Users button. At this point you will want to create a new user for the purpose of scoping what content the Capacity custom app will have access to within your Box account.
Create a new user, we recommend that you provide the name "Capacity Sync" to make it obvious the purpose of the user. The email address provided this user does have to be a valid email, but it can be any email address you choose.
Grant the content/folder access permissions to this user that you want to make available to the Capacity app. Select the files and folders you wish to sync with Capacity and make sure this user has access to them.
Once created, copy the User Id of this user from the UI and add it to the configuration screen within Capacity.
Completing the Setup
Once you have set up the app and configured, you will need to return to the External Knowledge Apps page in Settings to complete the setup.
Open up the Box integration page and upload the JSON certificate file. You will also need to paste in the User Id from the Capacity Sync user created in the previous steps.
When successful, you will see this page - offering you the ability to manually sync should you choose. Otherwise, the sync will take place at night and every night the integration is active.
Box Content in the Capacity KB
Once your Box integration has been fully set up, you will now see a new option within Knowledge Management under the Knowledge Base menu. A menu item labeled Box will now display.
Please make sure that just like any other KB content, that you go through and assign the appropriate content access permissions to the Concierges and Content Groups and Console Access.
While you will be able to control access to view Box content within the Capacity console, you will not be able to edit any of that content. We do not sync back to Box, we only pull the content. For any content updates to files linked from your Box integration, you will need to make the adjustments within the Box interface.