Step 2. Configure and publish the Salesforce connection
Configure the user credentials, object filter, and event consumer details to connect to Salesforce, and then publish the SalesforceToVeeva connection.
1Open the SalesforceToVeeva connection.
2From the Runtime Environment list, select a Secure Agent.
3From the Authentication Type list, select OAuth and 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.
- Authorize Access. Click Authorize > enter the Salesforce developer account credentials > click Allow.
The OAuth authentication process starts. You can check the current authorization status in the Authorization Status property.
4In the Connection Properties section, enter the Object Filter field value as Account.
5Add an event source on the Event Sources tab, and in the Event Consumer field, enter /data/AccountChangeEvent. With this, the CDC event sends a message when the account object changes.