Documentation Index
Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
π Quickstart
Connect to Box with Nango and see data flow in 2 minutes.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.
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.
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
Implement Nango in your app
Follow our Auth implementation guide 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.Collaborations
| Function name | Description | Type | Source code |
|---|---|---|---|
create-collaboration | Create a collaboration in Box | Action | π Github |
delete-collaboration | Delete or archive a collaboration in Box | Action | π Github |
get-collaboration | Retrieve a single collaboration from Box. | Action | π Github |
list-collaborations | List collaborations from Box. Retrieves pending collaboration invites for this user. | Action | π Github |
update-collaboration | Update a collaboration in Box | Action | π Github |
Comments
| Function name | Description | Type | Source code |
|---|---|---|---|
create-comment | Create a comment in Box. | Action | π Github |
delete-comment | Delete or archive a comment in Box | Action | π Github |
get-comment | Retrieve a single comment from Box | Action | π Github |
list-comments | List comments for a file | Action | π Github |
update-comment | Update a comment in Box | Action | π Github |
Files
| Function name | Description | Type | Source code |
|---|---|---|---|
copy-file | Copy a file to a different folder in Box. | Action | π Github |
delete-file | Delete or archive a file in Box | Action | π Github |
download-file | Download file content from Box | Action | π Github |
get-file | Retrieve a single file from Box | Action | π Github |
list-files | List files from Box. | Action | π Github |
update-file | Update a file in Box. This can be used to rename or move a file. | Action | π Github |
files | Sync the metadata of specified files or folder paths from Box. A file or folder ID can be provided. | Sync | π Github |
Folders
| Function name | Description | Type | Source code |
|---|---|---|---|
copy-folder | Copy a folder and its contents to a different location in Box. | Action | π Github |
create-folder | Create a folder in Box | Action | π Github |
delete-folder | Delete or archive a folder in Box | Action | π Github |
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 |
get-folder | Retrieve a single folder from Box. | Action | π Github |
list-folders | List folders from Box | Action | π Github |
update-folder | Update a folder in Box. | Action | π Github |
Search
| Function name | Description | Type | Source code |
|---|---|---|---|
search | Search for files, folders, and other content in Box | Action | π 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 |
get-user | Retrieve a single user from Box | Action | π Github |
update-user | Update a user in Box | Action | π Github |
users | Fetches a list of users from Box. Requires an enterprise account. | Sync | π Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
collaborations | Sync collaborations from Box | Sync | π Github |
folders | Sync folders from Box | Sync | π Github |