Set Up a Community for External Identity

Learning Objectives

After completing this module, you’ll be able to:
  • Enable Salesforce Communities.
  • Create and activate a community.
  • Change the default login page.

Salesforce Communities and External Identity

You set up and manage Salesforce Identity for customers through Salesforce Communities. Using the Communities license that you get with Salesforce Identity, you can create and deliver pages for your customers and partners to self-register and log in to your community.

In this brief encounter, you get a glimpse of all that Communities offers. You can get to know it better with the Communities trail. But for now, we’ve got an external identity community to set up!

Enable Communities

To enable Communities for your org, you provide a community domain name. The community domain collects all your communities under one URL. Typically, your community domain is your company name.

It doesn’t matter now, but when you create the domain name in your production org, choose this domain name carefully—you can’t change it afterward.

  1. From Setup, enter Communities in the Quick Find box, then select Communities Settings.
  2. Select Enable communities.
  3. Enter a unique name for your community domain.
  4. Select Check Availability.Enable communities
  5. Click Save, and then click OK. You can now create communities in your org. Confirmation that communities are enabled
Now that you’ve enabled communities in your org, let’s create your external identity community.

Create Your Community

After you enable Communities, you’re ready to create your first community. Salesforce Communities makes it easy for you by providing several templates. When you create a community, default pages for login, self-registration, change password, forgot password, and your home page are set based on your community template.

For this demo, we’re using the Aloha template, which is designed for external identity communities. It has an App Launcher that lets users quickly find applications and access them using single sign-on authentication. By adding a selection of apps to the App Launcher, you’re making it easy for your customers to access everything they need. There’s no need for them to go elsewhere.

  1. If you’re not already at the Communities page, from Setup, enter Communities in the Quick Find box, then select All Communities.
  2. Click New Community. The Communities Creation wizard displays several templates to choose from. Hover over them to read their descriptions. Aloha template for Communities
  3. Select the Aloha template.
  4. Click Get Started.
  5. Name it customers, and add customers at the end of the URL.Enter a name for a community
  6. Click Create.
    After a brief intermission, your new community opens in Experience Workspaces. This is where you manage your external identity community. Administration is where we configure our external identity community login page. Community Management dashboard


Anytime you want to get back to Setup, click Experience Workspaces on the top left of the page, and select Salesforce Setup.

Control Membership to Your Community

Use profiles to lock down your data so that external users see only what you want them to see. You certainly don’t want to give access to malicious users. A user who appears to be a customer can be a reaver (or, as they say on Earth, a hacker) in disguise. Profiles help prevent that from happening.

  1. From Experience Workspaces, select Administration, then select Members.
  2. Under Select Profiles, from the dropdown list, select All.
  3. In the list of Available Profiles, locate the Customers profile and then click Add to add it to Selected Profiles. Control membership of your comunity
  4. Click Save.
Salesforce takes a couple of minutes to update membership for your community. You receive an email confirming that you created a customer profile.

Complete the Initial Community Setup

To complete your external identity community setup for this demo, you need to publish it, complete the registration, and then activate it.

Publish the Community

Why publish your community now? You wouldn’t publish it yet in a production org, but our demo requires this step to avoid an error later on.

  1. At the top left, select Administration, then select BuilderGo to Experience Builder from Experience Workspaces Now you’re at the tool that lets you easily brand your community pages. If you never opened this tool before, an introductory walk-through appears. Feel free to step through the walk-through before you continue. Experience Builder
  2. At the top right, click Publish, and in the confirmation dialogue, click Publish again. Then click Got it.

Behind the scenes, Salesforce creates login, password, and self-registration pages based on the Aloha template. You receive an email when the community is published. Continue on—you don’t have to wait for the email to come.

Review the New Pages

When a community is created with the Aloha template, pages customized for the Aloha experience are added. You can modify the Login & Registration page to determine the look and behavior of your customers’ login experience.

  1. From the top left, click Experience Builder icon, then select Administration.
  2. Select Login & Registration. Notice that “Experience Builder Page” appears under Login and Password. These custom pages come with the Aloha template and were designed using Experience Builder.
  3. Scan over the Login & Registration page to see which login settings you can configure. For now, we’re going to keep the default values.
  4. Click Cancel.

Login configuration page

Activate Your Community

  1. From the left, select Settings. Notice that the URL of your community appears under its name. You’ll use it soon.
  2. Click Activate Community, then click OK.

Salesforce sends you an email when the community’s activated.

View Your New Login Page

To view your login page, open your community URL in a private browsing (incognito) window to see what new users get when they click the URL. If you open the URL in a regular window, you see a page for someone who’s already logged in.

  1. If you’re not already there, from the left, select Settings.
  2. Right-click the URL and select Open Link in Incognito Window (in Chrome) or Open Link in New Private Window (in Firefox or Safari). URL for external identity community
Your login page looks something like this. Check out the Log In and Forgot your password? links under the Login button. Remember the custom “Experience Builder Page” you saw on the Login & Registration page? That’s what built these links.

External identity community default login page



Keep this browser window open. You’ll come back to it soon.

Replace the Logo on the Login Page

You now have a login page, but it’s got the Salesforce logo, which the Aloha template supplied. Let’s change it. Here’s where you can impress your customers with a professional-looking and branded login page. You’re the most established delivery service in the galaxy, make sure that your customers—and potential customers—know it.

It’s easy to replace the default logo with your own. For this module, you use the Universal Deliveries’ logo file that we placed in our Salesforce Identity GitHub repository.

By the way, if the GitHub public repository is unfamiliar to you, it’s a great way to store code in the cloud. Developers can share code and related resources independent of any single corporation.

  1. From another browser window, go to the GitHub repository,
  2. Select identity_external_logo.png and save the logo on your local drive.

Now add the logo to your login page.

  1. If you closed Experience Workspaces, from Setup, enter Communities in the Quick Find box, select All Communities, then click Workspaces next to customer community URL.
  2. Select Administration, then select Login & Registration.
  3. Replace the logo. For Logo Type select File. Then select Choose File (or Browse depending on the browser you’re using). Select the file that you downloaded from GitHub and click Save.

Return to the login page in your private (incognito) browser and reload it.

Check it out. Your login page has the logo for our External Identity module.

External identity community with custom logo

Replacing a logo is a simple customization that you can do right from the Login & Registration page. This is just one way that you can use Experience Builder to brand your community.

What’s next? Let’s set up a way for visitors to register as customers right from the login page.


Keep learning for
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities