elevenlabs-install-auth
Install and configure ElevenLabs SDK/CLI authentication. Use when setting up a new ElevenLabs integration, configuring API keys, or initializing ElevenLabs in your project. Trigger with phrases like "install elevenlabs", "setup elevenlabs", "elevenlabs auth", "configure elevenlabs API key".
claude-code
Allowed Tools
ReadWriteEditBash(npm:*)Bash(pip:*)Grep
Provided by Plugin
elevenlabs-pack
Claude Code skill pack for ElevenLabs (18 skills)
Installation
This skill is included in the elevenlabs-pack plugin:
/plugin install elevenlabs-pack@claude-code-plugins-plus
Click to copy
Instructions
ElevenLabs Install & Auth
Overview
Set up ElevenLabs SDK/CLI and configure authentication credentials.
Prerequisites
- Node.js 18+ or Python 3.10+
- Package manager (npm, pnpm, or pip)
- ElevenLabs account with API access
- API key from ElevenLabs dashboard
Instructions
Step 1: Install SDK
# Node.js
npm install @elevenlabs/sdk
# Python
pip install elevenlabs
Step 2: Configure Authentication
# Set environment variable
export ELEVENLABS_API_KEY="your-api-key"
# Or create .env file
echo 'ELEVENLABS_API_KEY=your-api-key' >> .env
Step 3: Verify Connection
// Test connection code here
Output
- Installed SDK package in node_modules or site-packages
- Environment variable or .env file with API key
- Successful connection verification output
Error Handling
| Error | Cause | Solution |
|---|---|---|
| Invalid API Key | Incorrect or expired key | Verify key in ElevenLabs dashboard |
| Rate Limited | Exceeded quota | Check quota at https://docs.elevenlabs.com |
| Network Error | Firewall blocking | Ensure outbound HTTPS allowed |
| Module Not Found | Installation failed | Run npm install or pip install again |
Examples
TypeScript Setup
import { ElevenLabsClient } from '@elevenlabs/sdk';
const client = new ElevenLabsClient({
apiKey: process.env.ELEVENLABS_API_KEY,
});
Python Setup
from elevenlabs import ElevenLabsClient
client = ElevenLabsClient(
api_key=os.environ.get('ELEVENLABS_API_KEY')
)
Resources
Next Steps
After successful auth, proceed to elevenlabs-hello-world for your first API call.