-
Go to the Alexa Developer Console. Enter your account credentials and click the Sign In button. (If you don't already have an account, you will be able to create a new one for free.)
-
Once you have signed in, select the Create Skill button near the top-right of the list of your Alexa Skills.
-
Give your new skill a Name, for example, 'Color Picker'. This is the name that will be shown in the Alexa Skills Store, and the name your users will refer to.
-
Select the Default Language. This tutorial will presume you have selected 'English (US)'. Click the Next button at the top right.
-
Select Other under the 'Choose a type of experience' section.
-
Select the Custom model under the 'Choose a model' section.
-
Select Provision your own under the 'Hosting services' section. Click the Next button at the top right.
-
Choose Start from scratch from the Templates section and click the Next button at the top right.
-
Review your selections and click the Create Skill button at the top right.
-
Build the Interaction Model for your skill
- On the left hand navigation panel, select the JSON Editor tab under Interaction Model. In the textfield provided, replace any existing code with the code provided in the Interaction Model. Click Save.
- If you want to change the skill invocation name, select the Invocations tab on the left hand navigation panel. Select Skill Invocation Name and enter a Skill Invocation Name. This is the name that your users will need to say to start your skill. In this case, it's preconfigured to be ‘my color picker'.
- Click Save and then Build skill.
Note: You should notice that Intents and Slot Types will auto populate based on the JSON Interaction Model that you have now applied to your skill. Feel free to explore the changes here, to learn about Intents, Slots, and Utterances open our technical documentation in a new tab.
-
Optional: Select a custom intent by expanding the Intents from the left side navigation panel. Add some more sample utterances for your newly generated intents. Think of all the different ways that a user could request to make a specific intent happen. A few examples are provided. Be sure to click Save and Build skill after you're done making changes here.
-
If your interaction model builds successfully, proceed to the next step. If not, you should see an error. Try to resolve the errors. In our next step of this guide, we will be creating our Lambda function in the AWS developer console, but keep this browser tab open, because we will be returning here on Page #3: Connect VUI to Code.
If you get an error from your interaction model, check through this list:
- Did you copy & paste the provided code correctly?
- Did you accidentally add any characters to the Interaction Model?