Box Connection Configuration
  • 07 Dec 2022
  • Dark
    Light
  • PDF

Box Connection Configuration

  • Dark
    Light
  • PDF

Article Summary

Note

This is a machine-translated version of the original Japanese article.
Please understand that some of the information contained on this page may be inaccurate.

summary

This is a help page for setting up Box connection information.

How to create a custom app

  1. Log in to the Box Developer Console and click Create New App from My Apps.

image.png

  1. Create a custom app. At this time, select Authentication by server authentication and enter the desired app name.

CustomApp.png

image.png

  1. After creating the custom app, go to the configuration tab and add the public key from Add and manage the public key.

image.png

  1. Copy all the JSON files obtained in step 3 and register them in the custom app settings file.
    e.g.)
{  "boxAppSettings": {    "clientID": “YYYYYY",    "clientSecret": “XXXXXXX",    "appAuth": {      "publicKeyID": “AAAA",      "privateKey": “BBBBB",      "passphrase": “CCCC"    }  },  "enterpriseID": “ZZZZ"}

image.png

  1. Since you need to download the file during data transfer, grant the Write all files and folders stored in Box permission.
    It is not checked by default, so check it.
    configuration.png

  2. Carry out the authorization work (certification request/application) of the app created so far.
    If this application is approved by a person with administrator privileges of Box, this application can be used.

reviewandsubmit.png

reviewAppAuthorizationSubmission.png

authorization.png

  1. Go to the Administrator Console and approve the app.

adminconsole.png

customAppManager.png

authorizeApp.png

authorizeCustomApp.png

  1. After approval, the app approval is completed when it becomes Authorized as follows.

Authorized.png

  1. After the app is approved, a service account is generated.
    Copy your Service Account and go to the Box (where the file is stored) page.

serviceaccountID.png

  1. Link (share) the service account information copied earlier to the folder where you want to retrieve the data this time.

directoryshare.png

sharedirectory.png

  1. As shown in the figure below, the service account is granted permissions to the corresponding folder.

directoryisselected.png


Was this article helpful?