Skip to main content

Overview

The Anthropic BYOK connector lets you use your own Anthropic API key with Workshop. Usage is billed directly to your Anthropic account.
Published apps use your API key. If you publish a Workshop app that uses this connector, visitors make requests using your key. You will be billed by Anthropic for all usage.
Don’t have an API key? Use a Workshop-managed Anthropic connector instead — no API key needed, usage billed to your Workshop credits.

What You’ll Need

CredentialDescriptionFormat
API KeyAnthropic API authentication keysk-ant-...

Getting an API Key

1

Create an Anthropic account

Go to console.anthropic.com and sign up or sign in.
2

Set up billing

Navigate to Settings > Billing, add a payment method, and purchase credits. The minimum purchase is $5, which places you in Tier 1.
3

Generate a key

Go to Settings > API Keys and click Create Key. Give it a descriptive name (e.g., “Workshop Access”). Optionally assign it to a workspace.
4

Copy the key

Copy your API key immediately. Anthropic only shows the key once — if you lose it, you’ll need to generate a new one.

Connecting to Workshop

1

Open the Hub

Open the Workshop Hub from the sidebar.
2

Go to Connectors

Click the Connectors tab.
3

Select Anthropic

Click the Anthropic (your API key) card.
4

Enter details

Enter a Connection Name (e.g., “My Anthropic API”) and paste your API Key.
5

Save

Click Add Connection.
Your Anthropic API is now connected and available across all conversations.

Verifying Your Connection

Ask Workshop:
Use my Anthropic connection to summarize the key points of this text: [paste any text]
If Workshop returns a Claude-generated summary, your connection is working.

Security Best Practices

  • Your API key is stored in Workshop’s encrypted storage — never shared with the AI agent directly
  • Rotate keys periodically in the Anthropic console
  • Use Anthropic workspaces to organize keys by project or environment
  • If you suspect a key is compromised, delete it immediately in the Anthropic console and create a new one, then update your Workshop connection

Troubleshooting

IssueSolution
”Invalid API Key”Re-enter the key from your Anthropic console. Ensure no extra spaces.
”Insufficient credits”Add more credits in Anthropic billing settings.
”Rate limit exceeded”Wait and retry. Check your usage tier in the Anthropic console.

Learn More