In order to build our skill, you need a Salesforce org to interact with. A Salesforce Trailhead Playground is free and allows you to create everything you will need to complete this skill.
- Go to the Trailhead Playground Management Module to create a Trailhead Playground (TP) org.
- Complete units 1 & 2 in order to set up your TP and obtain your username and login credentials.
A voice code can help identify the current user. The first time someone uses an Alexa skill with a voice code requirement, the user will be able to set a 4-digit code. You store the code in a custom setting in Salesforce.
- Enter Custom Settings into the Quick Find box and then select Custom Settings.
- Click New.
- In the new Custom Setting Definition form, fill in:
- Label: Voice Code
- Object name: Voice_Code
- Setting Type: List
- Visibility: Protected
- Click Save.
- In the Voice Code Custom Settings Definition page, click New in the Custom Fields table.
- Choose type Text.
- Click Next.
- 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.
- Click Save.
To earn a Trailhead badge, go back and finish up unit 3 in the Trailhead Playground Management Module .