# Zapier -> Linear

### How the connection HackenProof -> Zapier Webhook works <a href="#h_b316c566a9" id="h_b316c566a9"></a>

This guide explains how our [Zapier](https://zapier.com/) WebHook can help companies with notifications when they run a bounty program at HackenProof.

<mark style="background-color:purple;">Please note! It's Zapier Webhook integration, not Zappier App</mark>

As you know, HackenProof uses a ticket-based system that has [different stages of reports](https://docs.hackenproof.com/bug-bounty/reports-basics) processing.

Once you connect your bug bounty program to your [Zapier account](https://zapier.com/), the Zapier will send notifications about the following:

* **New reports** (that include the Program name, Report title, Report severity, Report URL etc.)

### Step 1. Generate your ZapierHook URL <a href="#h_22fa840395" id="h_22fa840395"></a>

* Navigate to your Zapier dashboard
* Create a new Zap

<figure><img src="https://downloads.intercomcdn.com/i/o/751784523/ccf20a10036684556690ed66/image.png" alt=""><figcaption><p>Zapier</p></figcaption></figure>

* Choose Trigger: Webhooks by Zapier

<figure><img src="https://downloads.intercomcdn.com/i/o/751793272/0ef06d556739555b086b7d35/image.png" alt=""><figcaption></figcaption></figure>

* Choose the Event type: **Catch Hook**

<figure><img src="https://downloads.intercomcdn.com/i/o/751794381/4ef293a7c381b3e8a1653df2/image.png" alt=""><figcaption></figcaption></figure>

* Press the **Continue** button:

<figure><img src="https://downloads.intercomcdn.com/i/o/751799008/e4c2ae64adffb7fb0f89d0b3/image.png" alt=""><figcaption></figcaption></figure>

* Pick off a Child Key and press the **Continue** button. **You can name Child Key as you wish**.

<figure><img src="https://downloads.intercomcdn.com/i/o/751802890/b6257081496897d31487df1f/image.png" alt=""><figcaption></figcaption></figure>

* Copy the ZapierHook URL:

<figure><img src="https://downloads.intercomcdn.com/i/o/751804476/3fe5bac5a62127f8b231c9e5/image.png" alt=""><figcaption></figcaption></figure>

### Step 2. Add the copied ZapierHook URL to HackenProof: <a href="#h_54d1d86b75" id="h_54d1d86b75"></a>

* Navigate to your Program integration section and choose Zapier:

* Paste your copied ZapierHook URL and **press the Connect button.**

<figure><img src="https://downloads.intercomcdn.com/i/o/751808706/4af7a8b9e911498009b08ffb/image.png" alt=""><figcaption></figcaption></figure>

* Press the **Test WebHook** button to test the connection (it will send the latest report' data to Zapier)

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2Fswku1QCXA0JiGUB38Z5p%2Fimage.png?alt=media&#x26;token=9f8f46f3-ed71-4e2a-8346-d569359d4fcb" alt=""><figcaption></figcaption></figure>

* Back to your Zapier and press Test Trigger:

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2Fp4BLstfMJNvR4yDPqoyG%2Fimage.png?alt=media&#x26;token=ecdf6225-60fe-484e-b2bb-9c6380f3df82" alt="" width="375"><figcaption></figcaption></figure>

* As a result, you will see a data record. Press **Continue with the selected record.**

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2Fup4OR2JW0n2cerXgXEBQ%2Fimage.png?alt=media&#x26;token=9062a04f-d181-4600-a182-23d6726b67e6" alt="" width="375"><figcaption></figcaption></figure>

### Step 3. Connect your Linear App <a href="#h_3f51fe2960" id="h_3f51fe2960"></a>

* In this guide, we are going to use [Linear App](https://linear.app/). Before starting working with Linear, you need to connect your Linear account in the Zapier App: Navigate to your Zapier Account and make sure you have the necessary connected app&#x20;

  <figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2FV80u399qEBGGh0WLFisb%2Fimage.png?alt=media&#x26;token=86b26000-054b-450d-92aa-4443035f0aa2" alt=""><figcaption></figcaption></figure>
* Now navigate to your ZAP to continue creating it:

<figure><img src="https://downloads.intercomcdn.com/i/o/751895122/52d988ac01968226711fac70/image.png" alt=""><figcaption></figcaption></figure>

* Find and add Linear App.

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2FkcL9cZvvGkmNne01jcmf%2Fimage.png?alt=media&#x26;token=42158f3d-d06f-4c65-b697-7deffce6bb5f" alt=""><figcaption></figcaption></figure>

* Chose the event type **Create Task (or other event)** and press the **Continue** button

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2FNOY8CzYDUS7OLRzUCA4U%2Fimage.png?alt=media&#x26;token=7ef84d26-3ee9-4445-b87c-d26db391b68a" alt="" width="375"><figcaption></figcaption></figure>

* **Action**. Now specify, please, data about your Linear project (the data in the screenshot is just an example). &#x20;
* In the Title and Description fields, you can add pre-description as shown on the screenshot:
  * Report Title
  * Program name:
  * Report ID:
  * Report URL:
  * Report Severity:
  * Report Status:
  * Report Target Type

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2FcFqlrr7uqy8erP8i9aY6%2Fimage.png?alt=media&#x26;token=292b96e8-2039-4ca4-bf97-9530e5f6e47f" alt="" width="375"><figcaption></figcaption></figure>

* Specify data in other required and optional fields, and press the **Continue** button.&#x20;
* Now you can Test the Zap:

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2FtxFWaiCTg4Li1wo55o1s%2Fimage.png?alt=media&#x26;token=aa263d1e-4a11-4dd2-9079-188f144488c0" alt="" width="375"><figcaption></figcaption></figure>

* If everything works for you, Publish the ZAP

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2FwBbEqWBfovwvsBeu64Ni%2Fimage.png?alt=media&#x26;token=00cd6706-6a9d-46fa-891c-e38596478647" alt="" width="375"><figcaption></figcaption></figure>

* Check your Linear project:

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2FX2Ayrkys4oy7iN8p1uIF%2Fimage.png?alt=media&#x26;token=00250055-2673-4fcd-a201-13b309cda461" alt=""><figcaption></figcaption></figure>

* If you open any issue ticket you can see the requested data:&#x20;

<figure><img src="https://2686245090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faou7mxABOvrk0uZ81vUx%2Fuploads%2FfsLPWjOQ4U7JRdGF9KTz%2Fimage.png?alt=media&#x26;token=cb6f7583-6981-4962-bbdc-acbe4f1a908e" alt=""><figcaption></figcaption></figure>
