Sub topic 4
Opening Setup from the gear icon
This chapter assumes you have a Salesforce login (a Developer Edition org or a sandbox) and know what objects, fields, and users are. It also assumes you are using Lightning Experience, the current Salesforce interface. Here you will open Setup, confirm where you landed, and learn what to check when Setup does not appear.
The working model
Setup is a separate area of the org, not a tab in the app you are using. In Lightning Experience you reach it from the gear icon in the top-right of the header. The icon is part of the global header, so it appears in every app. Setup opens in a new browser tab. That keeps your work in the app and your configuration in two places side by side.
Setup is shown only to users whose profile or permission sets include Setup access. The previous chapter covered those permissions. Here we assume you have them.
Steps to open Setup
- Log in to your org.
- Select the gear icon in the top-right of the header.
- In the menu that opens, select Setup.
- A new tab opens on Setup Home.
The same menu has other entries, such as Service Setup, which depend on the features enabled in your org. Setup is the entry that opens the full configuration area.
Confirm where you landed
Setup Home shows the title Setup in the left of the header, and a Quick Find box above a collapsible menu on the left side. The URL path contains /lightning/setup/. If you see that path, you are in Lightning Setup.
You can reach the same page without the gear icon. The Salesforce CLI opens your default org directly on Setup Home:
sf org open --path lightning/setup/SetupOneHome/homeThe --path option takes the part of the URL after the domain. A later chapter covers direct URLs in full. For now, treat this as an alternate door to the same page.
Common errors
| Symptom | Likely cause | What to do |
|---|---|---|
| No **Setup** entry in the gear menu | Your user lacks the permission that grants Setup access | Ask an administrator to check your profile and permission sets |
| Setup opens but a menu item is missing | You can see Setup but lack the permission for that feature | Ask an administrator which permission controls that page |
| Nothing happens when you select Setup | The browser blocked the new tab as a pop-up | Allow pop-ups for your Salesforce domain and try again |
| Setup shows an older look with a different layout | You are in Salesforce Classic, or switched to it | Switch back to Lightning Experience from your user menu |
| `sf org open` opens the wrong org | The default org is not the one you intended | Run `sf org open --target-org <alias> --path lightning/setup/SetupOneHome/home` |
Try it
- Open Setup from the gear icon.
- Note the URL in the new tab.
- Close that tab, then run the CLI command above and compare the page you land on.
Exercise
You select the gear icon, but the menu has no Setup entry. What is the most likely cause, and who can fix it?
Show answer
Your user does not have a permission that grants Setup access, set through your profile or a permission set. An administrator can review and grant the permission.
Exercise
Which command opens your default org directly on Setup Home from the terminal?
Show answer
sf org open --path lightning/setup/SetupOneHome/home