Skip to main content

Setting up Salesforce Experience Cloud

note

This functionality is supported in the legacy package and in the three-model package.

Depending on your needs and project requirements, you may need to integrate Salesforce Experience Cloud with the InCountry platform. Setting up an Experience Cloud site includes a series of settings that you need to define in Salesforce and on the site itself from enabling digital experiences to setting up user profiles for membership and designing your site.

Prerequisites

Before enabling digital experiences, creating portal and customer accounts you need to do the following steps:

  1. Specify user’s roles

  2. Enable additional parameters

Specifying user’s roles

  1. From Setup, click Users, then select your user with the profile of the System Administrator type.

    Add policy form

Enabling additional permissions

  1. From Setup, click Users, then select Permission Sets.

  2. Select the InCountry Admin user.

  3. Select App permissions.

  4. On the list with permission sets, locate the Manage External Users permission and check the box to enable this permission.

Permission Sets

Enabling Digital Experiences

The enabling of digital experiences is the first step to create an Experience Cloud site whenever you create a new community, portal, help center, or website.

  1. From Setup, click Feature Settings, then click Digital Experiences, and select Settings.

  2. On the Settings page, check the Enable Digital Experiences box.

    Settings - Digital Experiences

  3. If enhanced domains are enabled in your Salesforce org, your digital experiences domain is shown. It includes your domain name in the format http://YourDomainName.yoursite.com for production orgs.

  4. If enhanced domains are not enabled in your Salesforce org, select a domain name, and click Check Availability to make sure that it is not occupied. You can designate a custom domain by entering it on the Domain Management page. From Setup, click User Interfaces, then click Sites and Domains and select Domains.

  5. Check the Allow using standard external profiles for self-registration, user creation, and login box.

    Settings - Digital Experiences 2

  6. Click Save.

Setting up Experience Workspaces

The streamlined Experience Workspace centralizes site moderation, building, and administration.

  1. From Setup, click Digital Experiences, then select Settings.

  2. On the Settings page, click All Sites.

  3. Click New. The wizard with different template options opens.

  4. For example, select the Salesforce Tabs + Visualforce template.

  5. Click Get Started.

  6. Enter the page name and click Create.

    Salesforce Tabs and Visualforce

    Enter site name

  7. After that, you will automatically transition to your site that is shown in the Preview status.

  8. On the My Workspaces list, select Administration to finish the setup of your workspace.

    My Workspaces

  9. In the Members section, drag the External Apps User profile to Selected Profiles. Depending on your organization and requirements you may have different profiles on the Available Profiles list.

    Members - Available Profiles

  10. Drag the InCountry Admin permission set to the Selected Permission Sets list.

    Select Permission Sets

  11. Click Save.

Adding Partner User Actions to the Account and Contact Page Layouts in Lightning Experience

Once you have enabled digital experiences in your org, Salesforce adds specific actions to your account and contact page layouts in Lightning Experience so you can create partner accounts and partner users. Let’s check to see if you have the Enable as Partner action in the context menu of your accounts and contacts.

  1. In the InCountry application, select Accounts.

  2. Select the All Accounts list view and click account record (this Account must have related Contact).

  3. Click the dropdown menu to see all the quick actions available for the page.

  4. If you see Enable as Partner, skip to Enable Partner Accounts and Create Partner Users.

Account - Enable as Partner

If you do not see the Enable as Partner action, please follow the next steps.

  1. From Setup, select Object Manager.

  2. Select Account.

  3. Within the Account object, click Page Layouts, then select Account Layout.

  4. In the page layout editor, click Mobile & Lightning Actions. (You may first need to click the properties icon to override customizations in the Lightning & Mobile Actions section.)

  5. Drag the Enable as Partner, Disable Partner Account and Disable Customer Account buttons to the Salesforce Mobile and Lightning Experience Actions section.

  6. Click Quick Save.

Now add the partner user buttons to the contact page layout.

  1. From Setup, select Object Manager.

  2. Select Contact.

  3. Within the Contact object, click Page Layouts, then select Account Layout.

  4. In the page layout editor, click Mobile & Lightning Actions.

  5. Drag the Enable Partner User and Enable Customer User buttons to the Salesforce Mobile and Lightning Experience Actions section.

  6. Click Quick Save.

Enabling Partner User and logging in to workspace

  1. In the InCountry application, select Accounts.

  2. Select All Accounts (list view).

  3. Click a specific account record with the related contact.

  4. Click the dropdown menu to see all the quick actions available for the page.

  5. Click Enable as Partner.

  6. In the confirmation dialog, select Enable As Partner.

After enabling the Partner User option for the Account record you can enable this action on the related Contact record by clicking the same button on the Contact detail page.

Contact page - context menu

After that, you will be redirected to the user creation page. Fill in the Last Name, Alias, Email, Username, and Nickname fields and click Save.

New User - create

Returning back to the Contact record detail page, you will see the Log in to Experience as User button in the dropdown menu with the available quick actions. As a final step, click Log in to Experience as User and choose your workspace name. You will be redirected to the workspace.

Log in to Experience as User

Salesforce Digital Experience site