> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.one.store/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Integrating Proof Factor with Webhooks

Here's how to integrate and pass data to Proof Factor with using Webhooks**!**

1.  **Create a campaign**
    *   Create a Campaign at: [https://app.prooffactor.com/campaigns](https://app.prooffactor.com/campaigns)
    *   Enable the notifications you would like to appear on your Store i.e Live User Count and User Activity
2.  **Customize the User Activity Notification** 
    *   Click on _customize_ under the _User Activity_ notification type.
    *   Once you are here you should configure the _messaging_ section of the notification. We recommend using the template option. This gives you the ability to do something like **_User recently bought a {{ product_name }}!_** where _product_name_ is the name of the different products you have inhave. Click the _Done_ button once you are finished.![](https://storage.crisp.chat/users/helpdesk/website/6c4d2e9200d1a800/a4fe4c79-30d9-4471-9264-83a58e_1t8qsjm.png)
3.  **Configure the Capture of notifications**
    *   Click _Custom Webhook -> New Webhook_ and give your _webhook_ an easy to recognize name
    *   Copy the _URL_ from the webhook and then click _Use This Webhook_![](https://storage.crisp.chat/users/helpdesk/website/e6685a5b60b77800/b0d3d7c3-4751-43aa-b40b-9f42d0_7h16qs.png)
4.  **Pass data to the Webhook!**  
    *   Using the unique URL created in your webhook, set up a _POST_ via your API to send the data to our servers  
        ![](https://storage.crisp.chat/users/helpdesk/website/4c94fd971c89b800/9afa965c-8ae8-4501-9234-fc0c53_1r3md5u.png)
    *   ****Important**** The payload type should be _json_ ![](https://storage.crisp.chat/users/helpdesk/website/9332bf42dab0d800/01b91bad-6c48-48db-bf16-9b10b6_phv1gl.png)
    *   The webhook can accept any custom fields along with the following default fields:
        
        ``` { "email" : "", "first_name" : "", "image_url" : "", "city" : "", "state" : "", "country" : "", "ip" : "" }```
        
5.  **Test your Post Call**
    *   Send example data to Proof Factor and we can confirm we've got it (let us know when you do!)
6.  **Configure Plugin Display**
    *   Back to the Campaign configuration and click on _Display_ then click the switch to _custom_. Enter your domain name here i.e _joesstore.com_
7.  **Install the plugin on your Store**
    *   Navigate to [https://app.prooffactor.com/install](https://app.prooffactor.com/install) and copy the install code.
    *   Paste the install code from above right above the ending _</body>_ tag![](https://storage.crisp.chat/users/helpdesk/website/e84104790ab53800/85c626bb-8d89-4b23-9f5b-098b3b_14izumt.png)

* * *

Thanks for the feedback! 🙏🏽

* * *