Paragon
Search
⌃K
Links

Box

Connect to your users' Box accounts

Setup Guide

You can find your Box app credentials in your Box Developer Account.
You'll need the following information to set up your Box App with Paragon Connect:
  • Client ID
  • Client Secret
  • Scopes Requested
This is an API-only integration - workflow actions for this integration are still in development. You can still connect user accounts, build workflows, and access the API for this integration.

Add your Box app to Paragon

Under Integrations > Connected Integrations > {YOUR_APP} > Settings, fill out your credentials from your developer app in their respective sections:
  • Client ID: Found under Client ID on your Box App page.
  • Client Secret: Found under Client Secret on your Box App page.
  • Permissions: Select the scopes you've requested for your application.
Leaving the Client ID and Client Secret blank will use Paragon development keys.
IMAGE

Connecting to Box

Once your users have connected their Box account, you can use the Paragon SDK to access the Box API on behalf of connected users.
See the Box REST API documentation for their full API reference.
Any Box API endpoints can be accessed with the Paragon SDK as shown in this example.
// You can find your project ID in the Overview tab of any Integration
// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);
// Get File Information
await paragon.request("box", "/files/:file_id", {
method: "GET"
});
// Copy a file
await paragon.request("box", "/files/:file_id/copy", {
method: "POST",
body: {
"parent":{
"id": "123"
}
}
});
// List all collections
await paragon.request("box", "/collections", {
method: "GET"
});

Building Box workflows

Once your Box account is connected, you use the Box Request step to access any of Box's API endpoints without the authentication piece.
When creating or updating records in Box, you can reference data from previous steps by typing {{ to invoke the variable menu.
Last modified 2mo ago