Installation
Install the Composio TypeScript SDK using your preferred package manager:Requirements
- Node.js: Version 16 or higher
- TypeScript: Version 4.5 or higher (optional, but recommended)
Environment Setup
1
Get your API key
Sign up at composio.dev and obtain your API key from the dashboard.
2
Configure environment variables
Create a
.env file in your project root and add your API key:3
Initialize the SDK
Import and initialize the Composio SDK in your application:
Verification
Verify your installation by running a simple test:Provider-Specific Packages
Depending on your AI framework, you may want to install a provider-specific package:Quick Start Example
Here’s a complete example using OpenAI Agents:1
Install dependencies
2
Create your agent
Next Steps
- Learn about authentication for connecting external services
- Explore available tools and toolkits
- Build your first AI agent
- Check out TypeScript examples