Sub topic 5
Verifying your email and setting a password
This chapter covers what happens between submitting the Developer Edition sign-up form and having a working login. It assumes you have already submitted the form with a valid email address and a unique username. It also assumes you know what an org is and can read a basic email header. The CLI sections of the tutorial come later, so you don't need a terminal here.
By the end you will be able to:
- Describe what the verification email does and why Salesforce sends it.
- Set a password that meets the org's rules.
- Recognize the failures that happen at this step and fix them.
What the verification email does
After you submit the sign-up form, Salesforce creates the org and your administrator user. The user exists, but it has no password and has not proven that you control the email address. The verification email closes that gap.
The email contains a one-time link. When you open it, Salesforce:
- Confirms the link token is valid and unexpired.
- Marks the email address on the user record as verified.
- Shows a page where you choose a password and a security question and answer.
- Logs you in to the org for the first time.
The username and the email address are two separate values. The username is the identifier you type at login. It is formatted like an email address, but it does not have to be a real mailbox. The verification email goes to the Email field from the form, not to the username. If you used a made-up username such as [email protected], the message still arrives at your real address.
Finding the email
The message usually arrives within a few minutes. The sender is a Salesforce address, and the subject line refers to your Developer Edition sign-up and to changing your password. Search your mailbox for salesforce.com if you can't see it.
Check these places in order:
- The inbox, then the spam or junk folder.
- Any "Promotions" or "Updates" tab, if your mail provider sorts messages into tabs.
- A quarantine area, if the address belongs to a company or school. Corporate filters often hold messages that contain a link to an unfamiliar domain.
If nothing has arrived after about fifteen minutes, see the troubleshooting section below. Do not submit the form again right away. A second submission with the same username fails, and a second submission with a different username creates a second org that you then have to keep track of.
Setting the password
The link opens a page titled for changing your password. It has three inputs:
- New Password
- Confirm New Password
- Security question and Answer
A Developer Edition org uses the default password policy. The typical rules are:
| Rule | Typical default |
|---|---|
| Minimum length | 8 characters |
| Required character types | At least one letter and one number |
| Reuse of old passwords | Not allowed (the history is remembered) |
| Security answer | Must not contain your password |
Treat these values as the minimum. The exact policy can differ between releases, and an administrator can change it under Setup. If the page rejects your password, it states which rule failed.
A few practical points:
- Use a password manager to generate a long random password. Length matters more than symbols.
- Choose a security answer you can reproduce exactly. It is stored as text, so you do not need a truthful answer. A random string saved in your password manager is safer than a guessable fact.
- Do not reuse a password from another service. A Developer Edition org holds no production customer data, but a compromised account can still be used to send email and call APIs from your org.
When you submit, Salesforce logs you in. If multi-factor authentication is required for your org, the next screen asks you to register a method. That step is covered in the next chapter.
How long the link lasts
The link is single-use and expires. Two consequences follow.
First, if you open the link, close the tab before setting a password, and open the link again, it may report that it has already been used or has expired. In that case the user exists but has no usable password. Use the Forgot Your Password? link on the login page to start a reset, which sends a new link to the same email address. You will need your username for that.
Second, mail scanners sometimes open links to check them for malware. A scanner that opens the one-time link before you do can consume it. If you see an expired-link message on the first click, this is a likely cause. The reset route fixes it.
Reading a reset request
The login page's reset flow asks for your username, not your email address. This surprises many learners, because most consumer sites ask for the email. Enter the full username exactly as you typed it in the form, including the domain-like suffix.
If you have forgotten the username, search your mailbox for the original message. The verification email normally states the username in its body. If you can't find it, you can usually use the Forgot Your Username? option on the login page, which sends a reminder to the email address on the user record.
# Search a local mail export (mbox format) for the username line.
# Replace mail.mbox with the path to your own export.
grep -i -m 5 "username" mail.mboxThis command is only useful if you export your mail. Most people just use the search box in their mail client.
Common failure modes
| Symptom | Likely cause | Fix |
|---|---|---|
| No email after 15 minutes | Spam filter, typo in the email field, or provider delay | Check junk and quarantine, then retry sign-up with the correct address |
| Link says it expired | Link already opened, scanner consumed it, or too much time passed | Use **Forgot Your Password?** with your username |
| Password rejected | Does not meet length or character rules, or reused | Read the message on the page and adjust |
| Password and confirmation do not match | Typing error or autofill mismatch | Retype both fields, or paste the same value twice |
| Login page says invalid credentials after setting a password | Wrong login URL, wrong username, or caps lock | Confirm the username from the email and use the login URL that matches the org type |
| Reset email never arrives | Wrong username entered, or the email field held a typo | Verify the username, then contact Salesforce support through the Developer Edition help page |
A typo in the email address
If you mistyped your email address on the form, the verification email goes to someone else or to nowhere. You can't fix this from inside the org, because you can't log in to change it. The reliable fix is to sign up again with a different username and the correct address. The first org is abandoned, and Salesforce will remove it after it goes inactive. Because the username is globally unique, you can't reuse the first username while that org still exists.
Usernames that look taken after a failed attempt
A sign-up that created an org but never completed verification still holds its username. If you retry with the same username, the form reports a conflict. Pick a new suffix, such as adding the year or a short word, and keep a note of which username belongs to which attempt.
Verifying that it worked
You have finished this step when all of these are true:
- You see the Salesforce home page for your org after submitting the password.
- Your name appears in the profile menu at the top right.
- The browser address bar shows a Salesforce domain, not the sign-up page.
You can also confirm your username from inside the org. Open the profile menu, select your name, and read the Username field. Copy it into your password manager next to the password, along with the login URL. You will use all three in the next chapters.
Why this design
Salesforce splits account creation from password setting for two reasons. The email link proves that you control the mailbox, which gives the platform a recovery channel it can trust. It also avoids sending a password in plain text, since the user chooses the password directly in the browser over an encrypted connection.
The trade-off is that you depend on email delivery at the start. A filtering mail system, a slow provider, or a mistyped address stops you from getting in. This is why the troubleshooting steps above all begin with the mailbox.
Exercise
You submit the sign-up form and the verification email never arrives. A colleague suggests submitting the form again with the same username. Why is that a poor first step, and what should you check instead?
Show answer
A repeat submission with the same username fails because the first attempt may already hold that username, and a repeat with a new username creates a second org to track. First check the junk and quarantine folders and any mail tabs, search for messages from salesforce.com, and confirm the email address you typed on the form. Wait about fifteen minutes. If the address was a typo, sign up again with a new username and the correct address.
Exercise
You open the verification link, close the browser before setting a password, and later find the link reports that it has expired. How do you get back in, and which value does the reset form ask for?
Show answer
Go to the login page and choose Forgot Your Password?. The form asks for your username, not your email address. Salesforce sends a new link to the email address on the user record, and you set the password from that link.