π Quickstart
Connect to Box with Nango and see data flow in 2 minutes.1
Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Box. Nango doesnβt provide a test OAuth app for Box yet. Youβll need to set up your own by following these instructions. After that, make sure to add the OAuth client ID, secret, and scopes in the integration settings in Nango.
2
Authorize Box
Go to Connections -> Add Test Connection -> Authorize, then log in to Box. Later, youβll let your users do the same directly from your app.
3
Call the Box API
Letβs make your first request to the Box API (fetch the profile of the currently signed-in user). Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
4
Implement Nango in your app
Follow our quickstart to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.
π Box Integration Guides
Nango maintained guides for common use cases.- How to register your own Box OAuth app Register an OAuth app with Box and obtain credentials to connect it to Nango
π§© Pre-built syncs & actions for Box
Enable them in your dashboard. Extend and customize to fit your needs.Files
| Function name | Description | Type | Source code |
|---|---|---|---|
files | Sync the metadata of a specified files or folders paths from Box. A file or folder id or path can be used. | Sync | π Github |
Folders
| Function name | Description | Type | Source code |
|---|---|---|---|
folder-content | Fetches the top-level content (files and folders) of a folder given its ID. If no folder ID is provided, it fetches content from the root folder. | Action | π Github |
folders | Sync the folders at the root level from Box | Sync | π Github |
Users
| Function name | Description | Type | Source code |
|---|---|---|---|
create-user | Creates a user in Box. Requires an enterprise account. | Action | π Github |
delete-user | Deletes a user in Box. Requires an enterprise account. | Action | π Github |
users | Fetches a list of users from Box. Requires an enterprise account. | Sync | π Github |