'API Gateway endpoint needed when setting up Amazon connect integration in aws-lex-web-ui

I am trying to add Amazon Connect integration to an existing lex-web-ui instance running in a React app. The bot has not been created using the CloudFormation deployment template provided in the aws-lex-web-ui repo, and I am instead using one that has been manually created. Same goes for cognito and connect instances.

The Amazon Connect configuration for this requires apiGatewayEndpoint (provisioned by CF template) - however, due to the above, this is not present in my current config. What exactly is this gateway endpoint, what is its purpose and what does it connect to? It looks like it's absolutely needed for the config otherwise it throws a refusal error.

I've configured the connect instance and contact flow ID, the last piece missing is this API GW url.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source