Skip to main content
The Amazon Lex NLU connector enables integration with Amazon Lex to use its language understanding results for powering agents in Cognigy.

Prerequisites

  • Access to Amazon Lex.

Configuration on the NLU provider side

  1. Log in to the AWS Console, then go to the Lex Start page to create a new bot.
  2. Make sure to configure the languages that the bot will support, based on the locale in Cognigy. This step is important for proper integration.
  3. After configuring the bot, save your changes and build the bot. Ensure all languages are built, especially if you intend to use multiple languages in Cognigy.
  4. In the Lex Console, go to Bot versions and create a new version for your bot.
  5. Create a Bot Alias and associate it with the new version. Copy the Bot ID and Bot Alias ID from the URL for later use in Cognigy.
  6. Create a new IAM user in the AWS IAM Console and make sure the user has the following permissions:
  7. Once the user is created, retrieve the Access Key ID and Secret Access Key.

Configuration on the Cognigy side

  1. In Cognigy, go to Advanced > NLU Connectors, click Create NLU connector, and select the Amazon Lex connector type.
  2. (Optional) Activate the Lex slot reparsing toggle if you want to reparse Lex slots.
  3. Enter the retrieved credentials.

Test your NLU connector

By default, the Cognigy NLU connector is used in the Interaction Panel for testing purposes. To change this behavior, open the Settings tab in the Interaction Panel, then select the configured connector from the NLU connector list.

Add your NLU connector to endpoint settings

By default, the Cognigy NLU connector is used in the Endpoint. To change this behavior, follow these steps:
  1. Go to Deploy > Endpoints.
  2. Select the desired Endpoint and go to the Advanced tab.
  3. In the Natural language understanding (NLU) section, select the configured connector from the NLU connector list.

More information

Last modified on November 11, 2026