This article explains how to create a service account for BOX.com migration to Google Drive, OneDrive, Sharepoint Sites, Teams, or Blob storage.
Prerequisites: You must be logged into box.com with an administrator account.
Navigate to https://app.box.com/developers/console
Click on Create New App
Select Custom App
For the authentication method, select Server Authentication (with JWT), give a name to your App, check the agreement box then click Create App.
The App is now created.
The next steps configure your application to access the drives of your users without requiring their credentials.
In the Configuration section, in App Access Level, switch from App Access Only to App + Enterprise Access
In Advanced Features, enable “Make API calls using the as-user header” and “Generate user access tokens”.
To generate a private key, 2 factors authentication must be enabled.
In a new tab, go to https://app.box.com/account
Under Authentication, Set up 2-Step Verification
Don’t forget to click on the button Save Changes.
Now that 2 factor Authentication is active, you can generate a private key.
Navigate to your application from : https://app.box.com/developers/console/ and click on Configuration.
Under Add And Manage Public Keys, click On “Generate a Public/Private KeyPair”
The private key is automatically downloaded to your local computer.
Rename it key.json.
You can now disable the 2 steps verification.
Finally, authorize the app.
See the App Authorization documentation at the following URL : https://developer.box.com/docs/authentication-with-jwt
Authorize your newly created application.
The App Key is the Client ID field in the key.JSON.
Now, in the Cloudiway platform, all you have to do is to create a connector of type Box.com and upload your key.json file.