Usage
What It Configures
The setup wizard helps you configure:Twilio Credentials
- Account SID
- Auth Token
- Phone Number (E.164 format)
Google Gemini API
- Gemini API Key for intent analysis
Interactive Flow
What It Creates
.env File
The wizard creates a .env file in your current directory with all credentials:
Updated config.yaml
The wizard also updates your config.yaml file:
- Replaces the placeholder phone number with your actual Twilio number
- Other settings remain unchanged
Behavior
Existing .env File
If .env already exists, the wizard asks:
- y - Overwrites the file with new configuration
- n - Cancels setup, leaving existing file unchanged
Validation
The wizard does NOT validate credentials. After setup:Examples
First-Time Setup
Re-configure After API Key Rotation
Security Notes
- The wizard prompts use
password=Truefor sensitive fields (auth tokens, API keys) - Input is hidden with
********during entry - The generated
.envfile should be in.gitignore
Manual Configuration Alternative
If you prefer manual configuration:-
Copy the example file:
-
Edit with your credentials:
-
Verify configuration:
Troubleshooting
Setup wizard not found
Setup wizard not found
Ensure Agentic AI is installed:
Invalid phone number format
Invalid phone number format
Phone numbers must be in E.164 format:
+[country code][number]Examples:- US:
+15551234567 - UK:
+447911123456 - AU:
+61412345678
API keys not working after setup
API keys not working after setup
Run connection test to verify:If it fails, double-check your credentials at:
- Twilio: console.twilio.com
- Gemini: aistudio.google.com
Config changes not taking effect
Config changes not taking effect
Restart the server or service after changing
.env:Related Commands
- agenticai test-connection - Verify credentials work
- agenticai status - View current configuration
- agenticai server - Start the webhook server
- Environment Variables - All configuration options