The Consumer Sales Connect APIs support Customer Community, Customer Community Plus, and Partner Community users. This enables external users to access Consumer Sales functionality through authenticated API calls.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions with Communications Cloud Advanced and the Customer Community, Customer Community Plus, and Partner Community licenses |
| User Permissions Needed | |
|---|---|
| To enable Digital Experiences: | Customize Application AND Manage Users |
| To create or clone community profiles: | Manage Profiles AND Customize Application |
| To create community users: | Manage External Users |
| To assign permission sets: | Manage Profiles OR Assign Permission Sets |
| To configure Experience Cloud sites: | Manage External Users AND Community Management |
| To configure sharing rules: | Manage Sharing |
Set Up Digital Experiences
Create and activate a Digital Experience site to enable community user access.
- From Setup, in the Quick Find box, enter Digital Experiences, and then select Settings.
- Select Allow using standard external profiles for self-registration, user creation, and login.
- In the Quick Find box, enter Digital Experiences, and then select All Sites.
- Click New, and then select a template.
- Enter a site name and URL path.
- Click Create.
- Click Open in Experience Builder, and then click Publish.
- In Experience Builder, click Workspaces, and select Administration.
- Click Settings.
- Activate your site.
Create Account, Contact, and Community User
Set up the account hierarchy and enable the community user.
-
Create an account record.
Note For Partner Community users, select the Partner checkbox on the account. - Create a contact record associated with the account.
Clone and Configure the Community Profile
Clone and configure the community profile to grant the necessary permissions.
- From Setup, in the Quick Find box, enter Profiles, and then select Profiles.
-
Locate Customer Community User, and then click Clone.
Note For Partner Community users, select Partner Community User instead. - Enter a name for the new profile, and then save your changes.
- Click Edit on the cloned profile.
-
Under Administrative Permissions, enable these permissions.
- API Enabled
- Context Service Run Time User
- Manage Revenue Cloud
- Under General User Permissions, enable Product Configurator.
-
Under Standard Object Permissions, enable the Read, Create, Edit, Delete, and View All
permissions for these objects.
- Orders
- Revenue Transaction Error Logs
- Rule Definition
- Rule Libraries
- Rule Library Definitions
- Rule Library Definition Versions
- Rule Library Versions
- Save your changes.
- From Setup, in the Quick Find box, enter Digital Experiences, and then select All Sites.
- Click Workspaces next to your site.
- Click Administration, and then select Members.
- Add the cloned profile as a site member profile.
Create and Assign Permission Sets
Create a permission set to grant API and runtime access to community users, and then assign it.
- From Setup, in the Quick Find box, enter Permission Sets, and then select Permission Sets.
- Click New.
- Enter a label, and then select None for User License.
- Save your changes.
- Click System Permissions, and then click Edit.
-
Enable these permissions.
- API Enabled
- Salesforce Pricing: Run Time User
- Allow Access to Product Discovery
- Product Configurator
- Manage Revenue Cloud
- View Product Catalog for Customer Community User
For partners, use View Product Catalog for Partner Community User.
- View Product Catalog via API for Customer Community User
For partners, use View Product Catalog via API for Partner Community User.
- Context Service Run Time User
- Run Expression Sets
- Run Decision Matrices
- Run Decision Tables
- Save your changes.
-
Assign these permission sets to the community user.
- The custom permission set that you created
- Consumer Sales User
- Product Catalog Management Viewer
- Salesforce Pricing Run Time User
- Rule Engine Runtime
Create the Community Portal User
Convert the contact into an active community user, and then assign permission sets.
-
On the contact record, click Enable Customer User.
Note For Partner Community users, click Enable Partner User. -
On the New User page, enter the email address and username.
- The User License field auto-populates based on the community type.
- Select the cloned profile that you created in Clone and Configure the Community Profile.
- Save your changes.
- Verify the user's email address using the verification link sent to the provided email.
-
Assign these permission sets to the community user.
- The custom permission set that you created in Create and Assign Permission Sets
- Consumer Sales User
- Product Catalog Management Viewer
- Salesforce Pricing Run Time User
- Rule Engine Runtime
Configure Sharing Settings
Configure record sharing so that community users can access product catalog records.