# GitHub Outbound Issue Integration

With the [GitHub Issue](https://github.com/features/issues) integration, ilert can open or update GitHub issues in response to alerts or incidents. This ensures technical events are visible to developers and tracked within their existing workflows—streamlining communication between ops and engineering.

## In Github: Create an ilert user and create an API token <a href="#github-preparation" id="github-preparation"></a>

1. Optional: Create a dedicated ilert user in Github. This has the advantage that you can distinguish the Github tickets created by ilert.
2. Go to **Profile Settings** --> **Developer settings** --> **Personal access tokens**, and click **Generate new token**.

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-M9_4nTX6QtEvks_kJ3L%2F-M9_6IvXYcSmbNJMMFmL%2Fghoi1.png?alt=media\&token=e617da8c-ed06-422d-a4ca-e576b34d2dbd)

3. Give it a name and select **Repo Scope** for the token

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-M9_4nTX6QtEvks_kJ3L%2F-M9_6LoDY3wb72e7cYAi%2Fghoi2.png?alt=media\&token=fc777494-5e69-49f6-be77-d1337391ba40)

4. Click on **Create**. Keep your API key for later, as it is needed in ilert.

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-M9_4nTX6QtEvks_kJ3L%2F-M9_6OdWsRcAdR3mbi6d%2Fghoi3.png?alt=media\&token=3b752911-cf98-419e-aa89-1ea157dc5d17)

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-M9_4nTX6QtEvks_kJ3L%2F-M9_6R46F4czbyA9huk8%2Fghoi4.png?alt=media\&token=1d87608e-45a4-4cd1-9caa-65bd0bfe18d7)

## In ilert: Create a Github Connector and link to an alert source <a href="#create-alarm-source" id="create-alarm-source"></a>

1. Click on the gear icon → **Connectors**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-da01367fa650f8ebb847143f5c33130440a865e8%2Fgo_to_connectors%20\(7\)%20\(6\).png?alt=media)

2. Click on **Add Connector**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-Ma7z8Vot-JQBt0MIv9d%2F-Ma804ntVaxflQMDB-wV%2Fcreate_connector_button.png?alt=media\&token=b84f0ada-cbec-4282-9987-06f75f9de7e7)

2. Select **Github** as **type** and fill in all fields. Enter a name and the API key from above.

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-M9_4nTX6QtEvks_kJ3L%2F-M9_6hJNSovQLoiNy1sV%2Fghoi7.png?alt=media\&token=0fe4dede-2c75-423e-84fc-f83f5bc05546)

3. **Go to** the alert sources tab and open the alert source whose alerts you want to publish in Github. Click on **Incident actions → Create alert action**.

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-9887e1978c30c61025f427813bcf148b4a9d8282%2Fnew_incident_action%20\(5\).png?alt=media)

4. Select **Github** as the **type** then select the connector created in step 3 and fill in all fields. In the **Owner** and the **Repository** fields specify the owner and repository of the Github project where the ilert alerts should be published as Github Issue.

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-Ma86j9KjA8TV4y0KWd1%2F-Ma88h1Huj9CICu0IKfh%2FiLert.png?alt=media\&token=22f8ec33-f09e-4f48-8ee1-181f7966c1bd)

5. Finished! You can now test the alert action by clicking on the button **Test this connection**. Then a test issue will be published in the respective Github project.

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-Ma86j9KjA8TV4y0KWd1%2F-Ma88uktV9tNpRjmbzHV%2FiLert.png?alt=media\&token=23078f59-4998-46a9-bcd4-54825bbe658a)

## FAQ <a href="#faq" id="faq"></a>

**Are updates to an alert published in the Github Ticket?**

Yes, the state of the ilert Incident is reflected in the title of the Github ticket, eg. \[RESOLVED] Host compute.infra is DOWN.

**Can I choose which updates should be published to an alert in Github?**

Currently not. If you wish we are looking forward to reading your feedback via chat or e-mail.

## Related articles

{% content-ref url="../inbound-integrations/github/inbound-issue" %}
[inbound-issue](https://docs.ilert.com/integrations/inbound-integrations/github/inbound-issue)
{% endcontent-ref %}
