Step 5: Deploy Your Bot as a Web Application - Amazon Lex V1

If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead.

 

If you are using Amazon Lex V1, we recommend upgrading your bots to Amazon Lex V2. We are no longer adding new features to V1 and strongly recommend using V2 for all new bots.

Step 5: Deploy Your Bot as a Web Application

To deploy your bot as a web application
  1. Download the repository at https://github.com/awsdocs/amazon-lex-developer-guide/blob/master/example_apps/agent_assistance_bot/ to your computer.

  2. Navigate to the downloaded repository and open the index.html file in an editor.

  3. Make the following changes.

    1. In the AWS.config.credentials section, enter your Region name and your identity pool ID.

    2. In the Amazon Lex runtime parameters section, enter the bot name.

    3. Save the file.