Customize Your My Domain Login Page with Your Brand

My Domain gives you a point-and-click way to brand the page that prompts users to log in to your Salesforce org. You can replace the Salesforce logo with your own and change your background and login button colors. You can also display content to the right of your login form. Branding options apply to the entire login experience, including pages for users to verify their identity and reset passwords. They also apply to login flows.
Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: Group, Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions

User Permissions Needed
To customize a My Domain login page: Customize Application

Authentication configuration settings apply to all your org’s deployed and provisioned My Domains.

Note

  1. From Setup, in the Quick find box, enter My Domain, and then select My Domain.
  2. Under Authentication Configuration, click Edit.
  3. To customize your logo, click Choose File and upload an image file.
    Images can be .jpg, .gif, or .png files up to 100 KB. The maximum image size is 250 px by 125 px.
  4. To customize your login page background, click Select a color and choose your hexadecimal color code.
  5. To display content in the right frame URL, enter a URL.
    By default, the right side displays the current Salesforce promotions, https://c.salesforce.com/login-messages/promos.html in an iframe. The iframe creates an inline frame, which embeds an HTML document into the current page. You can show your own content by supplying a URL that uses SSL encryption and the https:// prefix. The iframe dynamically expands to fill about 50% of the page. To build your own custom iframe using responsive web design, use the My Domain Sample template. For an example of a right-frame URL, go to https://sfdclogin.herokuapp.com/news.jsp.
  6. Save your changes.