LogoLogo
  • GETTING STARTED
    • Welcome to the NLX platform
    • How NLX works
    • Guides
      • Analytics dashboard
      • Chat
      • Generative Journey (Slots)
      • Model Context Protocol
      • Voice
      • Voice+ script
      • Touchpoint components
        • Carousel modality
        • Video modality
    • Terms & concepts
    • Generative AI
    • Developer
  • Build
    • Workspace setup
    • Flows
      • Intro to flows & variables
      • The Canvas
      • Flow settings
      • Nodes
      • Flow appearance
    • Resources
      • Actions
        • Implementation
        • Request model
      • Analytics tags
      • Context variables
      • Data requests
        • Implementation
        • Response model
        • Request model
      • Knowledge bases
        • Ingest content
        • Add metadata (beta)
        • Apply KB
      • Lifecycle hooks
        • Implementation
      • Modalities
      • Secrets
      • Slots (custom)
        • Adding values
        • Translating slots
      • Voice+ scripts
        • Add + download script
        • Deploy script + install SDK
        • Create Voice+ flow
    • Integrations
      • Channels
        • Alexa
        • Amazon Chime SDK
        • Amazon Connect
        • AWS End User Messaging SMS
        • AWS End User Messaging Social
        • Bandwidth
        • Genesys
        • Twilio
        • Zendesk Sunshine
      • LLM services
        • Amazon Bedrock
        • Anthropic
        • Azure OpenAI
        • Cerebras
        • Cohere
        • Google Vertex AI
        • Groq
        • NVIDIA
        • OpenAI
        • xAI
      • NLP
        • Amazon Lex
        • Google Dialogflow
        • Google Dialogflow CX
        • Custom NLP
    • Translations
  • Deploy & test
    • Applications
      • Attach flows
      • Assign default behavior
      • Add channels
        • API
          • REST API
        • Alexa
        • Amazon Chime SDK
        • Amazon Connect
        • AWS End User Messaging SMS
        • AWS End User Messaging Social
        • Genesys
        • Genesys SMS
        • Messenger
        • Microsoft Teams
        • Slack
        • SMS via Bandwidth
        • Twilio SMS
        • Twilio Voice
        • WhatsApp via Twilio
        • Zendesk Sunshine
      • Deploy
      • Optional: Set lifecycle
      • Optional: Set languages
    • Test
      • Test a conversation
      • Automated tests
      • Test an external integration
  • Analyze
    • Conversations
    • Analytics
      • Creating dashboards
      • Formulas & multi-metrics
      • Canvas analytics
    • Training
  • Workspace Settings
    • Escalation channels
    • Resource tags
    • Audit
  • Admin
    • Access control
      • Roles & permissions
    • Notifications
    • FAQ
    • Contact support
Powered by GitBook
On this page
  • Integrate Amazon Lex
  • Enabling Sentiment
  1. Build
  2. Integrations
  3. NLP

Amazon Lex

Quickly set up the Amazon Lex NLP into your NLX workspace

Last updated 17 days ago

Integrate Amazon Lex

To integrate with the Amazon Lex NLP engine, begin by selecting Integrations from your workspace menu:

  • Click + Add integration > Choose Amazon Lex from the Type dropdown

  • Provide your integration a name

  • Click the IAMrole and Lex V2 Service Role > This takes you to AWS where you can log into your account. The Quick create stack page appears with Template, Stack Name, and Parameters information

  • In the Capabilities section at the bottom of that page, select the acknowledgement checkbox > Click the Create stack button

  • Once the stack is created, click the Output tab > Under the Key section, locate your newly-generated values for LexManagementRoleArn and LexV2ServiceLinkedRoleArn

  • Copy and paste those values into NLX in the IAM Role ARN and Lex Service Role ARN fields respectively

  • Click Create integration

Successful integration is noted with an Amazon Lex status of Live.

At any time, you may edit or delete your Amazon Lex integration by expanding the integration name and selecting the edit or delete icons.


Enabling Sentiment

There is an additional one-time setup required in order to enable permissions to detect sentiment using Amazon Lex. This adds the Comprehend permissions to the Lex service linked role that is created by the NLX - Lex Integration.

  • an application using the desired Amazon Lex integration

  • Go to the Lex service in your AWS Console > Select your application from the Bots table

  • Under Deployment, select Aliases

  • Select the TestBotAlias

  • Click Edit and Enable Sentiment Analysis (Note: If sentiment analysis is already enabled, disable it, save, and re-enable it)

  • To confirm permission was successfully added, check the service linked IAM role for the ComprehendPolicy

Build and deploy