You are here:
Agentforce Shopping Agent for B2C Storefronts
The Shopping Agent for B2C Storefronts blends the best of in-store and online shopping. Powered by generative AI and advanced language models, the agent guides customers through their product discovery and purchasing journey. A customer can get personalized assistance with a Shopping Agent within a B2C Commerce store and across multiple conversational platforms.
Which Salesforce Commerce Product Do I Have?
- Considerations for B2C Shopping Agent Setup
Before setting up a guided shopping agent, consider supported functionality, usage, limitations and allowances, limits, and other issues. - Required Licenses for the B2C Shopping Agent
Before you turn on the B2C Shopping Agent, enable these required licenses. - Enable Einstein Generative AI
To provide your customers with the best shopping experience when they visit your B2C store, enable generative AI features in your Salesforce org. - Enable Agentforce for Guided Shopping
Turn on Agentforce for Guided Shopping for your B2C storefront. - SLAS Client Setup for Agent Access to B2C Commerce APIs
The Guided Shopping Agent communicates with B2C Commerce by way of the Shopper Login and API Access Service (SLAS). To obtain authorized access to SLAS, create a SLAS client and secret, and use those to obtain a SLAS token. The agent uses the token to make authorized calls to SCAPI or OCAPI. - Shopping Agent Creation and Initial Setup
The Guided Shopping Agent for B2C Commerce enhances customer engagement by providing personalized, real-time assistance, helping shoppers find what they need faster and more confidently—ultimately leading to increased purchases. - Enhanced Chat Setup
Shoppers engage with the B2C Shopping Agent through real-time, chat-based conversations with a mobile app or at a digital storefront. Set up the necessary messaging channels by configuring Enhanced Chat for the agent. - Shopping Agent Setup for PWA Kit Storefronts
For the Guided Shopping Agent to work with PWA Kit storefronts, set up Managed Runtime (MRT). MRT provides the infrastructure for your PWA Kit storefront, and it enables the Shopping Agent to communicate with the Enhanced Chat service in your Salesforce org. Set the correct environment variables in Managed Runtime for your deployed bundle. - Shopping Agent Setup for SFRA Storefronts
To set up the Shopping Agent for a B2C SFRA storefront, install the plugin_shopper_agent cartridge, and configure Shopping Agent features. Complete these tasks in Git and in your B2C Commerce instance. - Personalize Search Results Based on Conversational Context
Provide shoppers with a personalized list of products, based on information that the agent collects during a conversation with that shopper. Set up conversational context, then update the instructions in the agent's Product Search Assistant topic to include questions that the agent can ask the shopper to find the right products. Prioritize Questions for conversational discovery and remember a shopper’s category preferences when they search for products using the B2C shopping agent. - Configure the B2C Shopping Agent to Apply Coupons
Help shoppers manually apply coupon codes to their cart so they can save money and other incentives to make the overall purchase more satisfying. The B2C Commerce Coupon Management agent topic applies the coupon code to the shopper’s cart, and automatically breaks down complex, layered discounts. - Localize Your Shopping Agent for B2C Storefronts
To allow shoppers to use the agent with an international store, specify the language the agent supports. - Test Your B2C Commerce Shopping Agent
Test your B2C Shopping Agent to ensure proper configuration before you activate it. In the agent's Conversation Preview window and add preview conditions, and then try a conversation. - Test Enhanced Chat from Your B2C Storefront
Make sure that your shoppers can chat with the B2C Shopping Agent to ask for assistance. Test enhanced chat from your B2C storefront.

