Integrations and Extensions
Connect Logic and Intelligence Lab with third-party tools to enhance your documentation workflow.
Overview
Integrate Logic and Intelligence Lab with your favorite tools to streamline workflows, automate updates, and extend functionality. You can connect to GitHub for version control, use the API for custom applications, set up webhooks for real-time notifications, and export content to other formats.
Explore these integrations to supercharge your documentation process. Start with GitHub for seamless version syncing.
Key Integrations
Use these popular integrations to get started quickly.
GitHub
Sync documentation with your repositories automatically.
API Access
Build custom tools and dashboards with full API support.
Webhooks
Receive instant notifications for documentation changes.
Exports
Generate PDFs, Markdown, or HTML for external use.
GitHub Integration
Connect your GitHub repositories to automatically publish documentation changes.
Setup Steps
Authorize GitHub
In your dashboard at https://dashboard.example.com, navigate to Integrations > GitHub and click "Connect".
Grant permissions for repository access.
Select Repository
Choose the repo containing your MDX files.
Configure Sync
Set sync frequency (e.g., on push) and branch (main).
Changes pushed to GitHub appear live in Logic and Intelligence Lab within <1min.
API Access
Access your documentation programmatically via REST API at https://api.example.com/v1.
Retrieve a specific document by ID.
Use Bearer YOUR_API_KEY.
Example Usage
const response = await fetch('https://api.example.com/v1/docs/123', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const doc = await response.json();
console.log(doc.title);
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.example.com/v1/docs/123
Webhook Setup
Set up webhooks to trigger actions on documentation events like updates or publishes.
Configuration
- Go to Settings > Webhooks in your dashboard.
- Add a new webhook URL:
https://your-webhook-url.com/webhook. - Select events:
doc.updated,doc.published.
Verify Payload
// Example webhook handler
app.post('/webhook', (req, res) => {
console.log('Event:', req.body.event); // e.g., "doc.updated"
console.log('Doc ID:', req.body.data.id);
res.status(200).send('OK');
});
Export Options
Export your documentation in multiple formats.
Download entire site as Markdown files for GitHub Pages or static hosting.
zip -r docs-export.zip /path/to/exported-md/
Generate searchable PDFs with custom branding.
Static HTML bundle for embedding or custom deployment.
Next Steps
API Reference
Dive deeper into full API endpoints and authentication.
Custom Scripts
Build automation scripts with these integrations.
Last updated today