menu
arrow_back

Working with Alexa: Build a Trivia Skill

55m access · 35m completion
Connection Details

Warning: Do not transmit data into the AWS Console that is not related to Qwiklabs or the lab you are taking.

10 Credits

info_outline
This lab costs 10 Credits to run. You can purchase credits or a subscription under My Account.

00:55:00

Working with Alexa: Build a Trivia Skill

SPL-128 - Version 2.3.1

© 2018 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.

Errors or corrections? Email us at aws-course-feedback@amazon.com.

Other questions? Contact us at https://aws.amazon.com/contact-us/aws-training/

Overview

In this lab, you will build a web service to handle notifications from Alexa and map this service to a skill in the Amazon Developer Portal. You will create a Trivia skill using sample code for this lab, which you can use as a template for your own skill after completing the lab. You can make this skill available on your device and to all Alexa users after certification. You will use both the AWS Management Console and the Amazon Developer Portal in this lab.

You do not need an Alexa device. The Developer Portal provides testing tools that work in a browser.

Topics covered

By the end of this lab, you will be able to:

  • Create an Alexa Trivia skill in the Amazon Developer Portal
  • Create and configure an interaction model for the Alexa skill
  • Create a Lambda function and configure the Alexa skill to use it
  • Test the skill using developer tools and optionally an Alexa device

Lab Pre-requisites

To successfully complete this lab, you should be familiar with AWS Lambda through taking the introductory lab. Familiarity with Node.js programming will be helpful, although full solution code is provided. You will need to have/create a no-cost, no-credit-card-required account in the Amazon Developer Portal. Familiarity with the Amazon Developer Portal and the Alexa Skills Kit is helpful, though not required. You do not need an Alexa device for this lab.

Other AWS Services

Other AWS Services than the ones needed for this lab are disabled by IAM policy during your access time in this lab. In addition, the capabilities of the services used in this lab are limited to what’s required by the lab and in some cases are even further limited as an intentional aspect of the lab design. Expect errors when accessing other services or performing actions beyond those provided in this lab guide.

Amazon Alexa Skills

Alexa is the voice service that powers Amazon Echo. Alexa provides capabilities, called “skills”, which enable customers to interact with devices using voice (answer questions, play music, and more).

The Alexa Skills Kit (ASK) is a collection of self-service APIs, tools, documentation, and code samples that make it easy for you to develop your own Alexa skills, which you can then publish. ASK supports simple command-oriented skills, such as “Alexa, ask Greeter to say hello world” as well as sophisticated multi-command dialogs and parameter passing, such as “Alexa, what is this weekend’s weather forecast?” The Alexa Skills Kit is a low-friction way to learn to build for voice. You can get a prototype up and running within hours.

This lab will walk you through creating a fact skill. After you complete the lab, you can use the skill you create as a template for your own skill.

AWS Lambda

Lambda passes on to you the financial benefits of Amazon’s scale. AWS Lambda executes your code only when needed and scales automatically, from a few requests per day to thousands per second. For most developers, the Lambda free tier is sufficient for supporting an Alexa skill.

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Amazon Web Services Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab
home
Home
school
Catalog
menu
More
More