

支援終止通知：2025 年 9 月 15 日， AWS 將停止對 Amazon Lex V1 的支援。2025 年 9 月 15 日之後，您將無法再存取 Amazon Lex V1 主控台或 Amazon Lex V1 資源。如果您使用的是 Amazon Lex V2，請改參閱 [Amazon Lex V2 指南](https://docs.aws.amazon.com/lexv2/latest/dg/what-is.html)。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 步驟 5：將您的機器人部署為 Web 應用程式


**將機器人部署為 Web 應用程式**

1. 將位於 https：//[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/)的儲存庫下載至您的電腦。

1. 導覽至下載的儲存庫，並在編輯器中開啟 index.html 檔案。

1. 進行下列變更：

   1. 在 `AWS.config.credentials`區段中，輸入您的區域名稱和身分集區 ID。

   1. 在 ` Amazon Lex runtime parameters`區段中，輸入機器人名稱。

   1. 儲存檔案。