logo
AdvancedIntegrations
Advanced

Integrations and Connections

Learn how to connect ALGONETIC with third-party tools to enhance your documentation workflow.

Overview

Connect ALGONETIC to your favorite tools to automate workflows, sync content, and extend functionality. Use webhooks for real-time updates, APIs for custom integrations, and native connectors for popular services. Follow these guides to set up secure connections that fit your project needs.

Review available integrations and choose the method that matches your workflow. Start with webhooks for simple automation or APIs for advanced customizations.

ALGONETIC supports seamless connections with common tools. Use these to sync documentation, trigger builds, or notify teams.

Setting Up Webhooks

Webhooks enable real-time automation. Configure them to notify external services on events like document updates.

Create Webhook

Navigate to Settings > Webhooks in your ALGONETIC dashboard.

Enter your target URL, such as https://your-webhook-url.com/webhook.

Select Events

Choose events like document.updated or page.published.

Test Connection

Send a test payload to verify delivery.

Here is a sample webhook payload:

{
  "event": "document.updated",
  "data": {
    "id": "doc_123",
    "title": "API Reference",
    "url": "https://docs.example.com/api"
  },
  "timestamp": "2024-10-15T10:30:00Z"
}

API Access for Custom Connections

Build custom integrations using ALGONETIC's REST API at https://api.example.com/v1.

header
Authorizationstring
Required

Bearer {YOUR_API_KEY}.

query
project_idstring

Filter by project identifier.

Fetch documents with authentication.

const response = await fetch('https://api.example.com/v1/documents', {
  headers: {
    'Authorization': `Bearer ${YOUR_API_KEY}`,
    'Content-Type': 'application/json'
  }
});
const docs = await response.json();
console.log(docs);

Syncing with Version Control

Integrate ALGONETIC with Git providers to keep docs in sync with code.

# GitHub Actions workflow
name: Sync Docs
on: push
jobs:
  sync:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Deploy to ALGONETIC
        run: curl -X POST https://api.example.com/v1/deploy \
          -H "Authorization: Bearer ${ALGONETIC_TOKEN}" \
          -d '{"repo": "my-repo"}'

Best Practices for Secure Integrations

Follow these guidelines to maintain security.

Never expose {YOUR_API_KEY} in client-side code or public repositories. Use environment variables.

For more, see the quickstart or authentication guides.