Composio Integration Guide
Step-by-step guide to integrate Composio as an authentication provider for Airweave
Overview
Composio enables Airweave to access credentials from from integrated applications. When your users connect their accounts through Composio, Airweave can automatically retrieve those credentials for data synchronization.
Prerequisites
- A Composio account with API access
- Connected user accounts in Composio for the sources you want to sync
- Your Composio API key
Setup Guide
Step 1: Get Your Composio API Key
- Log in to your Composio dashboard
- Navigate to the API Keys page
- Copy your API key
Step 2: Connect Composio to Airweave
- Go to Airweave Auth Providers
- Click “Connect” next to Composio
- Enter your API key
- Provide a readable name for this connection
- Click “Save”
Step 3: Find Your Connection Details
To create source connections, you’ll need two identifiers from Composio:
- auth_config_id: Navigate to your Auth Configs page
- account_id: Click on an auth config to see its connected accounts
Tip: In Composio, one auth config can have multiple connected accounts, allowing you to manage different user connections under the same integration.
Step 4: Create Source Connections
Now you can create source connections that automatically retrieve credentials from Composio:
How It Works
Field Mappings
Some sources use different field names between Airweave and Composio:
These mappings are handled automatically by Airweave.
Troubleshooting
”No matching connection found”
- Verify the auth_config_id and account_id are correct
- Ensure the account is connected in Composio
- Check that the integration type matches (e.g., google_drive vs googledrive)
“Missing required auth fields”
- The source may require additional fields not available in Composio
- Check the field mappings section above
- Contact support if a mapping is missing
”Authentication failed”
- Verify your Composio API key is valid
- Check if the user’s connection in Composio is still active
- Ensure the connected account has the necessary permissions