Environment Variables
Configure environment variables for Speaking Bots
Speaking Bots requires several API keys and configuration values to function properly. Here's a quick setup guide:
- Copy the example environment file:
cp .env.example .envNever commit your .env file to version control. It contains sensitive API
keys that should be kept private.
- Add your credentials to
.env: You'll need 4 required API keys for core functionality (MeetingBaas, OpenAI, Speech-to-Text, and Text-to-Speech). Additional keys can be added later for optional features.
Core Bot Functionality (Required)
MeetingBaas Configuration
Required for sending meeting bots as personas to various platforms:
MEETING_BAAS_API_KEY=your_meetingbaas_api_key_hereGet your API key by:
- Signing up for MeetingBaas
- Accessing your API key from the MeetingBaas dashboard
OpenAI Configuration
Powers in-meeting AI interactions and persona management:
OPENAI_API_KEY=your_openai_api_key_hereThis key is used both for in-meeting interactions and persona creation functionality.
Speech-to-Text Configuration
Choose one of the following options:
Option 1: Deepgram
DEEPGRAM_API_KEY=your_deepgram_api_key_hereOption 2: Gladia
GLADIA_API_KEY=your_gladia_api_key_hereText-to-Speech Configuration
Required for voice synthesis and persona voices:
CARTESIA_API_KEY=your_cartesia_api_key_here
CARTESIA_VOICE_ID="79a125e8-cd45-4c13-8a67-188112f4dd22"Optional Features
Multiple Bots Support
Required for running multiple bots in local development:
NGROK_AUTHTOKEN=your_ngrok_auth_token_hereFollow our Ngrok Setup Guide to get your auth token.
Persona Creation
Required for AI image generation and storage:
