--- title: Using Anthropic Claude API Key in LobeChat description: >- Learn how to integrate Anthropic Claude API in LobeChat to enhance your AI assistant capabilities. Support Claude 3.5 sonnet / Claude 3 Opus / Claude 3 haiku tags: - Anthropic Claude - API Key - AI assistant - Web UI --- # Using Anthropic Claude in LobeChat {'Using The Anthropic Claude API is now available for everyone to use. This document will guide you on how to use [Anthropic Claude](https://www.anthropic.com/api) in LobeChat: ### Step 1: Obtain Anthropic Claude API Key - Create an [Anthropic Claude API](https://www.anthropic.com/api) account. - Get your [API key](https://console.anthropic.com/settings/keys). {'Create The Claude API currently offers $5 of free credits, but it is only available in certain specific countries/regions. You can go to Dashboard > Claim to see if it is applicable to your country/region. - Set up your billing for the API key to work on [https://console.anthropic.com/settings/plans](https://console.anthropic.com/settings/plans) (choose the "Build" plan so you can add credits and only pay for usage). {'Set ### Step 2: Configure Anthropic Claude in LobeChat - Access the `Settings` interface in LobeChat. - Find the setting for `Anthropic Claude` under `Language Models`. {'Enter - Enter the obtained API key. - Choose an Anthropic Claude model for your AI assistant to start the conversation. {'Select During usage, you may need to pay the API service provider. Please refer to Anthropic Claude's relevant pricing policies. You can now engage in conversations using the models provided by Anthropic Claude in LobeChat.