Integrations
Connect TW with your favorite tools and services. 100+ pre-built integrations available.
Integrations
Seamlessly connect with the tools you already use.
Popular Integrations
Business Tools
- Slack - Get notifications and alerts in your Slack channels
- Microsoft Teams - Collaborate with your team
- Google Workspace - Sync with Google Sheets, Drive, and more
- Salesforce - Connect your CRM data
- HubSpot - Marketing and sales automation
Development Tools
- GitHub - Trigger workflows from code changes
- GitLab - CI/CD integration
- Jira - Track issues and projects
- Linear - Modern issue tracking
- Sentry - Error tracking and monitoring
Data & Analytics
- Google Analytics - Web analytics data
- Segment - Customer data platform
- Mixpanel - Product analytics
- Amplitude - Behavioral analytics
- Tableau - Business intelligence
Integration Categories
| Category | Integrations | Examples | |----------|--------------|----------| | Communication | 15+ | Slack, Teams, Discord | | CRM | 10+ | Salesforce, HubSpot, Pipedrive | | Databases | 20+ | PostgreSQL, MongoDB, MySQL | | Cloud Storage | 8+ | AWS S3, Google Cloud, Dropbox | | Payment | 12+ | Stripe, PayPal, Square |
Setting Up Integrations
import { Integration } from '@tw/sdk';
// Connect to Slack
const slack = await Integration.connect('slack', {
webhook: process.env.SLACK_WEBHOOK_URL,
channel: '#notifications',
username: 'TW Bot'
});
// Send a test message
await slack.sendMessage({
text: 'Integration successful!',
attachments: [{
color: '#36a64f',
title: 'Dataset Updated',
fields: [
{ title: 'Dataset', value: 'customer_data', short: true },
{ title: 'Rows', value: '1,523', short: true }
]
}]
});
Database Integrations
Connect directly to your databases:
// PostgreSQL Integration
const postgres = await Integration.connect('postgresql', {
host: 'localhost',
port: 5432,
database: 'myapp',
user: 'admin',
password: process.env.DB_PASSWORD
});
// Sync data
await postgres.sync({
table: 'users',
mode: 'incremental',
primaryKey: 'id',
updateField: 'updated_at'
});
API Integrations
REST API
All integrations are accessible via our REST API:
# List available integrations
curl https://api.twhelpcenter.com/v1/integrations \
-H "Authorization: Bearer YOUR_API_KEY"
# Enable an integration
curl -X POST https://api.twhelpcenter.com/v1/integrations/slack \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"webhook_url": "https://hooks.slack.com/..."}'
Webhooks
Receive real-time events from TW:
// Set up webhook endpoint
app.post('/webhooks/timesworld', async (req, res) => {
const event = req.body;
switch(event.type) {
case 'dataset.created':
await handleDatasetCreated(event.data);
break;
case 'dataset.updated':
await handleDatasetUpdated(event.data);
break;
case 'policy.violated':
await handlePolicyViolation(event.data);
break;
}
res.status(200).send('OK');
});
OAuth Integrations
Many integrations support OAuth for secure authentication:
- Navigate to Settings > Integrations
- Click "Connect" on the desired integration
- Authorize TW to access your account
- Configure integration settings
Custom Integrations
Build your own integrations using our SDK:
import { CustomIntegration } from '@tw/sdk';
class MyCustomIntegration extends CustomIntegration {
name = 'my-custom-integration';
async setup(config) {
this.apiKey = config.apiKey;
this.baseUrl = config.baseUrl;
}
async syncData(dataset) {
const response = await fetch(`${this.baseUrl}/data`, {
method: 'POST',
headers: { 'Authorization': `Bearer ${this.apiKey}` },
body: JSON.stringify(dataset)
});
return response.json();
}
}
// Register and use
Integration.register(new MyCustomIntegration());
Integration Marketplace
Browse our marketplace for community-built integrations:
- 100+ verified integrations
- Community ratings and reviews
- Easy one-click installation
- Regular updates and maintenance
Enterprise Integrations
Enterprise customers get access to:
- Custom integration development
- Dedicated integration support
- Private integrations
- On-premise connector agents
- Advanced security features
Troubleshooting
Common integration issues and solutions:
Connection Failed
- Verify credentials
- Check firewall settings
- Ensure API endpoints are accessible
Rate Limits
- Implement backoff strategies
- Upgrade to higher tier
- Use webhook instead of polling
Learn More
- View API Documentation for integration details
- Check Tutorials for step-by-step guides
- Visit Community Forum for integration tips