Before You Begin
- Create a Developer Edition organization
- Define a Custom Salesforce Domain Name
Create a Developer Edition Organization
You only need to create a Developer Edition org if you don’t already have one.
- In your browser, go to https://developer.salesforce.com/signup
- Fill in the fields about you and your company.
- In the Email field, make sure to use a public address you can easily check from a Web browser.
- Type a unique Username. Note that this field is also in the form of an email address, but it does not have to be the same as your email address, and in fact, it’s usually better if they aren’t the same. Your username is your login and your identity on developer.salesforce.com, so you’re often better served by choosing a username such email@example.com.
- Select the checkbox for the Master Subscription Agreement and then click Submit Registration.
- In a moment you’ll receive an email with a login link. Click the link and change your password.
Note: – If ask for Security Question then write down is somewhere else so that you can easily use in future.
Define a Custom Salesforce Domain Name
A custom domain name helps you enhance access security and better manage login and authentication for your organization. If your custom domain is sfdcpanther, then your login URL would be https://sfdcpanther.lightning.force.com. For more information, see My Domain in the Salesforce Help.
Please select a domain which defines your business because once it created cannot be changed. You will need to raise a case with Salesforce Support to change the same.
Go to Setup -> Company Setting -> My Domain ->
- Enter the subdomain name you want to use
- Click Check Availability. If your name is already taken, choose a different one.
- Click Register Domain.
- You receive an email when your domain name is ready for testing. It can take a few minutes.
Test your domain.
- In the Salesforce email, click the link to log in to your new subdomain. Or you can return to My Domain from Setup: Enter My Domain in the Quick Find box, then select My Domain. Now you’re at Step 3 of the wizard.
- If ask for Login then Login with your Username and Password.
Deploy your domain.
- From Setup, enter My Domain in the Quick Find box, then select My Domain.
- Click Deploy to Users.
Sharing is Caring 🙂 Like our facebook page
Note: – You will not be able to run/execute the lightning component if My Domain is not enabled and deployed to all users in your Org and it must be unique for every Org.