Connectors
Configure the Box connector
Set up a Box Platform app and connect CaptionHub to a Box folder to import videos and publish captions and voiceovers.
Requirements: The Box connector is in private beta and requires an Enterprise plan plus a Box Business plan or above (for Box API access). Features may change before general release. Contact your account manager to request access.
CaptionHub connects to Box through a Box Platform app that uses server authentication. CaptionHub signs in as the app’s own service account, so imports, automation and publishing all work without anyone signing in to Box. Setup takes about 10 minutes, and a Box admin needs to approve the app.
You’ll finish with these values to paste into CaptionHub:
CaptionHub field | Where it comes from |
Client ID | Developer Console → your app → App Details → Credentials |
Client Secret | Developer Console → your app → App Details → Credentials |
Enterprise ID | Developer Console → your app → App Details → Credentials |
Folder ID | The number at the end of your Box folder’s address |
In Box
Step 1: Create the app
- Open the Box Developer Console and click New App.
- Give the app a name, for example
CaptionHub.
- Under App Type, keep Server selected, then click Create.
- Under Server Authentication Method, select Client Credentials Grant.

Step 2: Configure the app
On the app’s Configuration tab:
- Under Server Authentication Method, select Client Credentials.
- Under App Access Level, select App Access Only.
- Under Application Scopes, open Content Actions and tick both Read all files and folders stored in Box and Write all files and folders stored in Box. CaptionHub needs write access to publish captions and voiceovers back to Box. It doesn’t need any of the other scopes.
- Click Save.
Step 3: Copy the credentials
Open the App Details panel from the button next to Save.
- Under Credentials, copy the Client ID.
- Click Fetch Secret and copy the Client Secret. Box only shows the secret when two-step verification is turned on for your Box account.
- Copy the Enterprise ID.
- Under Service Account, copy the service account’s login. It looks like
AutomationUser_1234567_AbCdEfGhIj@boxdevedition.com, and you’ll need it in Step 5.
Treat the Client Secret like a password. Anyone who has it, together with the Client ID, can reach the folders you share with the service account.
Step 4: Authorise the app
A Box admin has to authorise the app before it can connect.
- Open the Admin Console and go to Platform.
- Click Add, then Add existing app.
- Paste the app’s Client ID, click Next, and follow the prompts to authorise it.
The app should then appear in the list as Authorized. If you change the app’s configuration later, a Box admin must authorise it again.
Step 5: Share your video folder with the service account
The service account starts with no access to your files. CaptionHub can only see the folders you share with it.
- In Box, open the folder that holds your videos and click Share.
- Under Invite People, paste the service account’s login from Step 3.
- Keep the role as Invite as Editor, then click Send. CaptionHub needs editor access to publish captions and voiceovers into the folder.
- Note the folder ID. It is the number at the end of the folder’s address. For
https://app.box.com/folder/123456789, the folder ID is123456789.
In CaptionHub
- In the sidebar, under Automation & integrations, open the Connectors page.
- Find the Box connector and click Edit.
- Enable the connector and enter:
- Client ID
- Client Secret
- Enterprise ID
- Folder ID
- Captions are published in VTT format by default. You can choose a different subtitle format here.
- Leave User ID blank. It is only for connecting as a particular Box user instead of the service account.
- Click Save. CaptionHub checks the credentials and the folder, and the connector shows as Active.
If saving fails, check that a Box admin has authorised the app, that the folder is shared with the service account, and that the folder ID is right.
Import videos from Box
- On the Projects page, click Create new project and select Box.
- CaptionHub lists the videos and audio files in your Box folder. Choose an automation template if you want one, then click Import to CaptionHub.
CaptionHub lists the files directly inside the folder, not the files in its subfolders.
Publish captions and voiceovers to Box
When you publish from a project’s Publish tab, CaptionHub saves the files in Box next to the video:
- Captions are named after the video and the language, for example
brompton_DE.vtt.
- Voiceovers go into a
Voiceoversfolder next to the video.
- Publishing again adds a new version of the same file.
The Box video player doesn’t show separate caption files. The published files are there for you to download or use elsewhere.
Import new videos automatically
An automation template can import new videos from Box as they arrive. Set its Project source to Box and Automatically import to Import all new media. CaptionHub then checks the folder every few minutes and imports any new videos. To watch a different folder from the connector’s, enter its ID under Folder ID.
Each check uses Box API calls, which count towards your Box plan’s monthly API allowance.
