2In the Event API Settings section, enter values in the Consumer Key and Customer Secret fields.
For information about generating the Consumer Key and Customer Secret values, see Create a new connected app.
3In the Connection Properties section, in the Object Filter field, enter the API name of the Salesforce platform event prefixed with Contact. For example, Contact,ContactPE__e.
The following image shows the API name of the Salesforce platform event:
The following image shows the SalesforceConnectionContact connection detail page with the authentication type set to Password:
- For OAuth authentication, enter values for the following properties:
▪ Authentication URL: Endpoint used to make OAuth authorization requests to Salesforce.
▪ Token Request URL: Endpoint used to make OAuth token requests to Salesforce.
▪ Session Duration: Number of minutes after which the OAuth token expires.
The OAuth authentication process starts. You can check the current authorization status in the Authorization Status property.
The following image shows the SalesforceConnectionContact connection detail page with the authentication type set to OAuth:
5On the Event Sources tab, enter the API name of the Salesforce platform event prefixed with /event/ in the Event Consumer field. For example, /event/ContactPE__e.
When the Salesforce platform event is called, the event refers to the value specified in this field.
Note: Ensure that the value in the Event Consumer field is the same as the event consumer you created for the platform event in the Salesforce organization.