To use the Box connector, add the <box.init>
element in your configuration before carrying out any other Box operations. Box uses OAuth 2 for authentication. An authorization header containing a valid access_token
must be included in every request. The access token should be generated from the Box account with the 'manage an enterprise' scope enabled. For more information on obtaining an access token see http://developers.box.com/oauth/.
<box.init> <accessToken>{$ctx:accessToken}</accessToken> <apiUrl>{$ctx:apiUrl}</apiUrl> <fields>{$ctx:fields}</fields> </box.init>
Properties
accessToken:
Whether to use a service account.apiUrl:
The URL of the Box API. If not provided, it is set to 'https://api.box.com'.fields:
The fields that should be returned (does not apply to delete methods).
Now that you have connected to Box, use the information in the following topics to perform various operations with the connector. After you have completed your configurations, see Testing the Box Integration.