This guide explains how to connect your Box storage to Mixpeek, enabling automated ingestion and processing of files from Box folders.
Prerequisites
- An active Box account (Business or Enterprise plan recommended for CCG auth)
- A Box application created at developer.box.com
- Client ID and Client Secret from your Box app
Authentication Methods
Box supports two authentication methods:| Method | Best For | Token Expiry |
|---|---|---|
| OAuth (Developer Token) | Development and testing | 60 minutes |
| CCG (Client Credentials Grant) | Production deployments | Auto-refreshes |
Configuration Steps
Create a Box Application
- Go to developer.box.com and sign in
- Click My Apps → Create New App
- Select Custom App and choose your authentication method:
- For testing: User Authentication (OAuth 2.0)
- For production: Server Authentication (Client Credentials Grant)
- Name your app and click Create App
- In the app’s Configuration tab, note down your Client ID and Client Secret
Get a Developer Token (OAuth only)
For quick testing with OAuth:
- Open your app in the Box Developer Console
- Go to the Configuration tab
- Scroll down to Developer Token
- Click Generate Developer Token
- Copy the token — it’s valid for 60 minutes
Configure CCG (Production)
For production use with Client Credentials Grant:
- In your Box app configuration, select App Access Only under App Access Level
- Enable Generate User Access Tokens under Advanced Features (if needed)
- In the Box Admin Console, approve the app:
- Go to Admin Console → Apps → Custom Apps Manager
- Authorize your CCG app
- Note your Enterprise ID from Admin Console → Enterprise Settings → Account Info
Add Box Connection in Mixpeek
- Navigate to Settings → Connections in Mixpeek Studio
- Click Add Connection and select Box
- Enter your connection details:
- Connection Name: A descriptive name (e.g., “Production Box”)
- Auth Method: Choose OAuth or CCG
- Client ID: From your Box app configuration
- Client Secret: From your Box app configuration
- For OAuth: Access Token (developer token)
- For CCG: Enterprise ID (from Box Admin Console)
- Folder ID: Box folder to sync (use
0for root folder)
- Click Test Connection to verify credentials
- Click Create Connection
API Configuration
You can also create a Box connection directly via the API:Setting Up a Sync
Once your connection is created, configure a sync to start ingesting files:Finding Your Folder ID
To sync a specific Box folder (instead of root):- Open Box and navigate to the folder
- Look at the URL:
https://app.box.com/folder/123456789 - The number at the end is your Folder ID
0 for the root folder.
Supported File Types
Mixpeek processes all file types from Box. Common supported formats include:| Type | Formats |
|---|---|
| Documents | PDF, DOCX, XLSX, PPTX, TXT |
| Images | PNG, JPEG, GIF, WEBP |
| Video | MP4, MOV, AVI |
| Audio | MP3, WAV, M4A |
| Data | JSON, CSV, XML |
Troubleshooting
Developer token expired (0 files discovered)
Developer token expired (0 files discovered)
Developer tokens expire after 60 minutes. Generate a new token from the Box Developer Console and update your connection credentials.For production use, switch to CCG authentication to avoid expiry issues.
No files discovered on re-run
No files discovered on re-run
Mixpeek uses incremental sync — only new or modified files since the last sync are processed. If you want to re-process all files, delete and recreate the sync configuration to reset the
last_sync_at timestamp.Authentication failed with CCG
Authentication failed with CCG
Ensure your CCG app has been authorized in the Box Admin Console:
- Go to Admin Console → Apps → Custom Apps Manager
- Find your app and click Authorize
Access denied to specific folders
Access denied to specific folders
For OAuth connections, the developer token grants access based on the Box user’s permissions. Ensure the user has access to the target folder.For CCG connections, the app acts as a service account. Use the Box Admin Console to grant the app access to specific folders if needed.

