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:

The final value you store looks like this:

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.

First, enable Custom Settings.

  1. Enter Schema Settings into the Quick Find box, and then select Schema Settings.
  2. Toggle on Manage list custom settings type.schema entered into Quick Find box and Manage list custom settings type is toggled on, with an arrow and red box highlighting these

Then, 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. In the Voice Code Custom Settings Definition page, click New in the Custom Fields table.
  5. Choose type Text.
  6. Click Next.
  7. 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.
  8. Click Save.