We need to register and deploy a custom domain in order to use custom components in the Lightning App Builder. The Lightning App Builder is the place where we use components, be it standard components, custom compressed components, or installed components for Lightning pages. We need a custom domain, which we need to register, test, and deploy.
- Open a browser and type in the custom URL that you have selected, in our case ltng-cookbook-dev-ed.my.salesforce.com:
- This is a branded custom URL. In order to register it, if you are not already in
Setup
, simply click theSetup
button in the top-left corner. - Then, go to
PLATFORM TOOLS
inSETTINGS
|Company Settings
|My Domain
:
- You can scroll down and see your domain name in the
Your domain name is
section:
Custom domain name
You will receive an email to test the domain, sent to the email address you provided Salesforce with, within 3-30 minutes. After that, you can deploy the domain to users. The domain is now ready. You need to be ready with the Developer Edition; you have created or used another Salesforce user license, that is, a Sample User
, in addition to the System Admin
; and you have a custom domain registered and deployed. This refers to Lightning Experience. For older editions, older organizations, those pre-dating the Lightning Experience, these organizations are pre-enabled with Lightning Experience.
Go to the username button (System Admin
). You have a switcher there, Switch to Salesforce Classic
, which means Lightning Experience is already enabled. We are discussing this mainly in relation to older organizations that predate Lightning Experience. This is our Classic user interface. We are running through this for older organizations, for clients who are interested in switching to the new Lightning Experience:
From the Classic user interface, we'll now look at how to create users. We will go to Setup
and Administer
; in the Manage Users
section, select Users
, click on New User
, and provide the requisite information:
Here, the User License
should be Salesforce
and you can assign any standard or custom profile. You are ready with the Developer Edition, with another user and also a custom domain: