Box Storage Service Account

Introduction

This plugin allows you to integrate Box storage in your Bubble app. Box is a Simple, Secure File Sharing and Collaboration From Anywhere. This is the service version that simply connects your app to your own Box account (Without the Oauth for users)

Prerequisites

You will need a developer account with Box API in order to interact with the Plugin: https://developer.box.com/

Getting Setup

  1. Head to https://developer.box.com/ & signup as a developer.
  1. Once your signed up & logged in, navigate to My Apps.
  1. Now you can click 'Create New App' & start your integration. After you click 'Create New App' select 'Custom App':
Image without caption
4. Select the Authentication Method 'Server Authentication (Client Credentials Grant)'.
Image without caption
5. Now give your integration a name.
Image without caption
6. After you have created a new application, you must submit it. Go to the 'Authorization' tab in your application and click to "Review and Submit" button.
Image without caption
7. After it you should confirm your account from the admin console https://app.box.com/master/settings/apps. You will receive a confirmation request to your email.
8. If you did everything according to the instructions, then your application should be activated, and in the Authorization tab it will say "Enabled"
Image without caption
9. After all you can select any account from your list
Image without caption
⚠️
IMPORTANT: For all API calls, you'll need an Access Token for authorization.
Below is an instruction to obtain an access token.
Note! An access token must be created before you can make any calls. We recommend that you create it on page load.
Image without caption
Fill the fields in the plugin settings:
Image without caption
To get Client ID, Client Secret and Subject ID, see the instructions below.
  1. Go to developer page - https://app.box.com/developers/console
  1. Then tab to your service account
To get Client ID, Client Secret and Subject ID, see the instructions below.
Image without caption
3. In your account settings go to the "configuration" tab.
Image without caption
4. Find the section with OAuth 2.0 Credentials. In this section, you'll find the Client ID.
Image without caption
5. To get the client secret, click the "Get client secret" button and follow the instructions 2fa.
6. The last Subject ID you can find in the first tab "General Settings". It's an Enterprise ID:
Image without caption
7. Paste the resulting token into the plugin field
Image without caption
Done! Your app is ready to pull & store files in BOX within minutes!

Data Calls

Image without caption

Actions

Image without caption

Changelogs

Update: 11/03/2021 -
  • Updated authorization system.
  • Updated demo page.
  • Updated doc instructions.
Update: 5/01/2022 - Version 1.5.0
  • Added a new option to add permission for a shared link
Image without caption

Demo to preview the settings