Lex Auto Publishing Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide will help you integrate both your ixHello and Amazon Lex accounts for seamless publishing of your custom apps built on ixHello to the AWS-Lex console
An active AWS-Account
Activate an AWS-Account as this integration will require login with to an AWS-Account. An account can be created at
AWS Accounts Include 12 Months of Free Tier Access
An ixHello Account
For steps to create an ixHello account, use the following steps:
An app in the ixHello account
One app in ixHello should be created and at least one Utterance as well.
Access Key, Secret access key and AWS Region Name To be able to connect to Amazon Lex from the ixHello platform, one IAM user is required, and user should have the required permissions to access Lex service.
Following is a Json document which you can use to create an IAM policy and assign it to the IAM user in the AWS console.
To proceed with these steps all pre-requisites must be satisfied. If something is missing, please return to pre-requisites to ensure all are fulfilled.
Now let’s begin using ixHello platform with Amazon Lambda.
Login to the ixHello platform, use left navigation menu and click “Integration” then select “Connect System”. In the resulting page, click “Add New Connection”.
Choose Connection: Amazon Lex
Click: Next
Once in “Connect System” the configuration screen below will appear. Provide connection information as shown below:
Service Instance Name: You can give any value of your choice
Consumer Key: This information is made available in pre-requisites
Consumer Secret: This information is made available in pre-requisites
Region: This information is made available in pre-requisites
Click: Validate and Save Settings
See below additional information.
The table below explains each of the inputs shown on this screen:
Input
Information
Service Instance Name
You can give any value of your choice.
Consumer Key
This is your AWS-Access key ID
Consumer Secret
This is your AWS-Secret access key
Region
AWS Region Name. The Lex service will be used in this region.
When used to publish the app, it will be published in this region.
Once validation is confirmed the details of integration will be saved. The integrations listing page will be shown as below.
Lex connection is ready to use for future usage.
Return to the left navigation menu, click “Apps” then “Custom Apps”. This page will display a list of the apps already created and provide an option to create a new app.
At this point, there should be an app created, if not create an app and add one or more required methods and utterances.
Creating an app is not part of the scope of this guide, The ixHello platform supports many integrations for the app. Please refer to the specific documentation for the same.
Reference:
In the top menu tabs, select “Publish” then click “Add App Publishing”.
Once in “Add App Publishing” the popup screen will appear.
Input
Explanation
External App Name
This is the name of the app. You can give name of your choice.
App Type
It should be “Search”
Channel
Must be “Amazon Lex”
Channel Sub Type
Lex V2
Auto Publish
Keep it selected
Welcome Message
Should be auto populated.
Re-Prompt Message
Should be auto populated.
Help Message
Should be auto populated.
Goodbye Message
Should be auto populated.
Fall Back Message
Should be auto populated.
Publish to Lex” and this will initiate the publish process. The following results screen will appear as shown below.
The results screen has an option to go to the “Go To LexV2 aPP” or “Go Back to App Publishing”.
Selected App: Contact Finder Rest API (Name of the App to be published in Lex)
Select Amazon Lex Account, If not present then click "Add New Lex Account".
Afer selecting Lex Account, Click “Publish to Lex V2” and this will initiate the publish process. The following results screen will appear as shown below.
The results screen has an option to go to the "Test Lex Bot" or "Go to LexV2 Console" or "Go Back to App Publishing".
On the app publishing results page, a Go To LexV2 Console, will appear as shown.
Click on it, you will be redirected to the newly created Lex bot on the AWS console.
On the Amazon Lex bot page, ensure “Build Completed”. If not completed then the bot will be unable to test. Once in Lex, you should land on this screen.
Make sure it’s displaying the correct app name at the top left and then click “Test” option at the right side and then the test bot screen will appear as shown below.
Start testing by writing utterance in the chat area and lex will connect to the app configured in the ixHello platform. At this time a relevant response will be received.
Congratulations!
You have successfully completed an app publishing to the AWS-Lex console.
For more information on creating IAM users and assigning policies, refer to the AWS official documentation
You can also refer to the simplified ixHello documentation at
If you do not have an app ready, you can refer to to see get detailed information on how to create a custom app.