Skip to main content

Prep Your Org and Portal for Self-Registration

Learning Objectives

After completing this unit, you’ll be able to:

  • Add a community profile to your portal’s membership.
  • Enable self-registration in a portal.
  • Enable guest user access to the Privacy Settings flow.
  • Associate self-registered portal members with an account.

Clone the Customer Community Profile and Add It to Your Portal’s Membership

Right after you create your portal, you’re in your portal’s Workspaces interface, which is your one-stop shop for building, setting up, and monitoring your portal. Each tile in Workspaces allows you to manage different aspects of your portal, from branding to monitoring.

Every site and portal needs some members to access it, right? Well, now you can add members to your portal. The first thing you need to do is clone a standard external profile for use in your Customer Account Portal. This is a Salesforce security best practice. Every time you create a new site or portal, make sure you’re using a cloned external profile to give access to it. Each external profile should have security and sharing settings that meet the goals of that specific site or portal.

To clone a profile, follow these steps.

  1. From Setup, in the Quick Find box, search for and select Profiles.
  2. Scroll down to the profile you’d like to clone and click Clone in the Action column.
  3. Name the profile.
  4. Click Save.

After creating the custom profile, you can add it to your portal’s membership.

  1. From Setup, in the Quick Find box, search for and select All Sites.
  2. Click Workspaces next to your account portal.
  3. Click Administration | Members.
  4. Select the profile you want to add to your portal’s membership. (If you don’t see the profile, change the Search field to All.)
  5. Click Add.
  6. Click Save.

Now, every time you add anyone to that particular profile, you’re also adding them to the portal’s membership.

Set Up an Account for Self-Registering Customer Users

All Experience Cloud site users created in a Salesforce org have to be associated with an account, whether they’re business accounts or person accounts. Person accounts aren’t enabled in your Trailhead Playground, so you need to set up a business account to associate with all your soon-to-be-created Ursa Major customer account portal users. 

To set up a new account, use the App Launcher to head to the Accounts app, and then click New. The only required field is the account’s name.

Enable Self-Registration

The next step to ensure a smooth self-registration process is to actually enable self-registration in the Ursa Major portal. Before you enable self-registration, make sure you publish your portal so that registration pages are available for setup. Here’s how. 

  1. From Setup, in the Quick Find box, search for and select All Sites.
  2. Click Builder next to your portal’s name.
  3. In Experience Builder, click Publish, and in the confirmation dialogue, click Publish again, and then click Got It.

Follow these steps to enable self-registration for the portal.

  1. From Experience Builder, navigate to Administration by clicking Builder icon, and select Administration.
  2. Select Login & Registration.
  3. Under Registration Page Configuration, select the checkbox Allow customers and partners to self-register.
  4. For Registration Page Type, select these values:
    • Experience Builder Page (Note: Only published pages show up in the lookup. Make sure you published your site.)
    • Register
  1. Assign the correct profile and account to registered users.
  2. Click Save.

Now give the public access to your site.

  1. From the Login & Registration page, click Administration and select Builder.
  2. In Experience Builder, click the Settings wheel Settings wheel.
  3. In the General section, under Public Access, select the checkbox Guest users can see and interact with the site without logging in.
  4. Close the Settings panel.

Give Guest Users Access to the Privacy Settings Flow

Access to flows can get pretty granular, in that you can grant access to specific flows by specific profiles. Each site that’s created in Experience Cloud and has public access automatically creates a guest user profile. Guest users are any users on the internet who can access your public site without a login. Even if your users are going to create a login, the first time they access the site they’re considered guest users. So in order for folks to be able to access the flow you created in Create a Self-Registration Flow for an Experience Cloud Site, you have to give access to the flow to your site’s specific guest user profile.

This is a two-step process, which can be done only after you enable public access to the site. 

First, you have to override the flow’s default access settings, and then you have to enable flow access to the Privacy Settings flow in the guest user profile. 

  1. From Setup, search for and select Flows
  2. Click the down arrow next to the Privacy Settings flow, and select Edit Access.
  3. Select the checkbox Override default behavior and restrict access to enabled profiles or permission sets.
  4. Move the System Administrator and Customer Account Portal profiles from the Available Profiles column to the Enabled Profiles column.
  5. Click Save.

After giving granular access to the flow, you can grant access to the guest user profile. 

  1. Navigate to Experience Builder.
  2. Click the Settings wheel and, in the General section, click the guest user profile (it should be named the Customer Account Portal Profile).
  3. On the profile page, navigate to the Enabled Flow Access section and click Edit
  4. Move the Privacy Settings flow from the Available Flows to the Enabled Flows column.
  5. Click Save.

Now your portal’s guest users have access. And voilà! You did the prep work that allows you to create a registration and data privacy settings flow for your customers. 

Resources

Comparta sus comentarios de Trailhead en la Ayuda de Salesforce.

Nos encantaría saber más sobre su experiencia con Trailhead. Ahora puede acceder al nuevo formulario de comentarios en cualquier momento en el sitio de Ayuda de Salesforce.

Más información Continuar a Compartir comentarios