Reference Chatbot (Facebook Messenger)
The Reference Chatbot (Facebook Messenger) is a flexible chatbot that integrates with Facebook Messenger and communicates with Elastic Path Commerce through the RESTful Cortex API. The Reference Chatbot uses Cortex API resources to access the commerce capabilities provided by Elastic Path Commerce.
Prerequisites
The instructions in this guide assume that you are familiar with the prerequisite technologies.
To install and customize the Reference Chatbot, you must have the following software installed:
- Git
- Node.js
- Visual Studio Code with the following extensions:
- A valid Elastic Path development environment. For more information, see Getting Started in the Elastic Path Commerce documentation.
- If you plan to implement the React PWA Reference Storefront, set up the storefront. For more information, see:
Setting up a Development Environment
Set up and configure the Reference Chatbot, and optionally integrate the Reference Chatbot with the React PWA (Progressive Web App) Reference Storefront.
- Clone or pull the
facebook-chat
repository to your directory. - Run the
cd facebook-chat
command. - Set up the Chatbot server.
- Set up Login server.
- (Optional) Integrate the Reference Chatbot with the React PWA Reference Storefront.