OAuth 2.0 for Box
Configure Alteryx Analytics Cloud (AAC) to integrate with your Box deployment using OAuth 2.0 to authenticate.
Create OAuth 2.0 Client App in Box
In the Box developer console, you must create the client app.
Sign in to your Box developer console.
Select Create New App and then select Custom App.
Enter an App Name and define the purpose of your app. Fill out the remaining details based on your requirements.
Select User Authentication and then select Create App.
Record your Client ID and Client Secret. You will use these for the Box OAuth 2.0 setup in AACAAC.
Enter your Redirect URIs...
https://app.box.com
https://{aac_environment}/oauth2/callback
Where
{aac_environment}
is your base AACAAC URL. For example,us1.alteryxcloud.com
.
For Application Scopes, select Read all files and folders stored in Box and Write all files and folders stored in Box.
Select Save Changes.
Create OAuth 2.0 Client for Box in AACAAC
After you create the Box client app, you must create an OAuth 2.0 client in AACAAC.
Sign in to AACAACas a workspace admin.
Go to Profile menu > Admin Console > OAuth 2.0 clients > Register OAuth 2.0 client.
Enter these fields:
Field
Action
Type
Select
box
from the dropdown.Name
Enter an appropriate name for the client.
Client ID
Enter the Client ID you recorded from the Box client app setup.
Client Secret
Enter the Client Secrect you recorded from the Box client app setup.
Authorization URL
Paste this URL:
https://account.box.com/api/oauth2/authorize
Token URL
Paste this URL:
https://api.box.com/oauth2/token
Scopes
Enter this scope definition:
root_readwrite
Access Token Expires In
Enter
3600000
ms.Refresh Token Expires In
Enter
0
ms.Select Create.
Create Box Connection
After you create the 2 OAuth 2.0 client references, you can create a connection to your Box data. For more information, go to Box Connections.
Nota
You must create a separate connection for each OAuth 2.0 client that is available in the AACAAC.