> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/ai-sre/ai-sre-for-administrators/set-up-alert-management/webhooks/templates/cicd/github.md).

# GitHub Integration Webhook Template

Configure GitHub integration to receive repository event notifications in Harness AI SRE.

### Overview <a href="#overview" id="overview"></a>

GitHub provides:

* **Repository events:** Push, pull request, and release notifications
* **Deployment events:** Track deployment status and outcomes
* **Issue tracking:** Monitor issue creation and updates
* **Security alerts:** Receive Dependabot and security scanning alerts
* **Workflow events:** GitHub Actions workflow status

***

### Set up GitHub integration <a href="#set-up-github-integration" id="set-up-github-integration"></a>

Complete these steps to connect GitHub to Harness AI SRE:

1. Navigate to **Integrations** in the main menu
2. Click **New Integration**
3. Select **GitHub** from the template options
4. Enter a name and generate an ID
5. Copy the generated webhook URL
6. In your GitHub repository settings, add a webhook pointing to the copied URL
7. Configure payload mapping to match GitHub event fields to Harness AI SRE fields
8. Set up route alerts to route and filter incoming GitHub events

***

### Next steps <a href="#next-steps" id="next-steps"></a>

* [Route alerts](/ai-sre/ai-sre-for-administrators/set-up-alert-management/alert-rules/overview.md): Route GitHub alerts to the right destinations.
* [Ingest alerts overview](/ai-sre/ai-sre-for-administrators/set-up-alert-management/webhooks/templates/overview.md): View other integrations.
