From the course: Building Bots with Node.js

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating an Alexa endpoint

Creating an Alexa endpoint - Node.js Tutorial

From the course: Building Bots with Node.js

Start my 1-month free trial

Creating an Alexa endpoint

- [Instructor] In this video, we will create an Alexa endpoint that is hooked up with the framework for sessions and conversations we've built in this course. As this is a lot of boiler plate code that actually does things that we covered already, you'll find a file alexa.js in the provided folder of your exercise files. So I'm just going to move this file, alexa.js, into my routes' bots folder. And there I see also on top commented that we have to install two modules here. It's npm install - s ask-sdk-core and ask-sdk-model, which is a dependency that is needed within sdk core. Next we will just run our application again. Npm run dev. And let's look through this file real quick. So, everything up there, we are requiring the ConversationService and we need the witService, the reservationService and the sessionService in this route now. And then, Alexa works very similar to how Slack works and such a handler is…

Contents