Sub topic 8
Opening Setup and finding your org details
This chapter assumes you have already signed up, verified your email, set a password, and registered multi-factor authentication. It also assumes you can log in through your My Domain URL. You will open Setup, which is the area where you configure the org. Then you will find the details that identify your org: its name, ID, edition, and domain.
What Setup is
Setup is the administration area of a Salesforce org. Objects, users, security, and integrations are all configured there. A Developer Edition user is the org's system administrator, so you can see every Setup page.
Setup is separate from the apps you use day to day, such as Sales. It opens in its own browser tab, so you can keep it open next to the app you are building or testing.
Open Setup
- Log in to your org.
- Select the gear icon in the top-right corner of the page.
- Choose Setup.
Setup opens in a new tab on Setup Home. The left side has a navigation tree. Above the tree is the Quick Find box.
If you see no gear icon, you are probably in Salesforce Classic, or you are logged in as a user without administrator rights. In Classic, your name in the top bar has a Setup entry in its menu. In a Developer Edition org that you signed up for yourself, the cause is usually that you are in a different org than you think. The Apex check at the end of this chapter tells you which one.
Use Quick Find
The navigation tree is deep, so use Quick Find instead of browsing it. Type part of a page name, such as company, and the tree filters to matching entries. Matching ignores case and works on partial words.
Quick Find also searches some setup items by name, not just page titles. If a search shows nothing, shorten it. Typing Company Info finds more than Company Information Settings.
Find your org details
Search for Company Information. The page is under Settings > Company Settings. These fields matter most:
| Field | What it tells you |
|---|---|
| Organization Name | The name entered at sign-up. You can edit it. |
| Salesforce.com Organization ID | The org's unique ID. It starts with `00D`. |
| Organization Edition | Should read **Developer Edition**. |
| Instance | The server group hosting your org. |
| Primary Contact | The person Salesforce contacts about the org. |
| Default Locale and Time Zone | Defaults for new users. Dates and currency depend on them. |
Support cases and integration tools often ask for the Organization ID, so copy it from this page when you need it.
Next, search for My Domain. It shows the subdomain in your login URL, such as yourname-dev-ed.my.salesforce.com. This is the address you will use when you connect tools to the org.
Finally, open System Overview from Setup Home. It summarizes how much of your limits you have used, including storage and API requests. The next chapter explains those limits.
Read the same details from the CLI
If you have authorized the Salesforce CLI, you can read the same details with a query. The Organization object holds one record for your org.
sf data query --target-org my-dev-org --query "SELECT Id, Name, OrganizationType, InstanceName, IsSandbox FROM Organization"Id matches the Organization ID on the Company Information page. OrganizationType should be Developer Edition. IsSandbox should be false.
Common errors
- Editing the wrong org. If you have several orgs, check the Organization ID on Company Information before you change anything.
- A page you cannot find. Searches only show pages your user is allowed to see. In your own Developer Edition org this is rarely the cause, but it is the first thing to check in a shared org.
- A stale tab. If Setup shows a session error, close the tab and open Setup again from the gear icon.
Exercise
You open Company Information and the Organization Edition field reads "Developer Edition". What other value on that page uniquely identifies your org, and how can you confirm it from the CLI?
Show answer
The Salesforce.com Organization ID, which starts with 00D. Run a SOQL query such as SELECT Id, Name FROM Organization with sf data query and compare the Id value to the one on the page.