{"id":1211,"date":"2020-12-11T10:27:16","date_gmt":"2020-12-11T10:27:16","guid":{"rendered":"https:\/\/alternative-spaces.com\/blog\/?p=1211"},"modified":"2023-05-12T09:05:00","modified_gmt":"2023-05-12T09:05:00","slug":"the-basics-of-alexa-skill-development","status":"publish","type":"post","link":"https:\/\/alternative-spaces.com\/blog\/the-basics-of-alexa-skill-development\/","title":{"rendered":"The Basics of Alexa Skill Development"},"content":{"rendered":"\n<p>Conversational interfaces and virtual personal assistants are the future. They promise great&nbsp;<a href=\"https:\/\/alternative-spaces.com\/blog\/amazon-alexa-how-to-leverage-the-benefits-for-your-brand\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"advantages to businesses (opens in a new tab)\">advantages to businesses<\/a>&nbsp;by improving customer experiences and marketing unobtrusively. 18% of adults in the U.S. already own a smart speaker, and the number is growing. In the first quarter of 2018, Amazon alone sold 4 million items globally.<\/p>\n\n\n\n<p>Amazon Echo, Echo Dot, Echo Tap, Echo Show, and Echo Spot &#8211; all these devices are powered by Amazon\u2019s voice service Alexa. One of their strengths is the vast library of voice-driven abilities called Alexa skills. They help users with a variety of needs and wishes, from getting a ride with Uber to voice shopping with Amazon Prime. More than 30,000 skills are available on Amazon\u2019s website and Amazon Alexa app. The number will be increasing consistently due to growing demand and Amazon\u2019s strategy of facilitating the development of skills. Nowadays, it\u2019s accessible virtually to everyone thanks to Alexa Blueprints and other products of Amazon.<\/p>\n\n\n\n<p>Would you like to give your old girl Echo a unique capability? Or are you interested in creating a custom skill to grow your&nbsp;business\u2019 brand&nbsp;value? Even if your ambition is to become an Alexa skills developer, this article should offer some starter tips.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Basic Alexa Skill Development<\/strong><\/h2>\n\n\n\n<p>A skill is, in essence, an application for an Alexa-enabled device, the interface between the voice service and the user. It must help the latter achieve a specific goal hands-free. (Although skills are called Alexa apps, they shouldn\u2019t be confused with the Amazon Alexa companion mobile application. It\u2019s used to set up Alexa devices, enable the use of compatible services and additional features, connect with smart home devices, etc.)<\/p>\n\n\n\n<p>The free Alexa Blueprints service allows owners of Echo devices to endow them with unique abilities without any programming. You\u2019ll only have to log into the Amazon account that you use for Alexa. The process is straightforward and user-friendly.<\/p>\n\n\n\n<p>It starts at the&nbsp;<a href=\"https:\/\/blueprints.amazon.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Blueprints webpage<\/a>. The service offers some 30+ \u2018skill blueprints\u2019. These are templates of the possible capabilities, currently ranging from an \u2018Adventure\u2019 to the \u2018World\u2019s Best Mom.\u2019 While most scripts seem to be about fun and games, others may prove to be really useful. For example, the \u2018Houseguest\u2019 looks like an excellent solution for Airbnb hosts. They can enable a smart speaker to answer the guests\u2019 questions about the home appliances, house rules, where they can find things, etc.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-alexa-app-1024x490.jpg\" alt=\"\" class=\"wp-image-1213\" srcset=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-alexa-app-1024x490.jpg 1024w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-alexa-app-150x72.jpg 150w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-alexa-app-300x144.jpg 300w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-alexa-app-768x368.jpg 768w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-alexa-app.jpg 1899w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\n\nEach blueprint has a description, a sample to listen, and a short instruction. Here is an example: the \u2018Babysitter\u2019 template should enable Alexa to help the babysitter or family member in charge of the small one when you are away.\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skill-development-1024x490.jpg\" alt=\"\" class=\"wp-image-1214\" srcset=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skill-development-1024x490.jpg 1024w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skill-development-150x72.jpg 150w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skill-development-300x144.jpg 300w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skill-development-768x367.jpg 768w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skill-development.jpg 1900w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\n\nIf an available template contains your desired functionality, select \u2018Make Your Own.\u2019 The service will walk you through customizing the script by following the \u2018blueprint.\u2019 You basically need to fill out an online form in three steps. For the \u2018Babysitter,\u2019 this means to provide the information on the child&#8217;s habits and schedule, any allergies or medications they take, emergency contacts, etc. Then, you may customize the default \u2018hello-goodbye\u2019 utterances if you want. Finally, you\u2019ll have to give your new Alexa app a title. The phrase will be used to trigger the skill. For best results, avoid using last and first names, because Alexa is still learning to recognize and pronounce them.\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skills-developer-1024x490.jpg\" alt=\"\" class=\"wp-image-1215\" srcset=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skills-developer-1024x490.jpg 1024w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skills-developer-150x72.jpg 150w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skills-developer-300x144.jpg 300w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skills-developer-768x368.jpg 768w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-skills-developer.jpg 1899w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\n\nOnce you\u2019re done, click on the \u2018Create\u2019 button to save the new capability. That will push it live to your Amazon account and the associated Alexa device(s). The new skill will be ready to use in a few minutes. You can trigger it by saying something like \u201cAlexa, open the Babysitter Guide.\u201d You can also see your applications on the \u2018Skills You&#8217;ve Made\u2019 page and edit them as needed.\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-1-1024x490.jpg\" alt=\"\" class=\"wp-image-1216\" srcset=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-1-1024x490.jpg 1024w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-1-150x72.jpg 150w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-1-300x144.jpg 300w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-1-768x367.jpg 768w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-1.jpg 1900w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\n\nBy default, these blueprint-generated abilities are available only to your own Alexa devices, but you can share them if you want. After you\u2019ve shared a skill with another person, they can install it on their Echo device. In the same section of the Blueprints site, you can check who is using your skills and revoke access whenever you want.\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-2-1024x490.jpg\" alt=\"\" class=\"wp-image-1217\" srcset=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-2-1024x490.jpg 1024w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-2-150x72.jpg 150w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-2-300x143.jpg 300w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-2-768x367.jpg 768w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/alexa-apps-amazon-2.jpg 1899w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Creating your own Alexa app using a blueprint is much simpler than making it from scratch. However, ready-made templates and answers have their limitations. Although Amazon is sure to add new scripts, they certainly cannot meet all of the users\u2019 individual needs and customization requirements. Moreover, if you happen to create a great commercial idea, you won\u2019t be able to realize it at scale.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Custom Skill Needed?<\/strong><\/h2>\n\n\n\n<p>The scope is not the only difference between a template-based and a custom-made Alexa app. If you want to create an Alexa app from scratch, you first need to design a voice interaction. Alexa\u2019s conversations with users must follow&nbsp;<a href=\"https:\/\/alternative-spaces.com\/blog\/conversational-interface-design-using-the-right-language\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"some rules (opens in a new tab)\">some rules<\/a>&nbsp;to start with. Then, you\u2019ll also have to sign up for the Amazon Developer Portal and deal with the Amazon Web Services (AWS). (An important tip: throughout the development process, make sure to consistently use, or create, corresponding accounts with the same Amazon account that your Echo device is linked to.)<\/p>\n\n\n\n<p>Every time you ask Alexa for something, it triggers an Alexa Skills Kit (ASK). It\u2019s a collection of self-service APIs, tools, documentation, and code samples that facilitate adding applications for the virtual assistant. ASK supports building several types of capabilities\/interaction models:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>controlling the lights, thermostats, and other smart home devices;<\/li><li>controlling cloud-enabled video services;<\/li><li>provision of news and other original content for the user&#8217;s flash briefing;<\/li><li>custom skills that can manage almost any type of request (intent).<\/li><\/ul>\n\n\n\n<p>Once you\u2019ve selected the suitable interaction model, you\u2019ll have to create a cloud-based service that handles requests for it. For a custom skill, you can write a web service and host it with any cloud hosting provider. The web service must accept requests over HTTPS. It can be written in any programming language.<\/p>\n\n\n\n<p>Alternatively, a Lambda function can be required. It will let you run code in the cloud without managing servers. A Lambda function is created in the AWS Console. It can be written in C#, Java, Node.js, or Python.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"570\" src=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-an-Alexa-app-1024x570.jpg\" alt=\"\" class=\"wp-image-1218\" srcset=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-an-Alexa-app.jpg 1024w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-an-Alexa-app-150x83.jpg 150w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-an-Alexa-app-300x167.jpg 300w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/create-an-Alexa-app-768x428.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The next step is setting up the skill in the Amazon Developer Portal. There, you should select the Alexa Skills Kit. (A tip: the language you pick must match the language used by your Amazon Echo.) You\u2019ll have to create:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>an invocation name (your Alexa app name which must be unique for your account);<\/li><li>intents (an intent tells the Lambda function what it should do);<\/li><li>sample utterances that map to each intent.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"956\" height=\"282\" src=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/Alexa-skill-development.jpg\" alt=\"\" class=\"wp-image-1219\" srcset=\"https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/Alexa-skill-development.jpg 956w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/Alexa-skill-development-150x44.jpg 150w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/Alexa-skill-development-300x88.jpg 300w, https:\/\/alternative-spaces.com\/blog\/wp-content\/uploads\/2019\/04\/Alexa-skill-development-768x227.jpg 768w\" sizes=\"auto, (max-width: 956px) 100vw, 956px\" \/><\/figure>\n\n\n\n<p>Once you\u2019ve got an ASK and linked Lambda function (when applicable), the new skill can be tested. There are three ways to do that:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>You can instantly use the service simulator from the Test step of your skill development. On the simulator, you can enter a sample utterance (service request) and see what the service response will be.<\/li><li>Try to use the new application on your Echo device. If you share an Amazon household, make sure to do it under your Alexa profile.<\/li><li>If your Echo is out of reach, you can simulate the skill with the testing tool at&nbsp;<a href=\"https:\/\/echosim.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">Echosim.io.<\/a>&nbsp;You would log into your Amazon account, activate the microphone, and speak your commands.<\/li><\/ol>\n\n\n\n<p>If you want to customize the skill, it\u2019s done in the same Interaction Model tab on the Amazon Developer Portal. To customize the output accordingly, you\u2019ll have to go back to the Code tab in Lambda and change the text there. Then, test the whole thing in the Developer Portal again.<\/p>\n\n\n\n<p>That is Alexa skill development in a nutshell. If you wish to try your hand at making a skill, you might quickly learn the basics&nbsp;<a href=\"https:\/\/medium.com\/iotforall\/build-your-first-custom-alexa-skill-in-10-minutes-2d27485727ed\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>&nbsp;(if you have no programming experience) or&nbsp;<a href=\"https:\/\/developer.amazon.com\/alexa-skills-kit\/alexa-skill-python-tutorial\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>(if you\u2019re comfortable with Python). If you\u2019d like to learn skill development professionally, the next paragraph will give some clues as to where to start.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Resources for an Aspiring Alexa Skills Developer<\/strong><\/h2>\n\n\n\n<p>With the voice app ecosystem growing exponentially, innovative, competent developers and voice designers are going to be in demand. Here are a few affordable online training programs to start your skill-building journey:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/click.linksynergy.com\/deeplink?id=Fh5UMknfYAU&amp;mid=39197&amp;u1=botsfloor&amp;murl=https%3A%2F%2Fwww.udemy.com%2Famazon-alexa-development-from-beginner-to-intermediate%2F\" target=\"_blank\" rel=\"noreferrer noopener\">Amazon Alexa Development: From Beginner to Intermediate<\/a><\/h3>\n\n\n\n<p>The course is intended for a first-time skill developer with an elementary or zero understanding of JavaScript. The course would teach you the basics of building a working voice user interface and how to use ASK and AWS Lambda.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/click.linksynergy.com\/deeplink?id=Fh5UMknfYAU&amp;mid=39197&amp;u1=botsfloor&amp;murl=https%3A%2F%2Fwww.udemy.com%2Fcomprehensive-alexa-skill-development-course%2F\" target=\"_blank\" rel=\"noreferrer noopener\">Comprehensive Alexa Skill Development course from IOTwonders<\/a><\/h3>\n\n\n\n<p>The tutorial covers nearly all features of ASK with real-world example skills, including a published application. You would learn how to develop Alexa skills with both AWS Lambda function and web service as an endpoint using Node.js and Python.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/click.linksynergy.com\/deeplink?id=Fh5UMknfYAU&amp;mid=39197&amp;u1=botsfloor&amp;murl=https%3A%2F%2Fwww.udemy.com%2Famazonalexa%2F\" target=\"_blank\" rel=\"noreferrer noopener\">Introduction to Voice Design with Amazon\u2019s Alexa<\/a><\/h3>\n\n\n\n<p>This free tutorial is suitable both for IoT developers and for mobile app developers who are new to IoT or natural language interfaces. Besides making voice apps using ASK and AWS Lambda, the course teaches voice design best practices for building user interfaces, and more. A preliminary understanding of JavaScript is required.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/click.linksynergy.com\/deeplink?id=Fh5UMknfYAU&amp;mid=39197&amp;u1=botsfloor&amp;murl=https%3A%2F%2Fwww.udemy.com%2Fbuilding-voice-apps-using-amazon-alexa%2F\" target=\"_blank\" rel=\"noreferrer noopener\">Building Apps Using Amazon Alexa and Lex<\/a><\/h3>\n\n\n\n<p>The course is focused on the creation of sound interaction models and implementation of fulfillment models using AWS Lambdas to provide smooth, increasingly automated auto-scaling code endpoints. Additionally, the program provides a broader picture of voice and text interfaces, current trends in human-computer interaction, and how the Amazon ecosystem works. It\u2019s useful not only for Echo or FireTV developers looking to create skills for Alexa but also for web and mobile app developers that want to add voice apps. Basic knowledge of JS programming, HTTP\/s, and EST APIs work is necessary.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Wrapping Up<\/strong><\/h2>\n\n\n\n<p>Amazon consistently promotes the development of voice interfaces for a host of devices around the world. They also envision new practical uses for custom skills. Alexa Blueprints enables millions of Echo owners to make their devices more useful. Anyone can create skills literally in minutes at no added cost. With ASK and AWS Lambda, people with various programming abilities can do more. Developers, designers, or hobbyists can build their own personal assistants which can be integrated into practically any activity.<\/p>\n\n\n\n<p>By offering the tools for building Alexa apps, Amazon has made customizing its products simpler than ever before. But is this enough for businesses? Do you have the time for learning voice design and programming with Alexa Skills Kit and web services? Are you sure your team can build an efficient voice application for reaching thousands of customers?&nbsp;<a rel=\"noreferrer noopener\" aria-label=\"Contact us (opens in a new tab)\" href=\"https:\/\/alternative-spaces.com\/\" target=\"_blank\">Contact us<\/a>&nbsp;if you need extra expertise or a professional team to help bring your very own Alexa app to life.<\/p>\n\n\n\n<p>Content created by our partner, Onix-systems. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Conversational interfaces and virtual personal assistants are the future. They promise great&nbsp;advantages to businesses&nbsp;by improving customer experiences and marketing unobtrusively. 18% of adults in the U.S. already own a smart speaker, and the number is growing. In the first quarter of 2018, Amazon alone sold 4 million items globally. Amazon Echo, Echo Dot, Echo Tap, [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1212,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1211","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/posts\/1211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/comments?post=1211"}],"version-history":[{"count":6,"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/posts\/1211\/revisions"}],"predecessor-version":[{"id":3272,"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/posts\/1211\/revisions\/3272"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/media\/1212"}],"wp:attachment":[{"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/media?parent=1211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/categories?post=1211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alternative-spaces.com\/blog\/wp-json\/wp\/v2\/tags?post=1211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}