Start tracking your progress
Trailhead Home
Trailhead Home

Set Up Your Trailhead Playground

What You’ll Learn

In this step, you’ll learn how to:

  • Create a Trailhead Playground and obtain your username and password.
  • Obtain your domain name for your Trailhead Playground.
  • Create a Custom Setting to store a voice code.

Launch Your Trailhead Playground

To complete this project, you need a free Trailhead Playground (TP). You can find it at the bottom of this page. Click Launch to open the Trailhead Playground in a new browser tab (login required).

It typically takes 3–4 minutes from the time you first sign up for Trailhead to create your Trailhead Playground.

You also need your TP login credentials. The Trailhead Playground Management module shows you how to find your username and reset your password. Write these down for later, as you need them to test your skill.

Obtain Your Domain Name for Your Trailhead Playground

Later in this project, your domain name is necessary as part of the configuration. Let’s go find your domain name.

  1. Launch your Trailhead Playground org and click the Setup iconicon at the top right, then select the Setup link.
  2. Enter My Domain into the Quick Find box and then select My Domain.
  3. Copy the value that is after Your domain name is <domain name>.

    Sample of your domain name results
  4. Add https:// in front of it, then store this value to use later.

For example, if your Trailhead Playground URL looks something like this: https://brave-moose-406615-dev-ed.lightning.force.com/home/home.jsp.

The final value you store looks like this:

https://brave-moose-406615-dev-ed.my.salesforce.com

If your URL looks different, double-check that you created a Trailhead Playground and not any other type of Developer Edition org.

Create a Custom Setting to Store a Voice Code

A voice code can help identify the current user. The first time someone uses an Alexa skill with a voice code requirement, the user is able to set a four-digit code. You store the code in a custom setting in Salesforce.

Create a protected custom setting.

  1. Enter Custom Settings into the Quick Find box, and then select Custom Settings.
  2. Click New.
  3. In the New Custom Setting Definition form, fill in:
    • Label: Voice Code
    • Object name: Voice_Code
    • Setting Type: List
    • Click Save.
  4. Note: If you don’t see List in the Setting Type, enable List Custom Settings on the Schema Settings page in Setup.
  5. In the Voice Code Custom Settings Definition page, click New in the Custom Fields table.
  6. Choose type Text.
  7. Click Next.
  8. In the New Custom Field form, fill in:
    • Field Label: Code
    • Length: 60
    • Field Name: Code
    • Required: Check the box to require a value when saving a record.
    • Click Next.
  9. Click Save.
retargeting