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

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.