Connecting to Box
Box is a secure, cloud-based file-sharing and collaboration platform that enables teams to create, edit, and manage documents in real time—anytime, anywhere, and on any device.
To integrate Box with IBM watsonx Orchestrate, you need to establish a secure connection that enables both systems to communicate seamlessly. For general guidance on managing integrations, refer to Managing connections.
Connecting to Box using OAuth2
To connect watsonx Orchestrate to Box:
-
From the main menu, go to Manage > Connections.
-
Search for Box and locate the connection ID:
box_oauth2_auth_code_ibm_184bdbd3 -
Click edit next to the matching connection ID.
-
Select the environment where you want to create the connection:
- Draft: for testing and development
- Live: for production use
-
Select Oauth2 Authorization Code as the Authentication type.
-
Provide the following values:
Key Description server_urlThe base URL of the Box API server authorization_urlThe URL where users are redirected to authorize access. For example, https://account.box.com/api/oauth2/authorize.token_urlThe endpoint used to exchange the authorization code for an access token. For example, https://api.box.com/oauth2/token.client_idYour Box app’s client ID from the Box Developer Console client_secretYour Box app’s client secret from the Box Developer Console To get these values, see the Box Authorization API documentation.
-
Choose the appropriate credential type.
-
Click Save to complete the setup.
Connecting to Box using Key Value Pair
To connect watsonx Orchestrate to Box:
-
From the main menu, go to Manage > Connections.
-
Search for Box and locate the connection ID:
box_key_value_ibm_184bdbd3 -
Click edit next to the matching connection ID.
-
Select the environment where you want to create the connection:
- Draft: for testing and development
- Live: for production use
-
Set Authentication Type to Key Value Pair.
-
Add the following keys and their respective values. Click Add new field to input each pair:
Key Description base_urlBase URL of your Box API endpoint. token_urlURL used to obtain the OAuth token. For example, https://api.box.com/oauth2/token.client_idYour Box application’s client ID client_secretYour Box application’s client secret subject_idThe Box user or enterprise ID the app will act on behalf of subject_typeType of subject (for example, user or enterprise) To get these values, see the Box Authorization API documentation.
-
Choose the credential type.
Note: Only the team credentials are supported when an app is connected using the Key Value Pair authentication type. -
Click Save to complete the setup.