# Configure GitHub Webhooks

## Configure Webhooks

GitHub allows webhooks to be configured on the GitHub organization or repository level.

{% hint style="warning" %}
**HackerOne strongly recommends configuring webhooks on the Organization level** so that new Projects your team creates will be immediately provisioned to use the service without interruption.
{% endhint %}

## Applying on the Organization level

From your GitHub organization page, select the **Settings** tab, then select **Hooks** from the sidebar. From here, click **Add Webhook** to create the webhook.

![](https://624363444-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNMKNsDv2KL9GI5L5YY%2F-LtaplzkChyQzvsgbMFJ%2F-LtawV_M5xuhFkLYEXSb%2Fimage.png?alt=media\&token=bfed730a-e13a-4051-a93a-e0e276802ae3)

![](https://624363444-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNMKNsDv2KL9GI5L5YY%2F-LtaplzkChyQzvsgbMFJ%2F-Ltax64AK3o9nudQdPoQ%2Fimage.png?alt=media\&token=b3cc0dc6-2cfe-44cc-aede-519f648da026)

![](https://624363444-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNMKNsDv2KL9GI5L5YY%2F-Ltb47YEEh5ii3SCDJff%2F-Ltb4fo26FqA4JPBV5Ar%2Fimage.png?alt=media\&token=32bd1592-665d-4938-a8ad-cbe32ced2e7c)

![](https://624363444-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNMKNsDv2KL9GI5L5YY%2F-LtaplzkChyQzvsgbMFJ%2F-LtaxG7JioXxHYqd0fH0%2Fimage.png?alt=media\&token=19e3d9fa-bd52-4ae0-98dd-bcef265915f7)

### Webhook Settings

#### **Payload URL**&#x20;

The base URL of your Proxy with the following:

```
/webhooks/github
```

#### **Content Type**

application/json

***OPTIONAL** -* Add a webhook secret. The secret will be used to sign your webhook requests as they are posted to the proxy:

* You will need the same webhook secret for all of your organizations/repositories if you add one.
* This secret must match the `WEBHOOK_SECRET` field when you configured the proxy.

#### SSL verification

* [x] **Enable SSL Verification**

#### **Events**

* **Issue comments**
* **Pull requests**
* **Pull request reviews**
* **Pull request review comments**
* **Pushes**
* **Repositories**

### Test Connection

Click the **Add webhook** button; the webhook should appear in the **Webhooks** section of the previous page. If you click **Edit** on the recently created webhook, there should be a successful delivery under **Recent Deliveries**.

{% hint style="warning" %}
If there was an error, double-check the proxy base is valid and `/webhooks/github` is added as a path.
{% endhint %}

## Applying on the Repository level

To apply on the repository level, perform the same steps as the organization from the repository page.
