How to configure the Salesforce Connected Application for Flexi Kanban deployment
Last updated
Last updated
Flexi Kanban deployment uses the Salesforce Connected App authentication mechanism, rather than direct username and password+token authorization. Connected App authentication is a secure connection and authentication mechanism between Salesforce orgs, as it doesnβt require storing target Salesforce org credentials in a Salesforce Source Org.
Note: The following actions should be performed in the Target Organization.
The following information is required in order to configure deployment settings:
Organization Name - A user-defined name that identifies the Target Organization.
Domain URL - The URL of the Target Organization. This value can be quickly located by clicking the Profile icon and copying the value beneath your name. Remember to add "https://" at the beginning.
Client Key and Client Secret - These values should be obtained once from Target Organization via the Flexi Kanban Connect application, as described below.
To create the Key and Secret, the following actions must be performed by the Target Organization admin:
Add and configure the Salesforce Connected Application
Set Up the Client Credentials Flow
In the Target Organization (to which Flexi Kanban components will be deployed), perform the following actions:
Navigate to Setup and open App Manager
Click the New Connected App button
Set the following properties:
Connected App Name = Flexi Kanban Connect
API Name = Flexi_Kanban_Connect
Contact Email = (email address of responsible person)
Enable OAuth Settings = true
Callback URL (choose the appropriate value, depending upon org type):
Production - https://login.salesforce.com/services/oauth2/callback
Sandbox - https://test.salesforce.com/services/oauth2/callback
Selected OAuth Scopes = Full access (full)
Require Secret for Web Server Flow = true
Require Secret for Refresh Token Flow = true
Enable Client Credentials Flow = true
Leave other properties set to their defaults and save the Connected App
In App Manager, locate the newly created Connected App named "Flexi Kanban Connect" and click "Manage" in the row actions menu.
Click the Edit Policies button on the Application Management page.
In the Client Credentials Flow section, select an appropriate User in the Run As field. This is the User that will be used to perform deployments.
Click Save button.
In App Manager, locate the newly-created Connected App named "Flexi Kanban Connect" and click "View" in the row actions menu.
Click the Manage Consumer Details button.
Provide the verification code, which will be delivered to your user's email address, to grant access to the Connected App.
Click the Verify button.
The Consumer Details page of Connected App will display the Consumer Key and Secret, which are automatically generated.
This Consumer Key and Consumer Secret must then be entered in the Target Organization Configuration, in order to be used for future Flexi Kanban Deployments.