Reference Experience

Add a conversational interface to the Elastic Path platform by implementing this reference experience of an Amazon Lex chatbot. Learn how to integrate the Reference Chatbot with the React PWA Reference Storefront.

Learning to use Cortex

Learning to use Cortex

Before you do anything, take a look at our Request Entry Points to get a basic understanding of how to access Cortex resources. Then follow the steps outlined below to make your first Cortex call to retrieve a customer's cart.

Step 1: Get an Access Token

Start by getting a Cortex access token. All customers, both PUBLIC customers (customers without an account) and REGISTERED customers (customers with an account), require access tokens. Without an access token, the client application will receive a 401 Unauthorized when it tries to access a resource.