For AI agents: the complete documentation index is at llms.txt. Remove the trailing slash from a page URL and append .md to read its Markdown version. For the docs home, use index.md.

Anthropic Integration

The Anthropic Integration allows your app to use Anthropic’s Claude models for tasks such as text generation, summarization, reasoning, and other advanced AI capabilities. Once connected, you can call Claude directly from your workflows, UI actions, or automated triggers.

Step 1: Obtain an Anthropic API Key

  1. Go to the Claude Console and log in or create an account.
  2. Open the API keys page.
  3. Click Create key, give it a descriptive name (e.g., “AI Builder”), and select an expiration.
  4. Copy the generated key.
    • Example: sk-ant-api03-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Step 2: Configure the Integration in Your App

  1. In Reflex Build, open the Integrations tab and select the Anthropic card.
  2. Click Add connection and paste your API key into ANTHROPIC_API_KEY.
  3. Click Connect to save the connection.

Leave ANTHROPIC_BASE_URL at its default (https://api.anthropic.com) unless you send requests through a proxy or gateway.

Once connected, your app can use Claude for AI-powered features across workflows and components.

Step 3: Notes

  • Keep your key secure: Do not hardcode your Anthropic API key in public code repositories.
  • Use environment-specific keys: Separate dev, staging, and production keys help manage access and security.
  • Secure API access: The key allows your app to interact with Anthropic endpoints securely and efficiently.