--- title: Using Amazon Bedrock API Key in LobeChat description: >- Learn how to integrate Amazon Bedrock models into LobeChat for AI-powered conversations. Follow these steps to grant access, obtain API keys, and configure Amazon Bedrock. tags: - Amazon Bedrock - Claude 3.5 sonnect - API keys - Claude 3 Opus - Web UI --- # Using Amazon Bedrock in LobeChat {'Using Amazon Bedrock is a fully managed foundational model API service that allows users to access models from leading AI companies (such as AI21 Labs, Anthropic, Cohere, Meta, Stability AI) and Amazon's own foundational models. This document will guide you on how to use Amazon Bedrock in LobeChat: ### Step 1: Grant Access to Amazon Bedrock Models in AWS - Access and log in to the [AWS Console](https://console.aws.amazon.com/) - Search for `bedrock` and enter the `Amazon Bedrock` service {'Enter - Select `Models access` from the left menu {'Access - Open model access permissions based on your needs {'Open Some models may require additional information from you ### Step 2: Obtain API Access Keys - Continue searching for IAM in the AWS console and enter the IAM service {'Enter - In the `Users` menu, create a new IAM user {'Create - Enter the user name in the pop-up dialog box {'Enter - Add permissions for this user or join an existing user group to ensure access to Amazon Bedrock {'Add - Create an access key for the added user {'Create - Copy and securely store the access key and secret access key, as they will be needed later {'Enter Please securely store the keys as they will only be shown once. If you lose them accidentally, you will need to create a new access key. ### Step 3: Configure Amazon Bedrock in LobeChat - Access the `Settings` interface in LobeChat - Find the setting for `Amazon Bedrock` under `Language Models` and open it {'Enter - Open Amazon Bedrock and enter the obtained access key and secret access key - Choose an Amazon Bedrock model for your assistant to start the conversation {'Select You may incur charges while using the API service, please refer to Amazon Bedrock's pricing policy. You can now engage in conversations using the models provided by Amazon Bedrock in LobeChat.