Port: 9004
Technology: Go + Gin Framework
Language: Go 1.25+
Primary Database: PostgreSQL (integration_db)
Purpose
The Integration API handles:- LLM provider integration (OpenAI, Anthropic, etc.)
- STT provider integration (Google, Deepgram, etc.)
- TTS provider integration (ElevenLabs, Azure, etc.)
- Credential encryption and secure storage
- Provider health monitoring
- OAuth 2.0 authentication flows
- Provider model listing and validation
- API rate limiting and cost tracking
Key Features
Provider Management
- 20+ pre-configured providers
- Custom provider support
- Provider-specific configuration
- Model listing and caching
- Provider health monitoring
Credential Security
- AES-256-GCM encryption
- Secure key management
- Per-credential encryption
- Audit logging of access
- Credential rotation support
OAuth Integration
- Multiple OAuth providers (Google, GitHub, Slack, etc.)
- Token refresh handling
- Scope management
- Secure token storage
- Revocation support
API Validation
- Test API credentials before storage
- Provider-specific validation
- Rate limit tracking
- Cost estimation
- Usage monitoring
Configuration
Environment Variables
Source Code Structure
Credential Test Fails
- Verify API key is correct
- Check provider status page
- Verify API key has required permissions
- Check rate limiting hasn’t kicked in