> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.syncspider.com/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).

# How to Integrate Prefinery - Help Center - SyncSpider

## TABLE OF CONTENTS

* [Description](#Description)
* [Entities](#Entities)
* [Steps](#Steps)
* [Step 1.](#Step-1.)
* [Step 2.](#Step-2.)
* [Step 3.](#Step-3.)
* [Step 4.](#Step-4.)

---
## Description

Create a viral waitlist for your product launch that rewards people for referring friends. Or, build a refer-a-friend program directly into your SaaS product to supercharge growth. Everything is customizable for your brand and there are no limiting templates.

---

---
## Entities
| Source | Target |
| --- | --- |
| Send User | NONE |

---
---
## Steps
### Step 1.

Either while **Creating a Task** or in the Integrations menu.

Enter the name of the integration in the search bar.

![Selecting the Prefinery integration](https://storage.crisp.chat/users/helpdesk/website/-/b/f/1/7/bf17cba717802800/6fb71650-895f-499e-bfb4-55f81d_1ey3xf.png)

### Step 2.

Enter the Name of the Integration.

You can optionally also enter a description.

![Naming the Integration](https://storage.crisp.chat/users/helpdesk/website/-/d/6/3/5/d6354f0fe589a00/8fdd3cb7-b2af-4193-87a9-74b79d_ur9qab.png)

### Step 3.

You will be prompted for the **Webhook.**

****

![Generating the Webhook URL](https://storage.crisp.chat/users/helpdesk/website/-/7/4/e/3/74e30fc512e44800/97f52805-4afd-4408-9127-688cb0_snrrzm.png)

### Step 4.

After selecting **Prefinery**, enter the integration **name** and **description (optional)** then click on the **Next** button.

Check the box for _Capture Webhook Response_ and click the clipboard icon to copy the _Webhook URL._

![Obtaining the Webhook URL](https://storage.crisp.chat/users/helpdesk/website/-/2/2/2/a/222a473d657e4c00/62d2042a-2a43-4a94-b879-afc58c_k3srvu.png)

In a new tab or window login to your Prefinery account and select the **_Integrations_** section and then **_Webhooks_**.

![Navigating to the Integrations > Webhook panel inside Prefinery](https://storage.crisp.chat/users/helpdesk/website/-/e/3/7/d/e37dbf77a79d3800/7b021678-1230-4ec6-b5b2-84b9d8_plt9si.jpg)

Click on the **Add a URL** button in the upper-right corner.

![Adding the URL](https://storage.crisp.chat/users/helpdesk/website/-/8/6/7/a/867a1f0bd864b000/87284ddd-0bce-400d-905b-15a151_1htqhaf.png)

In the **Add a Webhook URL** modal that appears, paste in your **Webhook URL** and in the **Events** dropdown select the event that you'd like to get notified about and get Prefinery to POST data to SyncSpider. Click on the **Add** button to complete this step.

![Configuring the Webhook](https://storage.crisp.chat/users/helpdesk/website/-/1/b/e/f/1bef22523c7db300/a32e54c1-da05-48fe-aa89-d6ca19_piubj9.png)

Clicking on the **Test** button and make sure your response code is `HTTP 200` (as opposed to all 3xx/4xx/5xx failure codes. _Note:_ SyncSpider page has to be open as a runtime error will emerge if the response is not received within 15 seconds).

This will send a response to your SyncSpider integration setup.

From here you can see the exact format of the data. Here is a sample array:

```
{ "id": 123, "type": "tester_created", "data": { "id":1259, "project_id":1, "email":"[[email protected]](/cdn-cgi/l/email-protection)", "status":"applied", "imported_at":null, "applied_at":"2012-09-06T23:29:20Z", "created_at":"2012-09-06T23:29:20Z", "updated_at":"2012-09-06T23:29:20Z", "invited_at":null, "joined_at":null, "invitation_code":"", "share_clicks_count":0, "share_signups_count":0, "share_link":"http://l.aunch.us/FaKElInK", "referred_by":null, "game_code":null, "friend_invitations_count":0, "friend_invitations_remaining":5, "profile":{ "first_name":"Bruce", "last_name":"Wayne", "gender":"Male", "age":"39", "employer":"Wayne Enterprises", "jobtitle":"CEO", "telephone":"300-555-0169", "ip":"64.71.141.151", "address_line1":null, "address_line2":null, "city":"Gotham", "state":"NJ", "postal_code":"07470", "country":"United States", "facebook_username":null, "linkedin_username":"brucewayne", "twitter_username":"bruce", "http_referrer": "https://www.google.com", "utm_source": "Google", "utm_medium": "cpc", "utm_campaign": "charity_benefit", "utm_term": "bruce+wayne+charity+benefit", "utm_content": "banner" } }, "created_at": 1346878649 }
```

Once you see the response select **Finish/Save.**

If you would like to set up more than one trigger action, please repeat Steps 3-8 for every required trigger.

---
---

**Prefinery** is just one of the tools we support!

To check the list of the tools and features we support please click [here](https://syncspider.com/integrations/)!

If you don't see your favorite tool on our list, please take the time and send us the request [here](https://roadmap.syncspider.com/boards/integrations?sort=cached_votes_up) to create an integration for you or UP-vote if it's already on the list :)

We develop integrations based on the requests and up-votes :)

We hope that this covers everything. If you have any further questions or need additional clarification please reach out to us via [[email protected]](/cdn-cgi/l/email-protection#14676164647b666054676d7a7767647d7071663a777b79) or our chat widget!