Connection - Box
The Box Connection stores the sign-in and security settings that these Tasks and Triggers use to connect to Box:
- Cloud - Upload file(s)
- Cloud - Download file(s)
- Cloud - List item(s)
- Cloud - List folder(s)
- Cloud - Create folder
- Cloud - Delete item(s)
- Cloud - Copy/move item(s)
- Cloud - Sync file(s)
- The Cloud file Trigger
Use it to transfer files between Box and a local folder, or between Box and another cloud service.
Common settings

The Common settings and Proxy tabs are the same for every Connection type that has them; see Common settings and Proxy.
Test asks the Server to refresh the stored sign-in and read the root folder of the Box account.
Main settings

These fields are on Connection settings -> Main settings.
Client ID
The client ID of your Box app, from the Configuration page of the app in the Box Developer Console. Required.

Client Secret
The client secret of your Box app.
Redirect URI
The address that Box sends the sign-in result to. Default: "http://localhost:5050". Enter the same address as the redirect URI of the Box app.

Auto-accept server certificates
Selected by default.
Box Connections accept any server certificate, whether or not Auto-accept server certificates is selected. The Server does not check the server certificate when it connects to Box, so it cannot tell the real server from another server that answers at the same address. Connect to Box only over a network path that you trust.
Create an account
Opens the Box developer pages. The Box Developer Console is at https://app.box.com/developers/console.
Authenticate
Starts the Box sign-in. See How to create a Box Connection.
Proxy
Cloud Tasks and the Cloud file Trigger do not use the Proxy tab of a Box Connection. Only Authenticate in the Client uses it. On a network where the Server reaches the Internet only through a proxy, Jobs that use a Box Connection fail.
How to create a Box Connection
To create a Box Connection, complete the following steps:
- Open the Box Developer Console.
- Create a Custom App that uses User Authentication (OAuth 2.0).
- On the Configuration page of the app, enter the value of Redirect URI, by default "http://localhost:5050", as the redirect URI.
- Copy the client ID into Client ID.
- Copy the client secret into Client Secret.
- Click Authenticate.
- Sign in with the Box account.
- Grant access to VisualCron.
- Click OK to save the Connection.
- Click Test on the Common settings tab.
The test reports that it was successful.
Authentication and token expiry
- Authenticate runs on the computer where the Client runs. The browser opens there, and the Client listens for the sign-in result on the port of Redirect URI, so that port must be free on that computer
- At run time, the Server refreshes the sign-in and stores the new refresh token in the Connection
- Box no longer accepts a refresh token that has not been used for 60 days. The Server then marks the Connection as expired, and the Client shows the message "Connection session expired". Open the Connection and click Authenticate again