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

DynamoDB

As we said earlier, we are going to use DynamoDB to store the cart information. We are going to have two Dynamo tables, one for current carts and one for placed orders. To create these, we need to go onto the AWS console and navigate to the DynamoDB service:

DynamoDB console page

Click Create table to start creating a new table. We are asked to name our table and select a primary key. We're going to call our first table shopping-cart and set the Primary key to ID. The primary key is the value that we will be able to use to look up records, and it is best practice to use ID as the name of the Primary key:

Table creation

When we click ...

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