Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 2.8 KB

3-connect-vui-to-code.md

File metadata and controls

21 lines (12 loc) · 2.8 KB

Build An Alexa Fact Skill

Voice User InterfaceLambda FunctionConnect VUI to CodeTestingCustomizationPublication

Connecting Your Voice User Interface To Your Lambda Function

On page #1 of this guide, we created a voice user interface for the intents and utterances we expect from our users. On page #2, we created a Lambda function that contains all of our logic for the skill. On this page, we need to connect those two pieces together.

  1. Go back to the Amazon Developer Portal and select your skill from the list. You may still have a browser tab open if you started at the beginning of this tutorial.

  2. Select the Endpoint tab on the left side navigation panel.

  3. Select the "AWS Lambda ARN" option for your endpoint. You have the ability to host your code anywhere that you would like, but for the purposes of simplicity and frugality, we are using AWS Lambda. (Read more about Hosting Your Own Custom Skill Web Service.) With the AWS Free Tier, you get 1,000,000 free requests per month, up to 3.2 million seconds of compute time per month. Learn more at https://aws.amazon.com/free/. In addition, Amazon now offers AWS Promotional Credits for developers who have live Alexa skills that incur costs on AWS related to those skills.

  4. Paste your Lambda's ARN (Amazon Resource Name) into the textbox provided for Default Region.

  5. Click the Save Endpoints button at the top of the main panel.

  6. Click the "Next" button to continue to page #4 of this guide.