Get up and running on Trailhead and Developer tools
- Browsers using SaaS
- Free Trailhead training
- Different ways to get org instances
- Trailhead Playground
- Einstein Trailhead Playground
- Chrome Extensions
- Clear fresh developer edition org
- Help Topics of conversation
- Developer Account
- Developer Console
- REST API Workbench
- VS Code Extensions
- Force.com Eclipse IDE
- Developer Tools
- Other IDEs and Editors
- Mobile Apps
- People behind Trailhead
- More learning
- More about Salesforce
Here are steps and information for those new to Salesforce to get started working on the system. This also aims to provide succinct lists for experienced Salesforce readers.
“PROTIP:” in this document marks the unique contribution of this website, providing you advice available nowhere else.
Browsers using SaaS
Salesforce is one of first companies to provide software completely over the public internet, with users using internet browsers such as Internet Explorer, Chrome, Firefox.
PROTIP: While there is no installing custom software (from Salesforce) on each user’s machine, users can use whatever internet browser is installed with their machine. That would be Internet Explorer that comes with Windows and Safari on Macs. But in practice many users install Firefox and Chrome browsers.
DEVDOC: In Supported Browsers some Internet Explorer support is limited. Firefox needs to be configured.
Free Trailhead training
Most other software companies try to make the most money they can by putting their training material behind a paywall. So learning SAP and Oracle takes many thousands of dollars. This limits how many people can effectively learn their product.
Not so with Salesforce. Salesforce as a company offers classes addressing each job role and certification through its Salesforce University (@SalesforceU). For example, $3,750 for the 5-day course. PROTIP: Spending several days strait sitting in a class may seem like “drinking from a firehose”.
Salesforce Trailhead on-line training is both in-depth and offered free, with unlimited time on servers. This has enabled Salesforce users to be among the best trained of any software ecosystem.
Different ways to get org instances
Partners of Salesforce can use Trialforce to provision and manage free trial and demo Salesforce organizations holding apps and components. Trialforce enables the configuration of trials to specific specifications with relevant sample data, and even customize the look and feel to reflect company branding.
NOTE: Salesforce partners manage multiple member orgs using the Environment Hub.
ISVs (Independent Solution Vendors) use the ISVForce: See https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_intro.htm
Get Trailhead Training Account
Obtain a Trailhead account for FREE tutorials with unlimited server time:
Click the green “Sign Up” button at the upper-right corner or “Start learning for free” in the middle of the screen.
Click “Google” to use your Gmail or “LinkedIn” to use your LinkedIn.com account. Alternately, create a password within Salesforce.
PROTIP: Sign up for Trailhead with a personal Gmail account instead of company email so you’ll be able to sign in no matter where you work in the future.
You can later merge accounts, but that sometimes results in the loss of history information.
Check “Remember me” to have the browser remember your account name (not password).
Click Trailmixes. Each Trailmix recommends a sequence of single web pages and Trailhead modules. At last count there were 60 of them.
Scroll down to click Get started with Trailhead.
Click the Link to read a Medium.co article about Trailhead and Trailblazers.
Begin your first Trailhead module:
How Trailhead works
Learning topics are organized into modules, which are broken up into units.
Trails group modules to provide guided learning paths suited to specific roles or needs.
Earn points when you finish each unit by completing a quiz or challenge in a Salesforce org. If you answer wrong, less points are earned for each additional attempt.
Trailhead tutorials are great because of their quizzes (challenges).
“Challenges” gives you a set of requirements that you have to figure out how to meet on your own. A project lays out step-by-step instructions for you to follow, then validates that you did everything correctly.
PROTIP: Before you begin answering quiz questions, to avoid needing to having your answers wiped away becuase you timed out, make sure you’re logged by pressing the browser Refresh icon or pressing command+R on the Mac or Ctrl+R on Windows PCs.
superbadges challenge you to implement a feature or solution in an org (a Trailhead Playground) without step-by-step instructions.
Some sample profiles from among my list of Salesforce Rock Stars:
- https://trailhead.salesforce.com/en/me/00550000006gTqVAAU Naveen Poojary
https://trailhead.salesforce.com/en/me/00550000006gOHXAA2 Anjaneya Reddy Bobbala got near 100,000 points by completing 135+ badges over 7 trails
Each profile includes how many trailhead modules and trails completed, and the points earned. Skills distribution by category:
Profiles don’t list certifications exams passed.
QUESTION: Those who have been designated as a “MVP” by Salesforce also get identified in their profile?
Plan to Pace Yourself
Here’s an example of a progression:
Trail/Project Hours Points Intro. to Trailhead 2 500 Module: Salesforce Platform Basics Get introduced to the platform, navigate use cases, and build custom functionality. 2 300 Trail: Admin Beginner 7 8,200 Module: Data Modeling - - Module: Visualforce Basics - - Trail: Admin Intermediate 13 8,200 Take Admin 1 exam - - Advanced Admin Trail - - Take Advanced Admin exam - - Trail: Developer Beginner 15 19,400 Trail: Developer Intermediate 23 9,100 Developer Trail - Mobile SDK 6.8 3,000 Build a Conference Management App 3 550 Build Suggestion Box App 1.9 ? Quick Start: Lightning Components 0.5 150 Quick Connect: Lightning Connect 0.3 100 Total: 50 45,000
Text to speech
Trailhead content are mainly text. There are a few videos, such as the Who Sees What for Lightning Experience and Salesforce Classic.
PROTIP: Use a program that generates text to speech. Macs has it built-in, and just need to be enabled in Apple System Preferences > Accessibility > Speech.
You can change the default option+` (back tick) activation key sequence.
PROTIP: I like the proper British female voice “Kate”, who is like Mary Poppins reading to me. For some reason, I am less distracted by minor pronouciation imperfections by American voices rather than the Queen’s English.
If you have the money, several video tutorials are available from Pluralsight, Lynda/LinkedIn, etc.
But don’t neglect completing Salesforce trailheads. Here’s why…
You will need an “org” (database) to use which is different than the “productive” (real) environment.
A Trailhead Playground is an org you can use to complete hands on challenges, and try out new features and customizations. It comes with set of Trailhead-specific data (a set of sample contacts, etc.) that you can use when completing challenges, and a pre-installed unmanaged package that we use to test your hands-on challenges. Trailhead Playgrounds have some limits, but for the most part they give you the same customization options as a production org.
PROTIP: Salesforce is great because of its free Trailhead tutorial that are thorough.
Install the Google Chrome browser (if you haven’t already done so).
Open Chrome and click the icon at the upper-right corner with the three dots for a menu to select “New incognito window”.
Alternately, clear all cookies from your browser. On Chrome, click the three dots, Settings, scroll down to click Advanced, Clear browsing data, Clear Data.
Highlight and copy this URL, then paste or type in this URL in the Address field:
PROTIP: Using an icognito screen ignores all the previous cookies that may confuse the website.
Login using the email associated with the Trailhead Username you wish to use.
If the “Verify Your Identity” page appears about a text to your phone, go to your phone and get the code to type into Google Chrome.
PROTIP: Press command+` (back tick at the upper-left keyboard) to switch among Chrome windows.
At the bottom of the Trailhead Module page there is often a blue “Launch” button:
PROTIP: Remember to select the Trailhead Playground before clicking the Launch button. You can crate multiple Trailhead Playground by selecting “Create a Trailhead Playground”. Over time learners have more than one Playground.
If you don’t see the Launch button because you’ve passed the questions before, click the link to repeat the questions.
Click Launch for the selected Playground.
PROTIP: To quickly shift between tabs on a browser, use keyboard shortcut keys control+tab and control+shift+tab on the Mac.
PROTIP: I stick a small physical dot (from a glue gun) near the control and command keys so I can find them without looking at the keyboard.
PROTIP: Notice that when in a Playground, the browser’s URL is different than the “productive” (real) environment (such as “na53”). For example:
At the upper-right corner, there is an avatar instead of your picture because you don’t own Playground orgs.
PROTIP: When you time-out while in a Playground, don’t use your Salesforce account credentials to sign back in. Instead, close the page and Launch the Playground again from the Trailhead page.
- Click the avatar.
Notice the email address to the right of label Username: matches the domain name of the URL, such as: “email@example.com”.
Lightning UI Apps and Items
Salesforce currently stores data for all product offerings (all SaaS in the cloud) within a single “monolithic” database.
Click the “cog” icon to select Setup:
BTW, app logos that appear at the upper left should be no larger than 300 pixels wide by 55 pixels high. Adjust the number of colors in .gif or .jpg so they are under the 20kb size limit.
At the upper-left is the App Launcher icon and the current app.
Click the app launcher icon for a list of apps and items.
Scroll down for the “All Items” list:
Click the picture above here for a larger image in a new window.
Items on the page is a mixture of objects and actions.
Scroll back up to the top of the pop-up.
Click the picture above here for a larger image in a new window.
The list apps shown above are “Managed apps” developed by Salesforce itself.
The “Sales” app is the base CRM (Customer Relationship Management) app. PROTIP: CRM (Customer Relationship Management) is the Salesforce company’s stock market symbol. CRM is the main offering from Salesforce as a company.
“AppExchange apps” are developed by 3rd parties, usually an ISV (Independent Software Vendor) Salesforce partners. AppExchange is the name of the marketplace where such apps are available, either free or for a fee.
Einstein Trailhead Playground
Go to the sign-up page for a Trailhead Playground with Einstein Prediction Builder at
Fill out the form completely. In the Email field, enter an active email address because a confirmation email will be sent there.
In the Username field, enter a email address unique among all other Trailhead users.
PROTIP: It doesn’t have to be a valid email account. For example, I used “firstname.lastname@example.org”.
- Click Sign me up. A confirmation message appears.
- Check your spam folder if you don’t see the email.
- When you receive the activation email, open it and click “Verify Account”.
- Change (set) your password and enter a security answer. Write it down.
Click Change Password to get logged in to the Einstein Trailhead Playground’s Setup page.
- In the Trailhead Playground picklist, select “Log into a Developer Edition”.
- Login to the Username (such as my “email@example.com”) and the password you assigned.
- Among the email associated with the Username, highlight and copy the Verification Code.
- Paste the verification code in the “Verify Your Identity” dialog.
- Click “Allow”.
- Click “Yes! Save It.”
- Scroll down to see your Einstein Username being the default.
- Click “Launch”.
Adding apps to Trailhead
We next look into adding one of each to your Trailhead Playground.
I got confused with the Install Apps and Packages in Your Trailhead Playground unit of the Trailhead module: Trailhead Playground Management.
PROTIP: I recommend following this article mentioned in the Superbadges tutorial.
To add a managed app such as the Salesforce Dreamhouse” app:
In a new browser window, go to the “home page” for the Dreamhouse managed package:
Notice the URL has a “productive” domain name for doing real work, separated from the rest of the URL in this example:
PROTIP: Don’t click on the blue “Install” button or the app will install in the wrong domain (“na31” in the example above).
What we want is to install in a Playground domain.
Highlight and copy (to your invisible operating system Clipboard) the part of the URL string AFTER the domain, for example extract:
Exit out from that browser window.
- Switch back to the Playground window.
- Press command+R to refresh the screen to make sure the session is still active.
Construct the URL necessary by pasting it after the Playground domain name, such as:
PROTIP: This “hack” works because somehow Salesforce treats the URL as a “declarative” statement of what is desired rather than as a usual read-only request URL.
- Press Enter.
- Now click Install.
- Check the box to the left of “Yes, grant access to these third-party web sites”.
- Click Continue.
- Wait for the “Installing and granting access to admins Only…” message to turn to “Installation Complete!”.
To verify what was included in the app or package you installed:
- Click the cog icon and select Setup. Another browser window opens.
- In Quick Find, type “Installed Packages” and select Installed Packages in the Apps list.
- Click the “Dreamhouse” app Package Name in the list.
- Click “View Components” to see all components of the package.
- Close that browser window.
Clear fresh developer edition org
Some tutorials ask that you remove sample data. Based on this page and https://help.salesforce.com/articleView?id=deleting_trial_data.htm&type=5
- Go to Setup, Administration Setup, Manage Users, Profiles, System Administrator
- Click Edit
- Under “Custom App Settings”, change the “Default” to something other than Force.com
- Click Save
- Go to Setup, App Setup, Create, Apps
- Delete Force.com
- Go to Setup, App Setup, Create, Tabs
- Delete “Start Here”
- Go to Setup, App Setup, Develop, Pages
- Delete “Start Here”
- Go to Setup, App Setup, Develop, Classes
- Delete startHereController and XMLDom.
Now you can https://apex-commons.github.io/contribute/
Help Topics of conversation
If get stuck, go through the trail again on another Playground. This struggle is part of the learning process.
If you need help from others, first see if someone asked questions by clicking this at the bottom-right of each Trailhead Module page:
Click “Help each other”. Trailhead offers this selection of product interests for “Answers”. Note the web page is in the Trailblazer Community Success Cloud URL https://success.salesforce.com/answers
- Configuration & Data Management
- CPQ and Billing
- Customer Service & Support
- Desktop Integration
- Einstein Analytics
- Email Marketing
- Journey Management
- Mobile Messaging
- Packaging, Uploading & Installing Apps
- Reports & Dashboards
- Sales & Marketing
- Social Marketing
- Trailhead Challenges
- Additional products
You will learn how to work with each of the above in various Trailhead modules.
- Click “Trailhead Challenges”.
Type in your question in the field containing “What do you want to know?”, the press Enter.
Fill out your information and upload your picture.
Create a Developer Edition organization
Even if you already have Enterprise Edition, Unlimited Edition, or Performance Edition, use Developer Edition for developing, staging, and testing your solutions against sample data to protect your org’s live data, especially for applications that insert, update, or delete data (as opposed to just reading data).
There is a Trailhead Module: https://trailhead.salesforce.com/en/modules/developer_console
To open “Developer Console” for an org, click the “cog” icon to select “Developer Console”.
A headless browser window pops up with this tabs pane at the bottom:
PROTIP: BLAH: The Developer Console doesn’t have version control or conflict resolution like DX does.
The main pane displays the source code editor for the current workspace, which is a collection of resources (files).
Flip back and forth to other Chrome windows using command+tilde(at the upper-left corner of the keyboard).
Click menu item File, New for a list of what the Console deals with:
- Apex classes
- Visualforce pages
- SOQL queries
- Lightning components
Copy text from another place and paste it in the editor window.
PROTIP: Save code in a Git repository (such as GitHub) so that you can go back to any point in time.
To save, press Ctrl+S.
PROTIP: A common error is forgetting to save before execute. Execute without saving to see what the error is (such as “Unread”).
Press control+E to Debug Open Execute Anonymous Window.
Drag the top gray part of the “Enter Apex Code” window to position it on your screen.
PROTIP: Connect additional monitors so you can have the Developer Console on one screen, and “Execute Anonymous Window” in another.
In the new “Enter Apex Code” window, if there is text left over from the previous session, click on it and press command+A then delete key to delete it.
In the new “Enter Apex Code” window, copy the following and paste it this:
Account a = new Account(Name='Test Trigger'); insert a;
- Click Execute.
- In the Log tab at the bottom of the screen, click the top entry in blue.
- Check “Debug Only” to see USER_DEBUG event Details. For example, “Hello World!” or “Email sent successfully”.
- PROTIP: At the top among orange tabs, so history does not hide tabs about source code, click the X to the right of the “Log executeAnonymous…” tab.
REST API Workbench
This utility is similar to Postman running on Chrome browser.
- For Environment, select Sandbox (not Production).
- For API Version, select the highest available number.
- Check “I agree to the terms of service.”
Click “Login with Salesforce” for a to pop-up a window with a URL such as this:
VS Code Extensions
For users of Microsoft’s VS Code IDE, Salesforce extensions for Visual Studio Code provide syntax highlighting and code completion.
- Read https://developer.salesforce.com/tools/extension_vscode
Install VS Code (see https://code.visualstudio.com/)
brew cask install visual-studio-code
- Launch “/Applications/Visual Studio Code.app” or from Terminal by typing “code”.
- Within Code, on the bottom of the left toolbar, click the Extensions cog icon for “Manage Extensions”.
- Type on top of the “Search Extensions” for “Salesforce Extensions for VS Code”. (No need to press Enter.)
- Click the green “Install” button for the item with the name.
- When the blue “Reload” button appears, click it to re-launch VS Code.
See the video at https://www.salesforce.com/video/1768045/ on how to master Salesforce DX using VSCode:
- Press command+P for the Command Pallette, then “sfdx”.
QUESTION: Is there a script that can do the above?
Source for this extention is on GitHub at https://github.com/forcedotcom/salesforcedx-vscode
Salesforce CLI Integration for Visual Studio Code
Open ~/.bash_profile to add:
alias code-sfdx='code --extensions-dir ~/.sfdx-code'
See: http://developer.salesforce.com/blogs/2018/06/salesforce-for-vs-code-apex-replay-debugger-and-more.html Salesforce for VS Code: Apex Replay Debugger and More June 11, 2018 By Nathan Totten
Force.com Eclipse IDE
- Download and install the Java Developer (free) edition of Eclipse. It comes with the “EGit” plugin.
- Open Eclipse
- Identify yourself with GitHub credentials.
- Add the Force.com IDE plugin.
- Window > Open Perspective > Git repository exploring.
Create a new Force.com Project (with a username and Security Token to the Trailhouse org)
Install http://bit.ly/ApexWorkbookPackage1_4 (Apex Workbook by Sbob)
https://developer.salesforce.com/blogs/engineering/2016/01/apex-interactive-debugger.html Apex Interactive Debugger
Other IDEs and Editors
The choice of editors is covered in
- VIDEO CLASS: Play by Play Battle of the Salesforce IDEs Sep 2 2015 [1h 42m]
MavensMate is no longer maintained as of 2017.
Illumated Cloud is licensed to add-on to IntelliJ IDEA Java CE IDE. It provides complete Apex-aware completion (pulling documentation in). It’s smart because it extracts metadata from your Org into an offline symbol table to feed auto code completion. It also has an (offline) interactive debugger that can run to cursor. Git integration.
Trailhead Module: US Privacy Law Basics [50:00] around personally identifiable information (PII).
Trailhead Module: European Union Privacy Law Basics [45:00] to learn about the General Data Protection Regulation (GDPR) and how to comply.
“Salesforce1 Platform” is the brand name to emphasize that mobile capabilities are automatically provided when apps are created. “mySalesforce” refers specifically to mobile apps. The brand name first appeared in 2014.
Eugene Oksman (@oksman (https://twitter.com/oksman) and Akhilesh Gupta (@akhileshgupta (https://twitter.com/akhileshgupta)) lead the Mobile SDK team at Salesforce.com.
- Trailhead Module: Salesforce Mobile App Customization
I recommend that you use Google Authenticator instead so you only need to have one app for many accounts.
On your smartphone install the “Salesforce Authenticator” app.
Enable backups by typing in your phone number. The response is a text message (from 288-401):
Ready to verify your mobile number in the Salesforce Authenticator app? SalesforceAuthenticator://verify-number?t=FvdRiT
- Press the link.
- Type a 4-digit passcode.
People behind Trailhead
- Chris Duarte (@TheChrisDuarte) - Managing Editor of #Trailhead
- Sandeep Bhanot (@cloudysan) - #Trailhead Product Owner/ Evangelist
https://trailhead.salesforce.com/en/modules/search_solution_basics Search Solution Basics [45 mins] +300
More about Salesforce
This is one of a series about Salesforce
- Salesforce Ohana (about the Salesforce company, offices, mascots, emojis, and store)
- Salesforce Glossary (of acronyms)
- Salesforce Events (Conferences, local Meetups, ) to meet people face-to-face
- Salesforce Exhibitors (at Dreamforce)
- Salesforce Onboarding (Trailhead and IDEs)
- Salesforce Offerings (Clouds, Industries, Domains, GitHub, editions, pricing, features, versions)
- Salesforce Certifications (training and exams)
- Salesforce Projects, Superbadges, and Sample Apps
- Salesforce Project Plans
- Salesforce Jobs (within Salesforce, with partners, etc.)
- Salesforce Apps (in AppExchange)
- Salesforce Alexa
- Salesforce Heroku (external apps)
- Salesforce Non-Profit support
- Salesforce Data Management
- Salesforce Einstein
- Salesforce Selenium (test automation)