Back to Lobehub

Using the Anthropic Claude API Key in LobeHub

docs/usage/providers/anthropic.mdx

2.1.562.0 KB
Original Source

Using Anthropic Claude in LobeHub

<Image alt={'Using Anthropic Claude in LobeHub'} cover src={'/blog/assets17870709/620b956b-dcb2-442a-8bb1-9aa22681dfa4.webp'} />

The Anthropic Claude API is now publicly available. This guide will walk you through how to use Anthropic Claude in LobeHub:

<Steps> ### Step 1: Get Your Anthropic Claude API Key

<Image alt={'Create API Key'} inStep src={'/blog/assets17870709/15e09e71-5899-4805-9c5e-1f7c57be04ae.webp'} />

<Callout type={'warning'}> Claude API currently offers $5 in free credits. However, this is only available in select countries/regions. You can check your eligibility by visiting Dashboard > Claim. </Callout>

<Image alt={'Set up your billing'} inStep src={'/blog/assets17870709/385f663f-cae2-4383-9bb0-52c45e5d7d7a.webp'} />

Step 2: Configure Anthropic Claude in LobeHub

  • Open the Settings panel in LobeHub
  • Under AI Providers, locate the Anthropic Claude configuration section

<Image alt={'Enter API Key'} inStep src={'/blog/assets17870709/ff9c3eb8-412b-4275-80be-177ae7b7acbc.webp'} />

  • Paste your API key into the input field
  • Choose one of the available Anthropic Claude models for your AI assistant to start chatting

<Image alt={'Select Anthropic Claude model and start chatting'} inStep src={'/blog/assets17870709/6cdc5c0e-0508-44ed-a283-03f6b538ed8a.webp'} />

<Callout type={'warning'}> You may incur charges from the API provider during usage. Please refer to Anthropic Claude’s pricing policy for more details. </Callout> </Steps>

That's it! You’re now ready to use Anthropic Claude models in LobeHub for conversations.