Build your first Alexa skill with our step-by-step instructions and samples, then apply what you learn to build your own.
Use the code we provide for commonly needed utility functions and focus your energy on your ideas.
We provide complete sample code and step-by-step instructions for Hello World and other samples. You can use these samples to understand how to build an Alexa skill, to learn how to use SDK functions, and as a starting point for your own skills.
Request handling in the SDK makes it easy for you to invoke the right code when Alexa sends you a request. You can write a single handler for multiple Alexa intents, or invoke different handlers based on nearly any request attribute.
You can store and retrieve information at different scopes using Attributes in the SDK. Attributes allow you to keep track of what happened so far, and to use this information to determine what happens next. You can define attributes that for a single request, for a single customer session, or for the lifetime of your skill.
You can deliver responses to your customers that include text-to-speech, audio and video streams, and cards and other visual elements. Customers will receive one or more of these elements depending on what Alexa-compatible device they are using. Using the SDK, you can build responses that include all of these elements.
You can call nearly any Alexa API from within your skill logic using service clients in the SDK. The service clients automatically inject relevant endpoint and authentication token information on your behalf.