Integrations
thinnestAI connects to dozens of external services. Integrations provide your agents with real-world capabilities — reading emails, scheduling meetings, querying databases, and interacting with your existing business tools.Integration Types
| Type | Setup | Example |
|---|---|---|
| OAuth | Browser-based authorization flow | Google Workspace (Gmail, Calendar, Sheets) |
| API Key | Paste an API key in settings | Firecrawl, Tavily, OpenWeather |
| Connection String | Database connection URL | PostgreSQL, BigQuery |
| Webhook | Register a webhook URL | CRM webhooks, custom APIs |
Google Workspace (OAuth)
Gmail
Connect Gmail to let your agents read, search, send, and draft emails. Setup:- Go to Settings > Integrations > Google.
- Click Connect Gmail.
- Sign in with your Google account.
- Grant the requested permissions.
- Select which agents can use this connection.
- Read inbox messages
- Search by subject, sender, date
- Send emails
- Create drafts
- Reply to threads
Google Calendar
Connect Google Calendar for appointment scheduling and availability checking. Setup:- Go to Settings > Integrations > Google.
- Click Connect Google Calendar.
- Authorize access to your calendar.
- List upcoming events
- Check availability for time slots
- Create new events
- Update or cancel existing events
- Handle recurring events
Google Sheets
Connect Google Sheets for reading and writing spreadsheet data. Setup:- Go to Settings > Integrations > Google.
- Click Connect Google Sheets.
- Authorize access.
- Read spreadsheet data
- Write rows and cells
- Search across sheets
- Append data to sheets
API Key Integrations
Configure API keys for third-party services in Settings > Integrations.Managing Integration Keys
Supported Services
| Service | Key Name | Description |
|---|---|---|
| Firecrawl | firecrawl | Web scraping with JS rendering |
| Tavily | tavily | AI-optimized web search |
| Exa | exa | Neural search engine |
| Serper | serper | Google Search API |
| JinaReader | jina | URL-to-text conversion |
| Spider | spider | High-performance web crawler |
| Cal.com | calcom | Scheduling platform |
| ElevenLabs | elevenlabs | Text-to-speech |
| Replicate | replicate | AI model inference |
| OpenWeather | openweather | Weather data |
| Google Maps | google_maps | Location and directions |
CRM Integrations
Webhook-Based CRM
Connect any CRM that supports webhooks:Supported CRM Platforms
| Platform | Integration Type | Features |
|---|---|---|
| HubSpot | API Key | Contacts, deals, companies, pipelines |
| Salesforce | OAuth | Full CRM operations |
| ActiveCampaign | API Key | Contacts, campaigns, automations |
| Apollo | API Key | Lead enrichment, contact search |
Communication Integrations
| Platform | Type | Setup |
|---|---|---|
| Slack | Bot Token | Install Slack app, get bot token |
| Discord | Bot Token | Create Discord bot, add to server |
| Telegram | Bot Token | Create bot via @BotFather |
| Microsoft Teams | OAuth | Register Azure AD app |
| Twilio | API Key | Account SID + Auth Token |
SMS Configuration
Multiple SMS providers are supported:Database Integrations
Connect directly to databases for real-time data access:| Database | Connection |
|---|---|
| PostgreSQL | postgresql://user:pass@host:5432/db |
| BigQuery | Google Cloud credentials |
| DuckDB | In-memory or file-based |
Test Database Connection
Webhook Integrations
Create custom integrations using webhooks:Security
- API keys are encrypted at rest using AES encryption
- OAuth tokens are refreshed automatically when they expire
- Connection strings are never exposed in API responses
- Origin restrictions for widget integrations prevent unauthorized access
- Integration keys can be rotated without downtime
Managing Integrations
List All Integrations
Delete an Integration
Best Practices
- Use separate keys for dev and production — Never share API keys across environments.
- Rotate keys regularly — Especially for sensitive integrations like CRMs and payment systems.
- Test connections before deploying — Use the test endpoint to verify database and API connections.
- Limit permissions — When setting up OAuth, grant only the scopes your agent needs.
- Monitor usage — Track which integrations your agents use most in analytics.

