

# Step 5: Deploy Your Bot as a Web Application
<a name="agent-step-5"></a>

**To deploy your bot as a web application**

1. Download the repository at [https://github.com/awsdocs/amazon-lex-developer-guide/blob/master/example\$1apps/agent\$1assistance\$1bot/ ](https://github.com/awsdocs/amazon-lex-developer-guide/blob/master/example_apps/agent_assistance_bot/) to your computer.

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

1. Make the following changes.

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

   1. In the` Amazon Lex V2 runtime parameters` section, enter the bot name.

   1. Save the file.