Amazon Bedrock Chat with History > Using the Amazon Bedrock Chat with History recipe > Step 2. Configure and publish the FileConnectionChatHistory connection
  

Step 2. Configure and publish the FileConnectionChatHistory connection

Configure the file directory and specify the action to be taken if a file already exists, and then publish the FileConnectionChatHistory connection.
  1. 1Open the FileConnectionChatHistory connection.
  2. 2From the Type list, select File.
  3. 3From the Run On list, select the Secure Agent.
  4. 4On the Event Targets tab, in the Directory field, enter the directory to store the files. In the File Exists field, select Append.
  5. 5Save and publish the connection.