Sub topic 4
Opening Setup from the gear icon
This chapter covers how to open Setup in Lightning Experience from the gear icon. It also covers what the gear menu offers, what happens when you click it, and what to check when the icon is missing. It assumes you have a Salesforce org login (a Developer Edition org or a sandbox works), know what objects, fields, and users are, and are comfortable working with several browser tabs.
Where the gear icon lives
In Lightning Experience, the gear icon sits in the global header at the top right. It is next to the help icon (a question mark), the notifications bell, and your profile picture. The header is the same on every Lightning page, so you can reach Setup from a record page, a list view, a report, or the Home tab.
Clicking the gear opens a short menu. The exact entries depend on the page you are on and on your permissions, but you will usually see:
| Menu entry | What it does |
|---|---|
| Setup Home | Opens the Setup Home page, the landing page for configuration. |
| Object Manager | Opens the list of standard and custom objects. |
| Edit Page | Opens the Lightning App Builder for the page you are viewing. It appears only on pages that can be edited. |
| Developer Console | Opens the Developer Console in a separate window. It appears only if your user has access. |
Some orgs also show extra entries, such as a Service Setup link when Service Cloud features are enabled. Treat the table as the common case, not a fixed list.
What happens when you click Setup Home
Selecting Setup Home opens Setup in a new browser tab. Your original tab stays where it was, so you can compare a record you are working on with the configuration behind it. This matters in practice. Suppose a field does not appear on a page layout. You can keep the record open in one tab and change the layout in the Setup tab. Then you refresh the first tab to check the result.
Both tabs share one login session. If your session times out, both tabs lose access. Anything you were typing in a Setup form is lost if you have not saved it.
Why the gear icon can be missing
If you cannot see the gear, one of these is usually the cause:
- Your user lacks the permission. The gear icon appears for users who have the View Setup and Configuration permission. Administrators have it through the System Administrator profile. Other users may have it through a custom profile or a permission set. Without it, the gear does not appear at all. The next chapters cover permissions in more detail. The practical point here is that a missing gear means "not allowed to see Setup", not "broken".
- You are in a different interface. The gear icon is a Lightning Experience feature. Salesforce Classic has no gear icon. Experience Cloud sites and the Salesforce mobile app have their own navigation and do not show this menu.
- You are using a narrow window. On a small screen the header can collapse some items. Widen the window or zoom out before assuming the icon is gone.
- You are logged in as another user. If an admin uses "Log in as" to test a user's experience, the page shows that user's header. If that user cannot see Setup, neither can you until you log out of that session.
Opening Setup in Salesforce Classic
If your org or user still uses Salesforce Classic, the entry point is different. Click your name in the top right of the header and choose Setup from the menu. Classic shows its Setup pages in the same browser tab, with a sidebar on the left. The sidebar groups pages under headings such as Build, Administer, and Deploy.
If you are not sure which interface you are in, look at the header. Lightning Experience has the gear icon and a navigation bar of app items. Classic has a row of tabs and a name menu.
Opening Setup without the gear
The gear icon is the main route, but it is not the only one:
- App Launcher search. Click the grid icon at the top left and type part of a Setup page name. Matching items, apps, and some Setup pages appear. This is the fastest route when you are already in the App Launcher.
- Direct URLs. Every Setup page has a stable path under your org's domain. These work even when you have lost track of the menus.
- The Salesforce CLI. You can open your org in a browser straight on a Setup page.
For example, this command opens your default org on Setup Home:
sf org open --path lightning/setup/SetupOneHome/homeIf you have several orgs authorized, name the one you want with --target-org:
sf org open --target-org my-sandbox --path lightning/setup/SetupOneHome/homeThe first command uses your default org, the one set with sf config set target-org. If no default is set and you omit --target-org, the CLI reports an error instead of guessing. A later chapter covers URL paths and CLI options in full.
Common errors and how to read them
The Setup tab opens, but it shows a different org or user. Browsers keep one login session per org domain, but you can have several orgs open at once. If you were using a sandbox in one tab and a production org in another, check the domain in the address bar before you change anything. Sandbox URLs include the sandbox name (for example, mycompany--uat.sandbox.my.salesforce-setup.com). Production URLs do not. Many admins also install a browser extension or add a sandbox banner to avoid editing the wrong org.
Clicking Setup Home does nothing. Pop-up blockers can stop the new tab from opening. Allow pop-ups for your Salesforce domain. Some corporate browsers do this by policy, so you may need to ask your IT team.
The Setup page loads but is empty or shows an insufficient privileges message. You have access to Setup in general but not to that page. Open the page from Setup Home using Quick Find to see whether it is listed. If it is not listed, your permissions do not cover it.
Edit Page appears in the menu but you do not want to edit the page. The Edit Page entry changes the page's layout for everyone who uses it, not only for you. Do not open it to look around. Use Setup Home or Object Manager instead.
A short walkthrough
Follow these steps in your Developer Edition org or sandbox to confirm what you have learned:
- Log in and go to any Lightning page, for example the Home tab.
- Find the gear icon in the top right of the header. Note which entries the menu shows.
- Click Setup Home. Confirm that it opens in a new tab and that the original tab is still open.
- In the Setup tab, look at the address bar. Note the domain and the path after it. You will use this path pattern in a later chapter.
- Return to the first tab, open the gear menu, and choose Object Manager. Compare the page it opens with Setup Home.
- Close the Setup tabs and open the App Launcher. Type "Setup" and see what it returns.
If you are working from a terminal, run the sf org open command from the previous section. It should open the same Setup Home page.
Summary of key points
- The gear icon in the Lightning Experience header is the main entry point to Setup.
- Setup Home opens in a new tab, so your working tab stays in place.
- The gear appears only for users with the View Setup and Configuration permission.
- Classic uses the name menu instead of the gear.
- The App Launcher, direct URLs, and
sf org openare alternatives. - Always check the domain in the address bar before changing configuration.
Exercise
A colleague says the gear icon has disappeared from their Lightning Experience header. List three possible causes and say how you would check each one.
Show answer
First, they may lack the View Setup and Configuration permission. Check their profile and permission sets, or ask an admin to confirm. Second, they may not be in Lightning Experience, for example in Salesforce Classic, an Experience Cloud site, or the mobile app. Check the header: Classic shows a name menu with a Setup entry instead of a gear. Third, the browser window may be too narrow, or an admin may have used "Log in as" for a user without Setup access. Widen the window, and check the page for a "Log out" banner that indicates a Log in as session.
Exercise
Write a command that opens a sandbox with the CLI alias my-sandbox directly on Setup Home. Why does Setup Home open in a new tab, and why does that help when you are editing configuration?
Show answer
Run sf org open --target-org my-sandbox --path lightning/setup/SetupOneHome/home. Setup opens in a new tab so the page you were using stays open. You can keep a record or report in one tab, change a field, layout, or setting in the Setup tab, and then refresh the first tab to check the result without losing your place.