Integrations Overview
Erdo integrations connect your AI agents to various data sources including databases, APIs, and file systems. This enables agents to access, analyze, and work with your existing data.How Integrations Work
Integrations provide a standardized way for agents to:- Authenticate with external services
- Discover available data resources
- Access data through a unified interface
- Transform data for AI analysis
Built-in Integrations
Databases
PostgreSQL- Full SQL query support
- Schema discovery
- Relationship mapping
- Complete database access
- Table and view discovery
- Performance optimization
- Document collection access
- Aggregation pipeline support
- Index optimization
- Local database support
- File-based storage
- Lightweight queries
APIs & Services
Salesforce- CRM data access
- Object and field discovery
- Real-time sync capabilities
- Marketing and sales data
- Contact and deal management
- Pipeline analytics
- Payment and subscription data
- Transaction history
- Customer analytics
- Website traffic data
- User behavior analysis
- Conversion tracking
File Systems
Local Files- CSV, JSON, Excel support
- Directory scanning
- File metadata extraction
- Cloud storage access
- Bucket and object discovery
- Secure file handling
- Document access
- Folder structure mapping
- Collaborative file handling
Using Integrations
Setting Up an Integration
- Choose Integration Type Select from available integrations in your dashboard
- Configure Authentication Provide credentials (API keys, OAuth, database connections)
- Test Connection Verify connectivity and permissions
- Discover Resources Let Erdo scan and catalog available data
In Agent Workflows
Use integrations in your agents:Data Access Patterns
Common patterns for accessing integrated data: Direct QueriesAuthentication Methods
OAuth 2.0
For modern APIs requiring secure token-based authentication:API Keys
For services using API key authentication:Database Connections
For direct database access:Data Security
Credential Management
- Credentials are encrypted at rest
- Secure transmission using TLS
- Role-based access controls
- Audit logging for all access
Data Privacy
- Data remains in your environment
- No unnecessary data copying
- Configurable data retention
- GDPR/CCPA compliance support
Network Security
- VPC/private network support
- IP whitelisting capabilities
- Secure tunneling options
- Certificate-based authentication
Best Practices
Performance Optimization
Query Optimization- Use indexed columns in WHERE clauses
- Limit result sets appropriately
- Cache frequently accessed data
- Use connection pooling
- Close connections properly
- Monitor connection limits
- Implement retry logic
- Handle timeouts gracefully
Error Handling
Connection IssuesMonitoring & Maintenance
Health Checks- Regular connection testing
- Performance monitoring
- Error rate tracking
- Usage analytics
- Credential rotation
- Schema change detection
- Performance optimization
- Security updates
Creating Custom Integrations
For data sources not covered by built-in integrations, you can create custom integrations:- Implement Provider Interface Create a provider that implements authentication and data access
- Define Resource Discovery Specify how to discover and catalog available data
- Test Integration Comprehensive testing with real data sources
- Deploy and Register Make available for use in agents
Troubleshooting
Common Issues
Connection Timeouts- Increase timeout values
- Check network connectivity
- Verify firewall settings
- Verify credentials are correct
- Check token expiration
- Confirm required permissions
- Validate query syntax
- Check data permissions
- Verify resource exists
- Optimize queries
- Add appropriate indexes
- Implement caching
- Use connection pooling
Getting Help
- Check integration logs
- Review error messages
- Consult API documentation
- Contact support team