Box Connection Configuration
- 07 Dec 2022
- 1 Minute to read
-
Print
-
DarkLight
Box Connection Configuration
- Updated on 07 Dec 2022
- 1 Minute to read
-
Print
-
DarkLight
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
- Log in to the Box Developer Console and click Create New App from My Apps.
- Create a custom app. At this time, select Authentication by server authentication and enter the desired app name.
- After creating the custom app, go to the configuration tab and add the public key from Add and manage the public key.
- 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"}
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.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.
- Go to the Administrator Console and approve the app.
- After approval, the app approval is completed when it becomes Authorized as follows.
- 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.
- Link (share) the service account information copied earlier to the folder where you want to retrieve the data this time.
- As shown in the figure below, the service account is granted permissions to the corresponding folder.
Was this article helpful?