🔨 In Development — This section is still being developed and may change.
Personal Connectors enable your AI assistants to securely connect with external services, APIs, and data sources. This allows your assistants to access real-time information, perform actions on external platforms, and integrate with your personal workflows.
Personal Connectors are secure, authenticated connections between your Freddy AI assistants and external services. They allow your AI assistants to:
- Access real-time data from external APIs
- Perform actions on connected platforms
- Integrate with your personal tools and services
- Maintain security and privacy through token-based authentication
Set up connectors through the Freddy Hub or API:
# Create a connector configuration
configuration = freddy.personal_connectors.configurations.create(
connector_type="notion",
name="My Notion Workspace",
credentials={"api_key": "your_api_key"},
settings={"workspace_id": "your_workspace_id"}
)Connectors use secure authentication methods:
- API keys and tokens
- OAuth flows
- Personal access tokens
- Custom authentication schemes
Once configured, connectors become available as functions in your assistants:
# Assistant can now call connector functions
assistant = freddy.assistants.create(
name="Connected Assistant",
tools=[
{
"type": "function",
"function": {
"name": "notion_search",
"description": "Search Notion pages",
"parameters": {...}
}
}
]
)- Notion - Access workspaces, pages, and databases
- Google Workspace - Gmail, Google Drive, Calendar
- Microsoft 365 - Outlook, OneDrive, Teams
- Slack - Send messages, access channels
- Discord - Interact with servers and channels
- PostgreSQL - Query databases directly
- MongoDB - Access document collections
- REST APIs - Connect to any REST API
- GraphQL - Query GraphQL endpoints
- GitHub - Access repositories, issues, PRs
- GitLab - Repository and CI/CD integration
- Jira - Project management and ticketing
- Linear - Issue tracking and project management
- Salesforce - CRM data and operations
- HubSpot - Marketing and sales automation
- Stripe - Payment processing and billing
- Shopify - E-commerce platform integration
- End-to-end encryption for all data transmission
- Secure token storage with automatic rotation
- Granular permission controls
- Audit logging for all connector activities
- No permanent storage of your credentials
- Data processed in-memory only
- Configurable data retention policies
- GDPR and SOC 2 compliance
- Freddy API account with personal connectors enabled
- Valid credentials for the services you want to connect
- Understanding of the target service's API
Identify which services you want your assistant to access and ensure you have the necessary permissions and API keys.
Set up connector configurations through the Hub or API:
configurations = freddy.personal_connectors.configurations.list()
for config in configurations.data:
print(f"Connector: {config.name} ({config.connector_type})")Create assistants that use your configured connectors:
assistant = freddy.assistants.create(
name="My Connected Assistant",
instructions="You can access my Notion workspace and Gmail...",
tools=[...] # Connector functions will be available
)- Use environment variables for sensitive credentials
- Rotate API keys regularly
- Use the least-privileged access possible
- Never commit credentials to code repositories
- Cache frequently accessed data when possible
- Use pagination for large datasets
- Implement retry logic for transient failures
- Monitor connector usage and costs
- Implement graceful fallbacks for connector failures
- Provide clear error messages to users
- Log connector activities for debugging
- Handle rate limits and API quotas
Authentication Failures
- Verify API keys are valid and not expired
- Check that the service account has necessary permissions
- Ensure correct authentication method is configured
Connection Timeouts
- Check network connectivity
- Verify service availability
- Implement retry logic with exponential backoff
Permission Errors
- Review and update connector permissions
- Check if the connected account has access to requested resources
- Verify OAuth scopes are correctly configured
- Check connector-specific documentation
- Review API logs in Freddy Hub
- Contact support for connector-specific issues
- Set up Authentication - Configure your first connector
- Usage Guide - Learn how to use connectors in assistants
- Billing Information - Understand costs and usage limits
- API Reference - Complete API documentation
For technical support, contact support@aitronos.com.