Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 2.62 KB

1-salesforce-setup.md

File metadata and controls

40 lines (30 loc) · 2.62 KB

Salesforce Setup

Salesforce SetupDeployAccount LinkingTestingDistribute Private Skills

Part 1: Create a Salesforce Trailhead Playground

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.

  1. Go to the Trailhead Playground Management Module to create a Trailhead Playground (TP) org.
  2. Complete units 1 & 2 in order to set up your TP and obtain your username and login credentials.

Part 2: Create a Voice Code Custom Setting.

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.

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
  • Visibility: Protected
  • Click Save.
  1. In the Voice Code Custom Settings Definition page, click New in the Custom Fields table.
  2. Choose type Text.
  3. Click Next.
  4. 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.
  1. Click Save.

Extra Credit

To earn a Trailhead badge, go back and finish up unit 3 in the Trailhead Playground Management Module .

Next