Create a Salesforce connection to connect to Salesforce objects and services. You can configure an event source in a Salesforce connection to subscribe to Salesforce custom platform events, PushTopic queries, and change events. You can configure an event target to publish messages to Salesforce custom platform events.
After you create a Salesforce connection, you can validate and save the connection. You can then publish the Salesforce connection and click the Metadata tab to view the generated process objects for the connection.