# Amazon Connect

### Before you begin

The Amazon Connect channel requires Amazon Lex as its natural language processing (NLP) engine. Lex interprets what users say and passes structured intents and slot data back to NLX, enabling your conversational AI to understand and respond in real time.

When setting up your Connect integration, make sure to also complete the one-time Amazon Lex integration in your NLX workspace.&#x20;

<a href="../nlp-engines/amazon-lex" class="button primary">Integrate Amazon Lex</a>

{% hint style="info" %}
Both your Lex and Connect instances must exist in the same AWS region. Check Amazon Connect’s [availability by region](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/) before proceeding.
{% endhint %}

### Integrate Amazon Connect

1. In your NLX workspace, go to *Resources* and select the *Integrations* card
2. Click *+ Add integration* and select *Amazon Connect* from the dropdown
3. Provide a name for your Connect integration&#x20;
4. Click the CloudFormation template link to open AWS and sign in
5. In AWS, confirm that your selected region matches your Connect and Lex instances (for example, both in *US East - N. Virginia*)
6. On the *Quick create stack* page appears with *Template*, *Stack Name,* and *Parameters* information&#x20;
7. In the *Capabilities* section at the bottom, check the acknowledgment box  and click *Create stack*
8. Once the stack is created, open the *Outputs* tab and locate the following keys under the *Key* section:
   * *ConnectManagementRoleArn*
   * *FulfillmentLambdaARN*
9. Return to your NLX workspace, and enter these values:
   * *Fulfillment Lambda ARN*: The lambda responsible for the interaction between the NLP (Lex) and the NLU
   * *Management Role ARN*: Grants permission to create and update contact flows
10. Click *Create integration*&#x20;

### Next steps

To successfully use your Amazon Connect integration with applications you're ready to deploy, be sure to complete the following:

1. Create or select an existing application in your NLX workspace
2. From your app's [*Configuration* tab](https://docs.nlx.ai/platform/nlx-platform-guide/ai-applications/types/core#configuration), swap the AI engine to Lex and add your Amazon Connect channel created earlier under the Delivery section
3. Create an application [build and deploy](https://docs.nlx.ai/platform/nlx-platform-guide/ai-applications/types/core#deployment)
4. Complete [these steps](https://docs.nlx.ai/platform/nlx-platform-guide/ai-applications/deployment/managing-channels/creating-an-amazon-connect-channel#configuring-amazon-connect-to-use-your-nlx-application) in your Connect console to finalize a one-time setup with your NLX app
