# Configure Webhooks

Configure a global firewall quarantine webhook so Nexus Repository Firewall sends an HTTP notification to your endpoint when a component download is blocked or quarantined.

## Prerequisites

The following prerequisites are necessary for enabling webhooks:

- Nexus Repository Pro with version 3.91.0 or later
- Repository Firewall (IQ Server) enabled and configured
- At least one repository with Firewall enabled and _Quarantine_ enabled. For more details, refer to [Repository Firewall Getting Started](https://help.sonatype.com/en/repository-firewall-getting-started.html "Getting Started with Self-Hosted Repository Firewall") documentation
- An external webhook endpoint
- Administrator access or `nx-capabilities-all` privilege

## Create Webhook Capability

Take the following steps to configure webhooks:

1. Log in to Nexus Repository Manager as an Administrator.
2. Go to _Settings_ → _System_ → _Capabilities_.
3. Select _Create capability_ button.
4. In _Select Type_, choose _Webhook: Global_.
5. In _Event Types,_ select _firewall\_quarantine_.
6. In _URL_, enter the HTTP endpoint that receives webhook requests.

The endpoint can be any HTTP service that receives and processes the webhook payload. See the [Webhook Payload](https://help.sonatype.com/en/webhook-payload.html "Webhook Payload") to understand the JSON payload sent by Firewall and ensure that your receiving endpoint can process it. If the receiving endpoint expects a different request format, use an intermediary service to transform the payload before forwarding it.

7. Optional: In _Secret Key_, enter the token for HMAC payload digest.
8. Select _Save_.

**Note**

If you configure a secret, verify webhook signatures using the raw request body before you process the payload. Sonatype recommends using the secret key.
