In this tutorial, we will develop a Hello World custom skill for Amazon Alexa by using nodejs and npm.
Prerequisites
- A node js development environment.
- An npm project. Please refer this link for creating npm projects
- An Amazon Developer account. This is required to create and configure Alexa skills.
- To create a skill without using AWS, we could use a npm packet called alexa-skill-local.(https://www.npmjs.com/package/alexa-skill-local))
Add ASK SDK
The ASK SDK v2 for Node.js is an open-source Alexa Skill Development Kit. ASK SDK v2 for Node.js makes it easier for you to build highly engaging skills, by allowing you to spend more time on implementing features and less on writing boiler-plate code.
To use the ASK SDK package, simply run the following command in terminal:
npm install --save ask-sdk
Configure Custom Skill
First go to developer.amazon.com and from there to amazon alexa.
Now click Alexa Developer Console from the dropdown menu seen in the top right side corner of the page.You will end up with this login page.