|
1 | 1 | # Build an Alexa Hello World Skill in ASK Python SDK
|
2 | 2 | <img src="https://m.media-amazon.com/images/G/01/mobile-apps/dex/alexa/alexa-skills-kit/tutorials/quiz-game/header._TTH_.png" />
|
3 | 3 |
|
4 |
| -[](./1-voice-user-interface.md)[](./2-lambda-function.md)[](./3-connect-vui-to-code.md)[](./4-testing.md)[](./5-next-steps.md) |
| 4 | +[](./1-voice-user-interface.md)[](./2-lambda-function.md)[](./3-connect-vui-to-code.md)[](./4-testing.md)[](./5-customization.md) |
5 | 5 |
|
6 |
| -1. **Go to the [Amazon Alexa Developer Portal](http://developer.amazon.com/alexa?&sc_category=Owned&sc_channel=RD&sc_campaign=Evangelism2018&sc_publisher=github&sc_content=Survey&sc_detail=hello-world-nodejs-V2_GUI-1&sc_funnel=Convert&sc_country=WW&sc_medium=Owned_RD_Evangelism2018_github_Survey_hello-world-nodejs-V2_GUI-1_Convert_WW_beginnersdevs&sc_segment=beginnersdevs). In the top-right corner of the screen, click the "Sign In" button.** |
| 6 | +## Setting up Your Alexa Skill in the Developer Console |
| 7 | + |
| 8 | +1. **Go to the [Alexa Developer Console](http://developer.amazon.com/alexa?&sc_category=Owned&sc_channel=RD&sc_campaign=Evangelism2018&sc_publisher=github&sc_content=Survey&sc_detail=quiz-game-python-V2_GUI-1&sc_funnel=Convert&sc_country=WW&sc_medium=Owned_RD_Evangelism2018_github_Survey_quiz-game-python-V2_GUI-1_Convert_WW_beginnersdevs&sc_segment=beginnersdevs). In the top-right corner of the screen, click the "Sign In" button.** |
7 | 9 | (If you don't already have an account, you will be able to create a new one for free.)
|
8 | 10 |
|
9 |
| -2. Once you have signed in, select the **Developer Console** link and then **Alexa Skills Kit**. |
| 11 | +1. Once you have signed in, select the **Developer Console** link and then **Alexa Skills Kit**. |
| 12 | + |
| 13 | +1. From the **Alexa Developer Console** select the **Create Skill** button near the top-right of the list of your Alexa Skills. |
10 | 14 |
|
11 |
| -3. From the **Alexa Skills Console** select the **Create Skill** button near the top-right of the list of your Alexa Skills. |
| 15 | +1. Give your new skill a **Name**, for example, 'Greeter'. This is the name that will be shown in the Alexa Skills Store, and the name your users will refer to. |
12 | 16 |
|
13 |
| -4. Give your new skill a **Name**. This is the name that will be shown in the Alexa Skills Store, and the name your users will refer to. |
| 17 | +1. Select the Default Language. This tutorial will presume you have selected 'English (US)'. |
14 | 18 |
|
15 |
| -5. Select the **Custom** model under the *'Choose a model to add to your skill'* section. Click the **Create Skill** button at the top right. |
| 19 | +1. Select the **Custom** model under the *'Choose a model to add to your skill'* section. Click the **Create Skill** button at the top right. |
16 | 20 |
|
17 |
| -6. Choose **Start from scratch** from the *Choose a template* section and click the **Choose** button on the top right. |
| 21 | +1. Choose **Start from scratch** from the *Choose a template* section and click the **Choose** button on the top right. |
18 | 22 |
|
19 |
| -6. **Build the Interaction Model for your skill** |
| 23 | +1. **Build the Interaction Model for your skill** |
20 | 24 | 1. 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](../models/en-US.json). Click **Save Model**.
|
21 |
| - 2. If you want to change the skill invocation name, select the **Invocation** tab. 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 'Hello World'. |
| 25 | + 2. If you want to change the skill invocation name, select the **Invocation** tab. 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 'united states quiz game'. |
22 | 26 | 3. Click "Build Model".
|
23 | 27 |
|
24 |
| - **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](https://developer.amazon.com/docs/custom-skills/create-intents-utterances-and-slots.html?&sc_category=Owned&sc_channel=RD&sc_campaign=Evangelism2018&sc_publisher=github&sc_content=Survey&sc_detail=hello-world-nodejs-V2_GUI-1&sc_funnel=Convert&sc_country=WW&sc_medium=Owned_RD_Evangelism2018_github_Survey_hello-world-nodejs-V2_GUI-1_Convert_WW_beginnersdevs&sc_segment=beginnersdevs). |
| 28 | + **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](https://developer.amazon.com/docs/custom-skills/create-intents-utterances-and-slots.html?&sc_category=Owned&sc_channel=RD&sc_campaign=Evangelism2018&sc_publisher=github&sc_content=Survey&sc_detail=quiz-game-python-V2_GUI-1&sc_funnel=Convert&sc_country=WW&sc_medium=Owned_RD_Evangelism2018_github_Survey_quiz-game-python-V2_GUI-1_Convert_WW_beginnersdevs&sc_segment=beginnersdevs). |
25 | 29 |
|
26 | 30 | 7. **Optional:** Select an 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 Model** and **Build Model** after you're done making changes here.
|
27 | 31 |
|
28 | 32 | 8. 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](./3-connect-vui-to-code.md).
|
29 | 33 |
|
30 |
| - |
31 | 34 | If you get an error from your interaction model, check through this list:
|
32 | 35 |
|
33 | 36 | * **Did you copy & paste the provided code correctly?**
|
|
0 commit comments