> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://knowledgebase.xtenav.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 Configure HubSpot Webhook Integration with XTEN-AV?

**Overview**

This guide explains how to connect your HubSpot account with XTEN-AV and configure webhooks for real-time synchronization of CRM data, including Deals, Companies (Accounts), and Contacts.

**Step 1: Connect HubSpot Account to XTEN-AV**

* Log in to your XTEN-AV account.
* Navigate to **Integrations → HubSpot.**
* Click on **Connect HubSpot Account.**
* Complete the HubSpot login and authorization process.

Once completed, your HubSpot account will be successfully linked with XTEN-AV.

**Step 2: Create a Private App in HubSpot**

* Log in to your HubSpot account.
* Go to **Settings.**
* Navigate to **Integrations → Private Apps.**

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_1pwuvbx.png)



* Click on **Go to Legacy Apps.**

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_rzy9sc.png)


* Click on **Create Legacy App**

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_1xtli1g.png)


* Select **Private** to create Legacy App

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_11yeb2r.png)

* Check the Box and click on Continue with legacy private app.

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_1509ng2.png)

* Now Configure all steps like Basic Info, Scopes and Webhooks

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_1kedok1.png)

**Step 3: Set up the required Configure Permissions (Scopes) for each CRM object as follows:**

1. **Deals**
* Select: crm.objects.deals.read

2. **Companies (Accounts)**
* Select: crm.objects.companies.read

3. **Contacts**
* Select: crm.objects.contacts.read

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_1ub8qo3.png)

**Step 4: Configure Webhooks**

* Go to Webhook setup

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_1qwu8p1.png)

Enter the Webhook Target URL provided in XTEN-AV by navigating to **Overall Settings > HubSpot. **

The same webhook endpoint is used for **Deals, Accounts (Companies)**, and **Contacts.**

Click on it to open the [Overall Setting](https://app.xtenav.com/overall_settings/) page, then configure the subscriptions.

**Step 5: Create Webhook Subscriptions (Add the following subscriptions):**

1. **Deals**
* Object type: Deal
* Listen for which elements: Created and property changed
* Which properties: dealname , amount, hs_priority

2. **Companies (Accounts)**
* Object type: Companies
* Listen for which events: Created and property changed
* Which properties: name, state

3. **Contacts**
* Object type: Contacts
* Listen for which events: Created and property changed
* Which properties: firstname, lastname, phone

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_3by8ib.png)

**Step 6: Finalize Setup**

* Review all configured webhook subscriptions.
* Click on **Create app** button and then click on **Continue creating** button for submission webhook setup.

![](https://storage.crisp.chat/users/helpdesk/website/-/e/3/c/d/e3cdae6433963000/image_dp65zu.png)