O'Reilly logo

Hands-On Chatbot Development with Alexa Skills and Amazon Lex by Sam Williams

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting API Gateway

API Gateway is a service that allows us to create URLs that can accept all of the normal API request methods. Start by going to the API Gateway service in AWS and clicking Get Started.

When creating our first API, we should select New API and then we can give this API a name and Description, and click Create API:

New API

You should now be on the configuration page for your API, but there are currently no endpoints created. Click on the Actions dropdown and select Create Resource. Doing this allows you to have the APIs for all of your Lex chatbots on a similar URL:

Creating a resource

Name the resource shopping-bot

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required