Step 3: Set Up Events
To subscribe to change data capture events on the standard channel, select the objects that you want to receive events for.
- In Setup, search for
Change Data Capture
, and then select Change Data Capture. - On the Change Data Capture page, select the object. For example, for this quick start, select the Opportunity object.
- Save your work.
To subscribe to a custom channel, ensure that the custom channel is created first. After the channel is created, the entities are selected as part of the custom channel creation. See the Change Data Capture Developer Guide.
To subscribe to a custom platform event, define a custom platform event on the Platform Events page in Setup.
To subscribe to a standard platform event, including real-time event monitoring events, you can view the available events in the Standard Platform Event Object List in the Platform Events Developer Guide.