This section describes the steps to configure the Trifacta® application to integrate with your Salesforce deployment using OAuth 2.0 to authenticate.
OAuth 2.0 authentication must be enabled in the Trifacta platform. For more information, see Enable OAuth 2.0 Authentication.
Create OAuth 2.0 Client App in Salesforce
In Salesforce, you must create the connected app through which the Trifacta application uses OAuth 2.0 to access and connect to your Salesforce data.
- Login: Log in to the Salesforce account in which you want the OAuth 2.0 app to be created.
- In the top bar, click Setup.
- In the left nav bar, search for:
apps. Then, navigate to Create > Apps.
- Create connected app: In the Connected Apps section, click New.
To create a connected app, please complete the listed fields with the appropriate information. Some specifics:
Field Description Connected App Name Display name of the app. Suggested:
API Name Please add the value for Connected App Name here. Contact Email
Add a valid contact email address.
Logo image URL (optional) Upload an app logo as needed. Enable OAuth Settings Select this option. Callback URL
Please provide a URL in the following format:
<platform_login_url>= the URL that is accessed to log in to Trifacta platform. This value may or may not include a port number.
Selected OAuth Scopes Please select the following scopes:1.
Require secret for web server flow Select this option.
- At the bottom of the screen, click Save to save the connected app.
- Configure policies: In the left nav bar, select Manage > Connected apps.
- Then, click the Edit Policies button.
- In the Edit Policies screen, click the Manage button.
- Under Session Policies, select the TImeout Value. Set this value to 24 hours.
- Click Save to save your connected app.
Retain values: Your Salesforce connected app configuration is complete. Please acquire the following information from the app listing in Salesforce. These parameter values are needed for creating the OAuth 2.0 client in the Trifacta application:
Parameter Description Consumer Key
This value is used as the Client Id in Trifacta application. Select Click to reveal to display.
This value is used as the Client Secret in Trifacta application. Select Click to reveal to display.
Selected OAuth Scopes Acquire this values. Unless otherwise specified, these values should include:1.
Access token expires in Navigate to Manage > Edit Policies. Typically, this value in milliseconds is set to 1 hour (
3600000milliseconds).For more information, see https://help.salesforce.com/articleView?id=connected_app_manage_session_policies.htm&type=5.
Save any changes to the connected app.
Scopes for Salesforce
The following scopes are required in the connected app for the Trifacta application to access Salesforce:
|(required) Provides REST API access to Salesforce.|
|(required) This token allows the OAuth 2.0 client to refresh the connection with Salesforce without user interaction.|
Create OAuth 2.0 Client for Salesforce
After the Salesforce connected app is created, you must create an OAuth 2.0 client in the Trifacta application, which is used to integrate with the OAuth 2.0 connected app that you created above.
NOTE: You must create one OAuth 2.0 client in the Trifacta application for each Salesforce connected app that you wish to use.
- Login to the Trifacta application as a workspace administrator.
- In the lefthand menu, select User menu > Admin console > OAuth2.0 Clients.
- In the OAuth2.0 Clients page, click Register OAuth2.0 Client.
Specify the new client. Apply the following values:
Setting Description Type Set to
Display name for the OAuth 2.0 client in the Trifacta application.
Client ID Set this value to the Consumer Key value in your Salesforce connected app. Client Secret Set this value to the Consumer Secret value in your Salesforce connected app. Authorization URL
Set this value to the following:
Set this value to the following:
Scopes Insert the scopes you specified as a space-separated list. Access Token Expires In Set this value to the corresponding value in your Salesforce connected app. See above. Refresh Token Expires In
Set this value to the number of milliseconds after which the refresh token expires.
Set the value to
0(does not expire).
- To save your OAuth 2.0 client, click Save.
For more information, see Create OAuth2 Client.
Create Salesforce Connection
After you have created the two OAuth 2.0 client references, you can create a connection to your Salesforce data.
NOTE: You must create a separate connection for each OAuth 2.0 client that is available in the Trifacta application.
For more information, see Create Salesforce Connections.
This page has no comments.