> For the complete documentation index, see [llms.txt](https://docs.hostedgraphite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostedgraphite.com/add-ons-and-integrations-guide/github.md).

# GitHub

### How to Send GitHub Commit Data to Hosted Graphite

To get GitHub commits flagged in Hosted Graphite follow these instructions:

* **Go to the Addons page, and in the Annotation Add-Ons section click on the GitHub card.**
* **Copy the webhook URL, including your API key.**

<figure><img src="/files/7UirBr9XO4vcY70bVXHt" alt=""><figcaption><p>Copy the webhook URL from the GitHub add-on page</p></figcaption></figure>

* **Browse to your GitHub repo, visit the ‘settings’ section, then ‘webhooks’**
* **Under ‘Webhooks’ click the “Add Webhook” button.**
* **Enter the URL in the box provided**
* **Select ‘application/json’ as the content type, and ‘send me everything’**

<figure><img src="/files/knSjgAxlNvonpA6qWjTI" alt=""><figcaption><p>Enter your webhook URL into the Github New Webhooks page</p></figcaption></figure>

* Hit `Save`

Your GitHub events will now be sent to the webhook URL and saved on your account as [Annotations](/api-guides/annotations-and-events-api.md). Use the following tags to search for the annotations you want to display:

* **Push Event Tags** – ‘github’, ‘push’, \<repo>, \<branch>, \<user>
* **PR Event Tags** – ‘github’, ‘pull-request’, \<action>, \<repo>, \<user>
* **Deploy Event Tags** – ‘github’, ‘deployment’, \<status>, \<repo>, \<user>, \<environment>

<figure><img src="/files/MqTT3U8jz488guvrrCsu" alt=""><figcaption><p>GH Annotations</p></figcaption></figure>
