---
schema_version: "1"
id: e1b6ceb0349aa29b6e5a900faecad29d46c1b074508d619f3296e3057f86beda
title: Set Up Shopper Consents for B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_marketing_setup_consents.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_setup_consents.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4dac786fc81b59853f24646ca2d0a3be8ea07a6e5c82011b786cf28108dff1df
description: Add consent requests to your site to capture shopper emails and grow your marketing campaigns. Consent requests consume Data 360 credits. Contact your account executive to learn more about credit usage.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Set Up Shopper Consents for B2C Commerce

Add consent requests to your site to capture shopper emails and grow your marketing campaigns. Consent requests consume Data 360 credits. Contact your account executive to learn more about credit usage.

Before you set up consents, make sure that you’ve completed the prerequisites. See [Prerequisites for B2C Commerce with Agentforce Marketing](https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_setup_prereq.htm&language=en_US).

- **[Set Up a SLAS Client for Shopper Consents on PWA Storefront](https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_setup_slas.htm&release=264.0.0&type=5)**  
    If you have a PWA storefront, set up a Shopper Login and API Access Service (SLAS) client for your B2C Commerce instance to request access tokens.
- **[Define the Channels to Capture Shopper Consent](https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_define_channels.htm&release=264.0.0&type=5)**  
    In Salesforce, select the channel types that you want to use to send notifications to shoppers, such as email, SMS, or WhatsApp. To use an engagement channel, create an attribute definition in your B2C Commerce instance and map it to the channel’s Salesforce record ID.
- **[Create a Shopper Consent](https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_create_consents.htm&release=264.0.0&type=5)**  
    Directly connect with your B2C Commerce shoppers by getting permission to send marketing communications according to the terms that you outline in the consent request.
- **[Enable or Disable a Consent](https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_enable_consents.htm&release=264.0.0&type=5)**  
    After you enable a consent, it appears on your B2C Commerce site in the consent components that you’ve configured.
- **[Shopper Consent Capture on PWA Kit and SFRA Storefronts](https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_storefront_display.htm&release=264.0.0&type=5)**  
    B2C Commerce with Agentforce Marketing supports consent capture on PWA Kit and SFRA storefronts. On PWA Kit, consent capture is available only for email subscriptions and can appear only in the footer. On SFRA storefronts, consent capture is available for SMS, email, and WhatsApp, and can appear in the footer, registration page, or checkout.
- **[Sync Shopper Consents from Data Cloud to B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_consent_sync_flow.htm&release=264.0.0&type=5)**  
    Data 360 and B2C Commerce store shopper consent preferences separately. Create a flow that pushes opt-out updates from Data 360 to B2C Commerce using a prebuilt template.

#### See Also

- [B2C Commerce with Agentforce Marketing](https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_intro.htm&release=264.0.0&type=5 "Connect B2C Commerce to your Salesforce org to use shopper consents and notifications powered by Agentforce Marketing, Data 360, and Personalization. Add consent requests to your B2C Commerce storefront to collect email addresses and build your Agentforce Marketing audience. Automate abandoned cart notifications via email, SMS, or WhatsApp. You can also create post-order marketing notifications with personalized recommendations that trigger when a shopper completes a purchase.")
- [Prerequisites for B2C Commerce with Agentforce Marketing](https://help.salesforce.com/s/articleView?id=cc.b2c_marketing_setup_prereq.htm&release=264.0.0&type=5 "Before you can use B2C Commerce with Agentforce Marketing, configure the required Salesforce apps and features.")