Synchronize Salesforce Leads with Marketo Leads > Using the Synchronize Salesforce Leads with Marketo Leads recipe > Step 2: Configure and publish the Salesforce connection
  

Step 2: Configure and publish the Salesforce connection

Configure the user credentials, object filter, and event consumer details in the SalesforceCDC connection, and then publish the connection.
    1Open the SalesforceCDC connection.
    2From the Runtime Environment list, select the Secure Agent.
    3In the Authentication Type field, select OAuth or Password as required.
    Based on the authentication type selected, perform one of the following steps:
    4In the Connection Properties section, enter the Object Filter field value as Lead.
    5Add an event source on the Event Sources tab, and in the Event Consumer field, enter /data/LeadChangeEvent. With this, the CDC sends a message when the lead object changes.
    6 Save and publish the connection.