Skip to main content
You can connect a new source in about two minutes from the Causeloop UI. For automation or CI/CD pipelines, the same flow is available via the API.

Connect via the UI

1

Open the Integrations page

Go to Settings → Integrations in the sidebar, or navigate directly to https://app.causeloop.ai/integrations. You’ll see the connector catalog grouped by category.
2

Choose a connector

Click the connector you want to add. The detail panel shows what the connector ingests, what permissions it needs, and whether it uses OAuth or an API key.
3

Name your connection

Give the connector an optional display name (e.g. “Production PagerDuty”). This is how it appears in sync logs and webhook filters.
4

Authenticate

OAuth connectors — click Authorize. Causeloop opens the provider’s login page in a new window. Sign in and grant the requested scopes. You’re redirected back to Causeloop when complete.API key connectors — paste your API key (or service account token) into the credentials field and click Save.
5

Test the connection

Causeloop automatically tests the connection after saving. A green checkmark means the credentials are valid and the connector can reach the provider. If the test fails, double-check the credentials and retry.
6

Configure the sync schedule (optional)

By default, connectors sync every 30 minutes. Open the Schedule tab to change the frequency or set a custom cron expression. You can also trigger an immediate sync or a historical backfill from this panel.
7

Start syncing

The connector is now active. Causeloop starts an initial backfill (configurable window) and then switches to your chosen schedule. You’ll see sync runs appear in the Sync History tab within a few minutes.

Connect via the API

1. Look up the connector type

Note the type and oauth fields in the response — they determine your next step.

2. Create the connector record

The response includes the connector id (e.g. con_01hx4k2m9p). Save it — you’ll need it for the next step.

3a. OAuth connectors — start the authorization flow

Response:
Redirect the user’s browser to authorize_url. The state token expires in 10 minutes — the user must complete authorization within that window.

3b. Handle the OAuth callback

After the user grants access, the provider redirects to:
Causeloop handles the callback automatically — it exchanges the authorization code for tokens, stores them encrypted, and marks the connector connected. You don’t need to call this endpoint yourself.
When building your own OAuth UX, configure your provider app’s Redirect URI to https://api.causeloop.ai/v1/connectors/oauth/callback. This is the only URI the callback endpoint accepts.

3c. API key connectors — supply credentials directly

4. Test the connection

A 200 response with "success": true confirms the connector can reach the provider. The response also includes latency_ms — a real, measured round-trip time for the test call, not an estimate.

5. Trigger a sync

Returns 202 Accepted with a sync_run_id. Poll GET /v1/connectors/{id}/sync-runs/{run_id} to track progress.

OAuth flow in detail

For OAuth connectors, Causeloop implements a standard 3-leg authorization code flow:
Tokens are stored encrypted. Causeloop refreshes the access token automatically before each sync — you never need to handle token refresh.

Managing schedule and backfill

Set a custom sync schedule

Run a historical backfill

Connector status reference

Subscribe to connector.sync.failed events via an outbound webhook to get notified immediately when a connector goes into an error state.