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.
Required Editions
Available in: both Salesforce Classic 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
Note Authentication configuration settings apply to your org’s deployed and provisioned My
Domains.
From Setup, in the Quick find box, enter My Domain, and then
select My Domain.
Under Authentication Configuration, click Edit.
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.
To customize your login page background, click , and choose your
hexadecimal color code.
To display content in the right frame URL, enter a URL.
By default, the right side shows 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. If you don’t have a URL handy, you can use
https://www.example.com/ to see how a right frame URL displays on
your login page.
To build your own custom iframe with responsive web design, use the
My Domain Sample template.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.