Step 8. Configure and publish the Salesforce connection
Configure the user credentials, consumer key, and consumer secret to access the Salesforce instance, and then publish the SalesforceQueryConnection connection.
1Open the SalesforceQueryConnection connection.
2From the Type list, select Salesforce Query Connector from the recipe assets folder.
3From the Runtime Environment list, select Cloud Server or any Secure Agent.
4In the Connection Properties section, enter values for the following properties:
Property
Description
User_Name
Salesforce user name with API access for password authentication.
Password
Password associated with the user account.
Consumer_Key
The consumer key associated with the Salesforce user account for API access.
This field is required to subscribe to Salesforce custom platform events, PushTopic queries, and change events, or publish messages to Salesforce custom platform events.
To know the consumer key, perform the following steps:
- Log in to Salesforce.
- Click Create > Apps. The connected apps are displayed.
- Click the connected app. The API section displays the consumer key as shown in the following image:
Consumer_Secret
The consumer secret associated with the Salesforce user account for API access.
This field is required to subscribe to Salesforce custom platform events, PushTopic queries, and change events, or publish messages to Salesforce custom platform events.
To find the consumer secret, perform the following steps:
- Log in to Salesforce.
- Click Create > Apps. The connected apps are displayed.
- Click the connected app. The API section displays the consumer secret as shown in the following image: