Integration Library
One-click integrations for popular services and APIs.
Available Integrations
Database & Backend
Supabase
What it does: PostgreSQL database, authentication, storage, real-time subscriptions
Setup:
- Click Extensions → Supabase
- Enter Supabase URL and anon key
- AI generates:
- Database client setup
- Authentication hooks
- Storage utilities
- Real-time subscriptions
Use cases:
- User authentication
- Data storage
- File uploads
- Real-time features
Firebase
What it does: Google's backend platform with database, auth, hosting
Setup:
- Click Extensions → Firebase
- Enter Firebase config
- AI generates:
- Firebase initialization
- Firestore queries
- Auth integration
- Cloud Functions
Use cases:
- Mobile app backend
- Real-time database
- Push notifications
- Analytics
Payments
Stripe
What it does: Payment processing, subscriptions, invoicing
Setup:
- Click Extensions → Stripe
- Enter publishable and secret keys
- AI generates:
- Checkout flow
- Subscription management
- Webhook handlers
- Customer portal
Use cases:
- One-time payments
- Subscription billing
- Invoice generation
- Payment methods
PayPal
What it does: Alternative payment processor
Setup:
- Click Extensions → PayPal
- Enter client ID and secret
- AI generates:
- PayPal button
- Order creation
- Payment capture
- Refund handling
Use cases:
- International payments
- PayPal-preferred customers
- Alternative to Stripe
AI & ML
OpenRouter
What it does: Access to multiple AI models (Claude, GPT-4, Gemini)
Setup:
- Click Extensions → OpenRouter
- Enter API key
- AI generates:
- Model selection
- Chat interface
- Streaming responses
- Error handling
Use cases:
- AI chatbots
- Content generation
- Code assistance
- Translation
OpenAI
What it does: GPT models, DALL-E, Whisper
Setup:
- Click Extensions → OpenAI
- Enter API key
- AI generates:
- Chat completions
- Image generation
- Speech-to-text
- Embeddings
Use cases:
- Custom AI features
- Image generation
- Voice transcription
- Semantic search
Analytics & Monitoring
Google Analytics
What it does: Website analytics and user tracking
Setup:
- Click Extensions → Google Analytics
- Enter measurement ID
- AI generates:
- GA4 initialization
- Event tracking
- Page views
- Custom events
Use cases:
- Traffic analysis
- User behavior
- Conversion tracking
- A/B testing
Sentry
What it does: Error tracking and performance monitoring
Setup:
- Click Extensions → Sentry
- Enter DSN
- AI generates:
- Sentry initialization
- Error boundaries
- Performance monitoring
- User feedback
Use cases:
- Bug tracking
- Performance monitoring
- User feedback
- Release tracking
Advertising
Google AdSense
What it does: Display ads and monetize your app
Setup:
- Click Extensions → AdSense
- Enter publisher ID
- AI generates:
- Ad units
- Responsive ads
- Auto ads
- Ad placement
Use cases:
- Website monetization
- Display advertising
- Revenue generation
Email
Resend
What it does: Transactional email API
Setup:
- Click Extensions → Resend
- Enter API key
- AI generates:
- Email sending
- Templates
- Attachments
- Tracking
Use cases:
- Welcome emails
- Password resets
- Notifications
- Newsletters
SendGrid
What it does: Email delivery platform
Setup:
- Click Extensions → SendGrid
- Enter API key
- AI generates:
- Email client
- Template rendering
- Bulk sending
- Analytics
Use cases:
- Marketing emails
- Transactional emails
- Email campaigns
Storage
AWS S3
What it does: Cloud object storage
Setup:
- Click Extensions → AWS S3
- Enter credentials
- AI generates:
- Upload functionality
- Signed URLs
- Bucket management
- CDN integration
Use cases:
- File storage
- Image hosting
- Video storage
- Backups
Cloudinary
What it does: Image and video management
Setup:
- Click Extensions → Cloudinary
- Enter cloud name and API key
- AI generates:
- Upload widget
- Image transformations
- Video player
- Optimization
Use cases:
- Image uploads
- Automatic optimization
- Responsive images
- Video hosting
Authentication
Auth0
What it does: Authentication and authorization platform
Setup:
- Click Extensions → Auth0
- Enter domain and client ID
- AI generates:
- Login flow
- Social auth
- MFA setup
- User management
Use cases:
- Enterprise SSO
- Social login
- Multi-factor auth
- User management
Clerk
What it does: Complete user management
Setup:
- Click Extensions → Clerk
- Enter publishable key
- AI generates:
- Sign in/up components
- User profile
- Organization management
- Webhooks
Use cases:
- User authentication
- Profile management
- Team features
- B2B SaaS
Communication
Twilio
What it does: SMS, voice, video communication
Setup:
- Click Extensions → Twilio
- Enter account SID and auth token
- AI generates:
- SMS sending
- Phone verification
- Voice calls
- Video chat
Use cases:
- SMS notifications
- Phone verification
- Video calls
- Voice messages
Stream
What it does: Chat and activity feeds
Setup:
- Click Extensions → Stream
- Enter API key and secret
- AI generates:
- Chat interface
- Activity feeds
- Reactions
- Moderation
Use cases:
- In-app chat
- Social feeds
- Comments
- Notifications
Maps & Location
Google Maps
What it does: Maps, geocoding, directions
Setup:
- Click Extensions → Google Maps
- Enter API key
- AI generates:
- Map component
- Markers
- Directions
- Autocomplete
Use cases:
- Store locator
- Delivery tracking
- Location search
- Route planning
Mapbox
What it does: Custom maps and location services
Setup:
- Click Extensions → Mapbox
- Enter access token
- AI generates:
- Custom maps
- Geocoding
- Navigation
- 3D visualization
Use cases:
- Custom map styles
- Location analytics
- Route optimization
- Geofencing
How Integrations Work
1. Select Integration
Browse the Integration Library and select the service you want to add.
2. Configure Credentials
Enter API keys and configuration:
- API keys
- Secret keys
- Project IDs
- Endpoints
3. AI Generates Code
AI automatically generates:
- Client initialization
- API wrappers
- Error handling
- Type definitions
- Example usage
4. Customize
Modify generated code to fit your needs:
- Add custom logic
- Adjust error handling
- Extend functionality
- Add features
Security Best Practices
Environment Variables
Always use environment variables for secrets:
# .env
STRIPE_SECRET_KEY=sk_live_xxx
SUPABASE_SERVICE_ROLE_KEY=xxx
OPENAI_API_KEY=sk-xxx
Never commit secrets to Git!
API Key Permissions
Use minimal permissions:
- Stripe: Restrict to necessary operations
- AWS: Use IAM roles with least privilege
- Supabase: Use anon key for client, service role for server
Rate Limiting
Implement rate limiting:
import rateLimit from 'express-rate-limit';
const limiter = rateLimit({
windowMs: 15 * 60 * 1000, // 15 minutes
max: 100 // limit each IP to 100 requests per windowMs
});
app.use('/api/', limiter);
Testing Integrations
Development Mode
Use test/sandbox credentials:
- Stripe:
sk_test_... - PayPal: Sandbox account
- Twilio: Test credentials
Mock Services
Mock external APIs during development:
const mockStripe = {
checkout: {
sessions: {
create: async () => ({ id: 'mock_session' })
}
}
};
Integration Tests
Test API integrations:
describe('Stripe Integration', () => {
it('creates checkout session', async () => {
const session = await createCheckoutSession({
priceId: 'price_test',
successUrl: 'https://example.com/success'
});
expect(session.id).toBeDefined();
});
});
Troubleshooting
Common Issues
API Key Invalid
- Verify key is correct
- Check key hasn't expired
- Ensure using correct environment (test/live)
CORS Errors
- Add domain to allowed origins
- Check API supports CORS
- Use server-side proxy if needed
Rate Limit Exceeded
- Implement caching
- Add retry logic with backoff
- Upgrade API plan
Custom Integrations
Request New Integration
Don't see your service?
- Go to Integration Library
- Click Request Integration
- Provide:
- Service name
- API documentation URL
- Use case description
- We'll add it in next release
Build Your Own
Create custom integration:
- Click Extensions → Custom
- Enter API details
- Provide example requests
- AI generates integration code
Pricing
Integration Library access:
| Feature | Essentials | Plus | Ultra |
|---|---|---|---|
| Basic integrations | ✅ | ✅ | ✅ |
| Advanced integrations | ❌ | ✅ | ✅ |
| Custom integrations | ❌ | ❌ | ✅ |
| Priority support | ❌ | ✅ | ✅ |
Related Features
- Prompt Library - Pre-built prompts
- Security Library - Security patterns
- Extensions Library - Extension integrations