# HubSpot

{% embed url="<https://youtu.be/DyaFWDAnQkY?feature=shared>" %}
Connecting Retainful with HubSpot
{% endembed %}

This guide explains integrating **Retainful**, an email marketing app, with **HubSpot**, a leading CRM and email marketing tool. By connecting the two, you can synchronize customer data, streamline your marketing campaigns, and enhance customer engagement effortlessly.

## Follow the Steps to Integrate HubSpot to Retainful  &#x20;

## Step 1: Login in Hubspot Account

Go to settings > Navigate to the Settings icon

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdmkwDMGL5fawnaBqkeOeY9Ua1VESCP_lIRpT1l-9_sKBRlfVtyFnYQy_fhzxf8bS5uIAK4ytbLbEBZlCAcv_naXJXyUDzhKIw-KdLMXF6yq8ZOGcaR-QFtgGlMcHkRD69jy_tY?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Log in HubSpot</p></figcaption></figure>

## Step 2: HubSpot Integrations

In the left sidebar menu, Navigate to Integrations > Private Apps.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcfEiFxhU5cacwzXtGKEPbZKmV0xC_AonJouv3gGLDLSoQQMRx6Up0eYnIu_MAVVDd3skI9cXNcExOQmHkQe1eDn1weKTdWi7PIgXtcQZhPvhQUNuqyYfpItb_ZqEf6PBFj3iZ2?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Navigate Integrations</p></figcaption></figure>

Click on the button to “**Create a private app**.”

## Step 3: Configure Scopes and Adding Scopes&#x20;

Configure the details of your app

> * Enter your app's name.
> * Hover over the placeholder logo and click the upload icon to upload a square image that will serve as the logo for your app.
> * Enter a description for your app.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfS1JY_DxyK_f9IsO5hjyz1ljVthzSEMM8D-c-yqXCZEumaHF5ZYq0X0WXZqhzYSGS0zs8e7pUUHDfjgidMs1KW1r0_jCd_y8h4UvWrfOfOUVqPaqdyyJCLyL1T89mdoC9n3dtG?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Add title and Description</p></figcaption></figure>

> Select the Scopes section or Tab and Add New Scope

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcp3HOUgLX-p63KdSdZpX8bed9IejofelPdos713yGdzoh30LBRA_gxDV1GlSl71skM2I-wOtPDkN8ACCkES6Um_HBcGEWlShxRCeW0pESh-4QVdcd50smewgugG3M3aAIv1hNH?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Add a New Scope</p></figcaption></figure>

> * Click the **Scopes tab**.
> * At the top of the page, click **Add new scope**.
> * In the right panel, select the checkbox for each scope you want your private app to be able to access.
> * You can also search for a specific scope using the Find a scope search bar. You can review a full list of available scopes in [this reference article](https://developers.hubspot.com/beta-docs/guides/apps/authentication/scopes).
> * Click **Update** when you're done adding scopes. If you later decide that your app requires additional scopes, you can also configure them after your app is created.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXflowaEZgkpGiA8eOCzqC2eKF0rJwkoCu_xKQZoeUxgRJvQLgfR0YYi7vnp2mzOtOEQ2M4pRIQ_Kzj1d6NMX2T9n3L8y6iMEmr6WLHkSGAmimADTRqylQLZllAxGFGOvXwO1UCmXQ?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Add These In Scope</p></figcaption></figure>

#### Search and Add Scopes and Save these Scopes

{% hint style="success" %}

```
crm.lists.read
crm.lists.write
crm.objects.contacts.read
crm.objects.contacts.write
crm.schemas.carts.read
crm.schemas.carts.write
```

{% endhint %}

After Adding this New Scope and clicking on Create App

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfZr3pleQE3l3TMiDoB93pGaePdOidHk731y1g-4kn0iFe0tWI1Yuzk2NwlvEW-zGJZyp38SRMt7_EZHmslm594cyZZ0rxzj21-Powv_zhJfFjRxZpmwP7g3KmH7uZ-th89zDTn9w?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Click Create App</p></figcaption></figure>

{% hint style="warning" %}
**IF YOU ARE CREATING A NEW PRIVATE APP FOR THE FIRST TIME IN HUBSPOT, IT SHOWS LIKE THIS**
{% endhint %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdN-ZYm_V_OM92Kd_GQCkq_Xv7dJEmnHQ5mkQ0j8CA7uuyFy907wSRAK48ECiRkjSnoi8IQ8O6k4Yr65_RZhYGFkkdnaHs6xJc-91CWkHDCzppAs9fIOAhQpuv8nBbGpd4CVPF6hA?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Create a New Private App</p></figcaption></figure>

## Step 4: Getting the API Token or Access Token in HubSpot

After creating a private app, select the app name you used during its creation and click on it.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfX7ngijjXHOFPAK4Ws7Iz0oQ8Gn7DdBLLiwPIPyqYOTP3_JJPgtv33xVRLO1k0I2sEZbAxcs8oynPPJ81b4q5L71evx3m0okw_vevCflJe_lzF-60kmMfN12qbDvSm0t__hKBd?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Click View Access Token</p></figcaption></figure>

After clicking on View Access token

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdPqxfu5GEkv_YfAsGzpKoaVQCWdp64tLafOmdGmsXW6GYST_hYRwEbPtsNPTR_yVRocQWG3hwWBAqaoZmCgvU5wG_TqIsI9oZUdPt27hSYBik8zRQbhBlzpMB5nWlJzQtprzK4Ww?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Copy the Access Token Code</p></figcaption></figure>

## Step 5: Connecting HubSpot in Retainful

Login in Retainful Account > Integrations > Choose HubSpot&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfA82nEn2LxiNGIEmEbWmfmAmY-Zbg69TJJHdrjtD3vzkGyGr-E0l_qqA9Awgh1xwBhFXF3opZw5KDEABlmb5H-MWQDHg9BvAbDKkUGLJal-JxK-sK8RiHVFGWUGBpJ-Hzkrwbcvw?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>HubSpot - Retainful Integrations</p></figcaption></figure>

Click the HubSpot Block > Paste the Copied Access token

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcTWdEJED4QyFrhfkU-CGUZcFSZEB-dxIajReBu64Pu5CPxa86aVqA3Mt8cMgFwQ1VWCZrBZtAIz9YdlqGN3APWOVP0Fg8sjraSpeY_e240cfvAEVzJL2TYLSa-qyZSBQL1ryGu?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>Paste the Access Token</p></figcaption></figure>

After a few seconds, HubSpot is connected with Retainful&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfHNjjmMxNgZ8CIeqLGbcydladr0AMOVO5hiCqwTAc8aVLqxOr3ZhvvxjzExQToBKxIBybF9huCmkfc_NmRZJwdW9WbV4iTdunLp4lxYIKMOjEELxZ305pRZvQC7hEvU9X4PTfKnQ?key=3rmCigcBZaKtSgxwKJVAR3v_" alt=""><figcaption><p>HubSpot has been successfully connected to Retainful.</p></figcaption></figure>

Integrating HubSpot with Retainful creates a seamless connection between your CRM and email marketing workflows. This integration allows you to maximize the potential of both platforms, ensuring a streamlined marketing process and better customer relationship management.

{% hint style="info" %}
**Need More Help setting up HubSpot?** <br>

We’re here to make things easier for you!<br>

* **Email Us:** Reach out anytime at [<mark style="color:orange;">support@retainful.com</mark>](mailto:support@retainful.com)<mark style="color:orange;">.</mark>
* **Schedule a Call:** Still stuck or need a hands-on walkthrough?

\
&#x20;[<mark style="color:orange;">**Book a quick session with our support team**</mark>](https://zcal.co/retainful/onboarding), and we’ll guide you step-by-step.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.retainful.com/integrations/hubspot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
