In this tutorial, we will learn how to use the consent event stream in Salesforce. Also, we will understand the steps of using the consent event stream in Salesforce Lightning and the steps of creating a service channel in Salesforce Classic.
The consent event stream also permits us to record and monitor the various consent-related activities executed by the single or contacts within the salesforce platforms. This consent event stream is part of the consent management which allows the organizations to control the data privacy regulations.
This type of stream of consent events can be integrated with other salesforce features or external systems.
While working with an organization that uses Salesforce, I got a task where I needed to use the consent event stream in Salesforce. To fulfill this requirement I use the consent event stream object that is present under the Privacy Center.
So after looking at the multiple solutions, I found a solution that helped me to use the consent event stream in Salesforce. If you want to learn how to use the consent event stream in Salesforce Lightning as well as Salesforce Classic, you have come to the right place.
Consent event stream in Salesforce
In Salesforce the consent event stream is defined as a stream that collects the notification about the changes to the consent field or the contact information. It also represents the data stream that collects and tracks the consent-related events in an organization.
It also permits us to record and monitor the various consent-related activities executed by the single or contacts within the salesforce platforms. This consent event stream is part of the consent management which allows the organizations to control the data privacy regulations.
By using the consent event stream we can capture the consent of the event given, and consent updated. These all events are noted as single data points.
We can also use the consent event stream to examine the consent data, changes over time, and also make sure the data privacy regulation. This type of stream of consent events can be integrated with other salesforce features or external systems.
In this way, we have learned about the consent event stream in Salesforce. Now, let’s move further and see how to create the consent event stream in Salesforce. We will explore both the salesforce experiences: Salesforce Lightning and Salesforce Classic
How to use consent event stream in Salesforce Lightning
Here we are using the consent event stream in Salesforce Lightning. If you want to learn how to use the consent event stream in salesforce lightning follow these steps:
Step-1: Login into your Salesforce lightning account, Go to the gear icon. Under the gear icon, there are two options present first one is Setup and another one is Service Setup. Here we are clicking on the Setup option.

Step-2: After clicking on the setup option, the setup page is open. Enter the routing configuration in the Quick Find Box and the consent event stream comes at the top. Click on the consent event stream. And these consent event stream are present under the privacy center in the left sidebar.
After finding the object in the Quick Find Box, the message also shown at the bottom of the page didn’t find what you are looking for or trying to use the Google search.

Step-3: After clicking on the consent event stream option, the consent event stream page is open. The consent event stream track changes related to consent in your org with platform events. Enable consent events, then subscribe to the standard platform event channel to receive notifications.
Now click on the checkbox to use the consent event stream that enables the consent event stream and after that click on the save button that is present at the top and bottom of the consent event stream page.
And after saving the button the consent even stream button is enabled and then we can subscribe to the standard platform event channel to receive the notification.

In this way, we understand how to use the consent event stream in Salesforce Lightning. Let’s Proceed further and learn how to use the consent event stream in Salesforce Classic.
How to use consent event stream in Salesforce Classic
Here we are using the consent event stream in Salesforce Classic. If you want to learn how to use the consent event stream in Salesforce Classic follow these steps:
1: First log in to the Salesforce account, when we log in to the account the Salesforce lightning edition is open. Moving to Salesforce Classic, click on the Profile picture. The Profile picture drop-down list is open. Under this profile picture list, there is an option to switch to Salesforce Classic. Click on it.
After clicking on the switch to Salesforce Classic option, click on the drop-down arrow of the username. The drop-down list is open, under this list Setup option is present below the My Profile option. Click on the Setup.

2: After clicking on the setup option, the setup page is open. Enter the routing configuration in the Quick Find Box and the consent event stream comes at the top. Click on the consent event stream. And these consent event stream are present under the privacy center.

3: After clicking on the consent event stream option, the consent event stream page is open. The consent event stream track changes related to consent in your org with platform events. Enable consent events, then subscribe to the standard platform event channel to receive notifications.
Now click on the checkbox to use the consent event stream that enables the consent event stream and after that click on the save button that is present at the top and bottom of the consent event stream page.
And after saving the button the consent even stream button is enabled and then we can subscribe to the standard platform event channel to receive the notification.

In this way, we understand how to use the consent event stream in Salesforce Classic.
Conclusion:
In this Salesforce tutorial, we have learned about how to use the consent event stream in Salesforce. We have also discussed how to use the consent event stream in Salesforce.
When we use the consent event stream we can capture the consent of the event given, and consent updated. These all events are noted as single data points.
We can also use the consent event stream to examine the consent data, changes over time, and also make sure the data privacy regulation. This type of stream of consent events can be integrated with other salesforce features or external systems.
Moreover, we have learned that Salesforce Lightning as well as Salesforce Classic gives a simple and easy way to determine how to use the consent event stream in Salesforce.
In addition to this, the following are the topics that we have discussed in this blog:
- Consent event stream in Salesforce
- How to use consent event stream in Salesforce Lightning
- How to use consent event stream in Salesforce Classic
You may also like to read the following articles:
- How to add logo image to a Salesforce Lightning Application
- How to add event to public calendar in Salesforce?
- How to create an event in Salesforce Lightning
I am Bijay Kumar, the founder of SalesforceFAQs.com. Having over 10 years of experience working in salesforce technologies for clients across the world (Canada, Australia, United States, United Kingdom, New Zealand, etc.). I am a certified salesforce administrator and expert with experience in developing salesforce applications and projects. My goal is to make it easy for people to learn and use salesforce technologies by providing simple and easy-to-understand solutions. Check out the complete profile on About us.