Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
# ElevenLabs API Key
# Get your API key from: https://elevenlabs.io/app/settings/api-keys
# ElevenLabs API Keys for E2E Testing
# Get your API keys from: https://elevenlabs.io/app/settings/api-keys

# ⚠️ CRITICAL: Use a DEDICATED EMPTY TEST ACCOUNT
#
# ⚠️ CRITICAL: Use DEDICATED EMPTY TEST ACCOUNTS
#
# DO NOT use your production account or any account with deployed agents!
# E2E tests will create, modify, and DELETE agents during testing.
# Any existing agents in the workspace could be PERMANENTLY LOST.
#
# To set up a test account:
# 1. Create a new ElevenLabs account at https://elevenlabs.io
# 2. Generate an API key for that account
# 3. Use that key below
# 4. Keep this account empty - only for automated testing
# To set up test accounts:
# 1. Create TWO separate new ElevenLabs accounts at https://elevenlabs.io
# 2. Generate an API key for each account
# 3. Add the keys below
# 4. Keep these accounts empty - only for automated testing

# Primary test API key (required for all e2e tests)
ELEVENLABS_API_KEY=your_test_account_api_key_here

# Secondary test API key (optional - only needed for multi-environment e2e tests)
# Multi-environment tests verify the CLI can handle multiple environments (prod, staging, dev, etc.)
# If not provided, multi-environment tests will be skipped
ELEVENLABS_TEST_API_KEY=your_second_test_account_api_key_here

# For local development and testing:
# 1. Copy this file to .env (DO NOT COMMIT .env)
# cp .env.example .env
# 2. Add your TEST account API key to .env
# 3. Verify the test account is empty
# 2. Add your TEST account API keys to .env
# 3. Verify both test accounts are empty
# 4. Run tests: npm run test:e2e

# Note: The .env file is gitignored and will not be committed
Loading
Loading