> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usekestrel.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow Integrations Setup

> Connect the integrations your workflows need

Workflows chain actions across multiple integrations. Before using an integration in a workflow, connect it on the **Integrations** page in the Kestrel dashboard. This page links to the setup guide for each supported integration.

<Note>
  You only need to connect an integration once. All workflows in your organization share the same integration connections.
</Note>

<Tip>
  Prefer the terminal? Every integration can also be connected with the [Kestrel CLI](/workflows/cli#integration-commands) (`kestrel integrations connect <name>` — it walks you through setup and prompts for secrets with hidden input) or by an AI coding agent through [MCP](/workflows/mcp).
</Tip>

## Infrastructure

<CardGroup cols={2}>
  <Card title="Kubernetes" icon="dharmachakra" href="/integrations/kubernetes">
    **Triggers:** Deployment Replicas Failing, Pod CrashLoopBackOff, Pod ImagePullBackOff, Pod OOMKilled, Pods Failing, Pods Restarting, StatefulSet Replicas Failing, Node Memory/Disk Pressure, DaemonSet Failing, and more. **Actions:** Trigger K8s RCA & Generate Fix, Apply YAML Fix, Generate K8s Manifest, Apply K8s Manifest, Investigate Kubernetes.
  </Card>

  <Card title="Karpenter" icon="arrows-up-down" href="/integrations/karpenter">
    **Triggers:** Node Provisioning Failed, Node Interrupted, NodePool Limit Reached. **Actions:** List NodePools, Get NodePool Status, List NodeClaims, Scale NodePool Limits, Set Disruption Policy, Apply NodePool, Delete NodeClaim.
  </Card>

  <Card title="AWS" icon="aws" href="/integrations/aws">
    **Triggers:** IAM Security Event, Root Account Activity, S3 Bucket Change, EC2/Lambda/RDS/DynamoDB Issues, VPC/Network Change, CloudWatch Alarm, Cost Anomaly, Budget Threshold, Forecast Overrun, Spend Spike, Idle Resource, and more. **Actions:** Trigger Cloud RCA & Generate Fix, Generate Cloud Resource (Terraform/CloudFormation/CLI), Execute Cloud CLI, Query Cost Explorer, Get Cost Anomalies/Forecast/Budget Status, Rightsizing/Savings Plans/Reservation Recommendations, Find Idle Resources, Cost Remediation (Stop EC2, Delete EBS Volumes, Release EIPs, Delete Snapshots), Investigate Cloud.
  </Card>

  <Card title="OCI" icon="cloud" href="/integrations/oci">
    Connect Oracle Cloud Infrastructure for resource inventory and incident detection.
  </Card>

  <Card title="Terraform Cloud" icon="cubes" href="/integrations/terraform">
    **Triggers (webhook):** Run Created, Run Planning, Run Needs Attention, Run Applying, Run Completed, Run Errored, Drift Detected, Assessment Check Failed. **Actions:** List/Get Workspace, Lock/Unlock/Force-Unlock Workspace, List/Get Run, Create Run (Plan), Create Destroy Run, Apply/Discard/Cancel Run, Wait for Run, Get State Outputs, List Variables, Set Variable, Get Drift Assessment, Investigate Terraform.
  </Card>

  <Card title="Pulumi Cloud" icon="layer-group" href="/integrations/pulumi">
    **Triggers (webhook):** Update Succeeded/Failed, Preview Failed, Destroy Succeeded, Deployment Started/Succeeded/Failed, Drift Detected, Drift Run Failed, Policy Violation, Stack Created/Deleted. **Actions:** List/Get Stack, List/Get Update, Run Deployment (update/preview/refresh/destroy/drift), Get/Wait for/Cancel Deployment, Pause/Resume Deployments, Get Stack Outputs, Get Drift Status, Set/Delete Stack Tag, Investigate Pulumi.
  </Card>
</CardGroup>

## Source Control & CI/CD

<CardGroup cols={2}>
  <Card title="GitHub" icon="github" href="/integrations/github">
    **Actions:** Create Pull Request, Create Issue, Trigger GitHub Action, Wait for GitHub Action Run, Get GitHub Action Status, Read File, Search Code, AI Code Investigation, AI Code Fix, Wait for PR Approval, Wait for PR Merge.
  </Card>

  <Card title="GitLab" icon="gitlab" href="/integrations/gitlab">
    **Actions:** Create Merge Request, Create Issue, Trigger Pipeline, Wait for Pipeline, Get Pipeline Status, Wait for MR Approval, Wait for MR Merge.
  </Card>

  <Card title="ArgoCD" icon="rotate" href="/integrations/argocd">
    **Actions:** Trigger ArgoCD Sync, Wait for ArgoCD Sync, Get ArgoCD App Status.
  </Card>

  <Card title="Jenkins" icon="hammer" href="/integrations/jenkins">
    **Triggers (webhook):** Build Failed, Build Unstable, Build Succeeded, Build Completed, Build Started. **Actions:** Trigger Build, Wait for Build, Get Build Status, Stop Build, Get Console Log, Investigate Jenkins.
  </Card>

  <Card title="CircleCI" icon="circle-dot" href="/integrations/circleci">
    **Triggers (webhook):** Workflow Failed, Workflow Succeeded, Workflow Completed, Job Failed. **Actions:** Trigger Pipeline, Wait for Pipeline, Get Workflow Status, Rerun Workflow, Cancel Workflow, Approve On-Hold Job, Get Job Test Results, Investigate CircleCI.
  </Card>
</CardGroup>

## Notifications & Chat

<CardGroup cols={2}>
  <Card title="Slack" icon="slack" href="/integrations/slack">
    **Triggers:** Create K8s Resource, Edit K8s Resource, General Kubernetes Request, Create AWS Resource, Edit AWS Resource, General Cloud Request, Any /kestrel-workflow Request. **Actions:** Send Message, Update Message, Request Justification.
  </Card>

  <Card title="PagerDuty" icon="pager" href="/integrations/pagerduty">
    **Triggers:** Incident Triggered, Incident Acknowledged, Incident Resolved, Any PagerDuty Incident, High Urgency Incident. **Actions:** Create Alert, Acknowledge Alert, Add Note to Alert, Resolve Alert, Escalate.
  </Card>
</CardGroup>

## Project Management & Documentation

<CardGroup cols={2}>
  <Card title="Jira" icon="jira" href="/integrations/jira">
    **Actions:** Create Ticket, Add Comment, Transition Ticket.
  </Card>

  <Card title="Linear" icon="layer-group" href="/integrations/linear">
    **Actions:** Create Issue, Add Comment, Update Issue, Search Issues.
  </Card>

  <Card title="Confluence" icon="confluence" href="/integrations/confluence">
    **Actions:** Publish RCA, Publish Postmortem, Publish Runbook Entry, Update Page.
  </Card>
</CardGroup>

## Monitoring

<CardGroup cols={2}>
  <Card title="Datadog" icon="chart-area" href="/integrations/datadog">
    **Actions:** Query Metrics, Create Monitor, Send Event, Mute Monitor. Also provides metrics context for AI RCA and copilot investigations.
  </Card>

  <Card title="OpenTelemetry" icon="signal" href="/integrations/opentelemetry">
    Collects traces and metrics for infrastructure observability. Provides metrics context for AI RCA and copilot investigations.
  </Card>
</CardGroup>

## Product Analytics

<CardGroup cols={1}>
  <Card title="PostHog" icon="chart-bar" href="/integrations/posthog">
    **Triggers:** Session Error/Exception, Console Error, Rage Click, Any PostHog Event, Log Error Alert. **Actions:** Get Session Summary, Get Session Recording, Query Events, List Session Recordings, Get Error Issue.
  </Card>
</CardGroup>

## Deployment

<CardGroup cols={2}>
  <Card title="Vercel" icon="triangle" href="/integrations/vercel">
    **Triggers:** Deployment Failed, Deployment Succeeded, Deployment Created, Error Anomaly, Usage Anomaly, Domain Issue, Firewall Attack Detected, Deployment Checks Failed, Production Rollback. **Actions:** Get Deployment, Get Build Logs, Rollback Production, Promote to Production, List Deployments, Investigate Vercel.
  </Card>

  <Card title="Railway" icon="train" href="/integrations/railway">
    **Triggers:** Deployment Failed, Deployment Crashed, Deployment Succeeded, Volume Usage Alert, CPU/RAM Monitor Alert. **Actions:** Get Deployment, Get Deployment Logs, Rollback, Redeploy, Restart, List Deployments, Set Variables, Investigate Railway.
  </Card>

  <Card title="Fly.io" icon="plane" href="/integrations/flyio">
    **Triggers (poll-based):** Machine Crashed, Machine Stopped, Machine Started, App Down. **Actions:** Restart Machine, Start Machine, Stop Machine, Suspend Machine, Cordon Machine, Uncordon Machine, Get Machine, Get Machine Events, List Machines, Set Secrets, Investigate Fly.
  </Card>

  <Card title="Nebius AI Cloud" icon="microchip" href="/integrations/nebius">
    **Triggers (poll-based):** GPU Error, Maintenance Scheduled, Node Not Ready, Instance Stopped. **Actions:** Get Instance, Start Instance, Stop Instance, Restart Instance, Create Instance, Delete Instance, List Instances, List Clusters, List Node Groups, Scale Node Group, Create Node Group, Delete Node Group, Investigate Nebius.
  </Card>

  <Card title="Daytona" icon="cube" href="/integrations/daytona">
    **Triggers (webhook):** Sandbox Created, Sandbox Stopped, Sandbox Error, Sandbox Archived, Sandbox Execution Failed, Snapshot Build Failed, Volume Error. **Actions:** List/Create/Get/Start/Stop/Archive/Delete Sandbox, Run Command, Set Auto-Stop, List/Create/Delete Snapshot, List/Get/Create/Delete Volume, Investigate Daytona.
  </Card>

  <Card title="Supabase" icon="database" href="/integrations/supabase">
    **Triggers (poll-based + webhook):** Project Health Degraded, Backup Failed, Read Replica Unhealthy, Usage/Quota Threshold, Branch Created, Branch Migration Failed (poll-based), Database Row Event (Database Webhook). **Actions:** List/Get Project, Get Project Health, Create/List/Get/Merge/Reset/Delete Branch, List Backups, Create Restore Point, Restore Backup (PITR), Setup/Remove Read Replica, Pause/Restore Project, Get/Update Network Restrictions, List API Keys, Investigate Supabase.
  </Card>

  <Card title="Neon" icon="database" href="/integrations/neon">
    **Triggers (poll-based):** Branch Created, Branch Ready, Operation Failed, Compute Suspended, Compute Active, Usage/Quota Threshold. **Actions:** List/Get Project, List/Get/Create/Delete/Reset Branch, List/Create/Delete Compute Endpoint, Suspend/Start Compute, Set Autoscaling Limits, Rotate Role Credentials, Get Connection URI, Investigate Neon.
  </Card>

  <Card title="PlanetScale" icon="database" href="/integrations/planetscale">
    **Triggers (webhook + poll-based):** Deploy Request Opened/Queued/In Progress/Schema Applied/Errored/Reverted/Closed, Branch Ready, Branch Anomaly, Branch Primary Promoted, Branch Sleeping, Storage Threshold (webhook), Backup Completed/Failed (poll-based). **Actions:** List/Get Database, List/Get/Create/Delete Branch, Promote Branch, Set Safe Migrations, List/Get/Create/Deploy/Revert/Close/Approve Deploy Request, List/Create Backup, List/Create/Delete Branch Password, Investigate PlanetScale.
  </Card>

  <Card title="ClickHouse" icon="database" href="/integrations/clickhouse">
    **Triggers (poll-based):** Service State Changed, Service Idle, Service Scaled, Backup Completed/Failed, Query Error Spike, ClickPipe Failed, Version Changed, Usage/Spend Threshold, Too Many Parts, High Query Concurrency. **Actions:** List/Get/Create/Start/Stop/Delete Service, Update Autoscaling, Update IP Access List, List/Get Backup, Update Backup Configuration, Restore Backup, List API Keys, Get Service Metrics, Get Usage Costs, List/Get/Start/Stop/Resync/Scale ClickPipe, Get/Set/Clear Autoscaling Schedule, Get/Set/Clear Upgrade Window, Get/Update/Reset Setting, Get/Upsert/Delete Query Endpoint, List Members, Remove Member, List Roles, List Activity, Investigate ClickHouse.
  </Card>
</CardGroup>

## Cost Management

AWS Cost features are available through the [AWS integration](/integrations/aws). No separate setup is required — cost management actions are enabled when you connect an AWS account.

* **Insights (read-only):** Query Cost Explorer, Get Cost Anomalies, Get Cost Forecast, Get Budget Status, Get Rightsizing Recommendations, Get Savings Plans Recommendations, Get Reservation Recommendations, Get Commitment Utilization, Compare Cost Periods, Find Idle Resources, Get Compute Optimizer Recommendations, Get Trusted Advisor Cost Checks, AI Cost Analysis
* **Remediation (destructive — place behind an Approval block):** Stop EC2 Instances, Delete Unattached EBS Volumes, Release Elastic IPs, Delete Old Snapshots
* **Cost triggers:** Cost Anomaly Detected, Budget Threshold Exceeded, Forecast Exceeds Budget, Spend Spike Detected, Idle Resource Detected
* **Scheduled workflows:** combine the [Recurring Schedule trigger](/workflows/create-workflows#schedule) with cost actions for periodic reports and cleanup scans

<Note>
  Accounts connected before the cost-optimization release need a CloudFormation stack update to grant the new Cost Explorer, Budgets, Compute Optimizer, and remediation IAM permissions.
</Note>

## Knowledge Sources

During AI-powered steps like RCA and investigation, Kestrel's AI agents search your team's knowledge bases for historical context — past incidents, runbooks, and documentation. Connect knowledge sources on the **Knowledge Sources** page in the dashboard.

<CardGroup cols={2}>
  <Card title="Confluence" icon="confluence" href="/integrations/confluence">
    Runbooks and postmortems
  </Card>

  <Card title="Jira" icon="jira" href="/integrations/jira">
    Past incident tickets
  </Card>

  <Card title="Linear" icon="layer-group" href="/integrations/linear">
    Past issues and bugs
  </Card>

  <Card title="Slack" icon="slack" href="/integrations/slack">
    Historical conversations
  </Card>
</CardGroup>

For details on how knowledge sources enhance AI actions, see [Knowledge Sources](/integrations/knowledge-sources).

***

## Next Steps

* [Create Workflows](/workflows/create-workflows) — Build your first workflow after connecting integrations
* [Custom Integrations](/workflows/custom-integrations) — Connect services not listed here using HTTP actions and webhooks
