Reference Chatbot (Amazon Lex)
Integrate a conversational interface with the Elastic Path Commerce platform by implementing this reference experience of an Amazon Lex chatbot. The Reference Chatbot (Amazon Lex) allows flexible deployment to a variety of conversational interfaces, including Facebook Messenger and Slack. The Reference Chatbot communicates with the Elastic Path Cortex API to leverage the commerce capabilities provided by Elastic Path Commerce. Optionally, you can integrate the Reference Chatbot with the React PWA (Progressive Web App) Reference Storefront.
Assumptions
The instructions in this guide assume that you are familiar with the following technologies:
Prerequisites
To install and customize the Reference Chatbot, you must have some accounts set up and the required software installed.
Accounts
- A valid Amazon Web Services (AWS) account
- A valid Amazon Developer account
Software
- Git
- Node.js
- Amplify Command Line Interface (CLI)
- A valid Elastic Path Commerce development environment. For more information, see Getting Started in the Elastic Path Commerce documentation.
- If you plan to integrate the chatbot with the React PWA Reference Storefront, set up the storefront.
Project Structure
The github.com/elasticpath/lex-chatbot
repository has the following subdirectories:
ep-lambda-function
- contains the AWS Lambda Deployment packageep-lex-models
- contains the Amazon Lex Modelep-pwa-chatbot
- contains the PWA chatbot component
For more information about the Lex Model, see the Amazon Lex Developer Documentation.