Building Your App › Integrations
Claude (Anthropic) Integration
Add Claude AI to your app
What is Claude?
Claude is an AI assistant made by Anthropic. It's great at conversations, writing, analysis, and coding. Many people prefer Claude for its helpful, thoughtful responses.
Perfect for:
- AI chatbots and assistants
- Content writing and editing
- Document analysis
- Coding help
- Question answering
The Easy Way: Emergent Universal Key
Note
Good news! You don't need to create a Claude account. Emergent provides a Universal Key that works with OpenAI, Claude, and Google AI - all in one! TLDR: View our article on the Universal Key to get started.
How to Get It
Click Your Profile
In Emergent, click your profile picture (top right)
Go to Universal Key
Select Universal Key from the menu
View Your Key
Your key is displayed there
Add Credits
Click Add Balance to add credits (starts at $10)
Done!
You're ready to use Claude!
Pricing: Pay only for what you use
- Claude Sonnet: ~$0.003 per 750 words
- Claude Opus: ~$0.015 per 750 words
Step 2: Tell the Agent What You Want
Just describe what you're building!
Example 1: AI Chat Assistant
I want an AI chatbot using Claude.
The bot should:
- Answer questions helpfully
- Remember conversation context
- Be friendly and professional
- Show typing indicator while thinking
Use Emergent Universal Key.
Use Claude Sonnet (good balance of speed and quality).
Please set this up.
Example 2: Content Writer
Build a content writing tool with Claude.
Features:
- User enters a topic
- Choose content type (blog, email, social post)
- Claude generates the content
- User can edit and copy
Use Emergent Universal Key.
Use Claude Opus (best quality).
Please build this.
Example 3: Document Analyzer
I need Claude to analyze documents.
Flow:
1. User uploads a document (PDF or text)
2. User asks questions about it
3. Claude reads and answers based on the document
4. Can have a conversation about the content
Use Emergent Universal Key.
Use Claude Sonnet.
Please set this up.
Tip
That's it - The agent handles all the technical setup.
Choose Your Claude Model
Claude has different models - like different versions:
Not sure? Start with Claude Sonnet - it's the best balance.
Step 3: Test Your AI
After setup:
Click Preview
In Emergent, click Preview
Try It Out
If it's a chat: Send a message
If it's a generator: Enter some text and generate
Wait for Response
Claude will think for a few seconds, then respond
Test Different Things
Try various questions and tasks
Test if conversation memory works
Check Quality
Make sure responses are helpful
Tip: If responses aren't quite right, tell the agent:
Claude's responses are [too long/too short/off-topic].
Can you adjust it to be more [specific/concise/focused]?
Managing Your Credits
Check Your Balance
- Profile → Universal Key
- See remaining credits
- View usage history
Add More Credits
- Click Add Balance
- Choose amount ($10, $25, $50, or custom)
- Complete payment
- Credits added instantly!
Set Up Auto-Recharge (Optional)
- Profile → Universal Key
- Enable Auto-recharge
- Choose amount and trigger point
- Never run out!
Example: Auto-add $20 when balance drops below $5
Common Questions
Claude is great for:
- Thoughtful, nuanced responses
- Document analysis
- Following complex instructions
- Longer conversations
- Ethical and safe responses
GPT is great for:
- Creative writing
- Code generation
- Broader knowledge base
- Faster responses
Best approach: Try both and see which you prefer!
Yes! Tell the agent:
I want Claude to know about my business:
- We sell [products/services]
- Our pricing is [details]
- Common questions are [list]
Train Claude on this information.
Yes! Claude can see images. Tell the agent:
Let users upload images.
Claude should analyze and describe them.
Answer questions about the images.
Very affordable:
Claude Sonnet: ~$0.003 per 750 words
- A conversation (10 messages): ~$0.03
- 1,000 customer questions: ~$6
Claude Haiku: ~$0.00025 per 750 words
- Even cheaper for simple tasks
Something Not Working?
Claude Not Responding
Tell the agent:
Claude isn't responding when I send messages.
Can you check the integration?
Responses Are Wrong
Tell the agent:
Claude is giving incorrect information about [topic].
It should say [correct information] instead.
Can you fix this?
Too Slow
Tell the agent:
Claude takes too long to respond.
Can you:
1. Show a better loading indicator
2. Maybe use faster Haiku model for simple questions
Real Examples
Example 1: Customer Support Bot
Build a customer support chatbot with Claude.
Knowledge to include:
- Product catalog
- Common issues and solutions
- Refund policy
- Contact information
Features:
- Friendly, helpful tone
- Escalate to human if needed
- Remember conversation
- Suggest related articles
Use Emergent Universal Key with Claude Sonnet.
Please build this.
Example 2: Essay Helper
Create an essay writing assistant.
Features:
- User provides topic and outline
- Claude helps expand ideas
- Suggests improvements
- Checks grammar and clarity
- Can generate full drafts
Use Emergent Universal Key with Claude Opus.
Please build this.
Example 3: Code Reviewer
Build a code review tool with Claude.
Features:
- User pastes code
- Claude analyzes it
- Suggests improvements
- Explains issues
- Provides better alternatives
Use Emergent Universal Key with Claude Sonnet.
Please set this up.
Making Your AI Better
Give It Personality
Make Claude sound like:
- A helpful expert
- Professional but friendly
- Patient and encouraging
Add these traits to my AI.
Add Knowledge
Teach Claude about:
- My product features: [details]
- Common customer issues: [list]
- Company policies: [info]
Here's the information: [paste details]
Set Boundaries
Claude should NOT:
- Make promises about pricing
- Give medical/legal advice
- Share personal information
- Discuss competitors
Please add these restrictions.
Alternative: Use Your Own Anthropic Key
If you prefer your own Anthropic account:
Create Account
Go to console.anthropic.com
Add Credits
Add credits to your account
Create API Key
Generate an API key
Tell Agent
Use my Anthropic API key instead of Emergent Universal Key:
sk-ant-xxxxxxxxxxxxx
Quick Checklist
Before going live:
- Tested with various questions
- Responses are helpful and accurate
- Added enough credits
- Set up auto-recharge (optional)
- Tested on mobile
- Claude has right personality/tone
- Taught Claude about your business
Remember
Use Emergent Universal Key - Easiest way
Start with Sonnet - Best balance
Test thoroughly - Try many questions
Monitor credits - Set up auto-recharge
Keep improving - Refine based on feedback
Info
Stuck? Tell the agent: "I need help with Claude integration" and explain what you want to change or fix.
