---
title: HUBSPOT
slug: hubspot
icon: 📄
docTags: 
createdAt: 2026-03-10T05:51:03.879Z
---

### INTRODUCTION

This document describes how User can create an Account in Hubspot software and get Keys and credentials to connect to MYFUNDBOX product.&#x20;

****

**Connect MYFUNDOX to Hubspot with credentials**&#x20;

### Step 1: Create a HubSpot Account&#x20;

Visit HubSpot Portal: 
👉 <u>HubSpot |</u><u>[ Software & Tools for your Business](https://www.hubspot.com/)</u>

Click Log In.&#x20;

If you do not have an account, click Sign Up or Create an account and complete the registration process.&#x20;

### Step 2: If already having an account, Sign In&#x20;

Go to: 
👉 [https://app.hubspot.com/login ](https://app.hubspot.com/login)

Enter your Email and Password and click **Log In**.&#x20;

### Step 3: Create an App&#x20;

Click the **Development** module from the left sidebar (as shown in Figure 1.0).&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/fsZwRyFpPTLERf4dTZT4A_.blob)

Fig 1.0&#x20;

Click Legacy Apps & Click Create Legacy App. (as shown in Figure 1.1).

&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/R0dc9p_TxzOKO2Q8iFXW1_.blob)

Fig 1.1&#x20;

Choose Public App and click Create (as shown in Figure 1.2).&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/vdo23oZ1xfxFLU4teg318_.blob)

Fig 1.2

&#x20;**Create public app with Redirect URL & Scopes**&#x20;

- Enter App Name&#x20;
- Click Auth module (as shown in Figure 1.3).&#x20;
- Navigate to Redirect URIs, then add the following URIs (as shown in Figure 1.4) and Click the “Add New Scopes”(as shown in Figure 1.5) add the necessary scopes (as shown in Figure 1.6) click Create app&#x20;
- <u>[https://app.myfundbox.com/HubspotOAuthResponse.jsf](https://app.myfundbox.com/https://app.myfundbox.com/HubspotOAuthResponse.jsf)</u>&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/hB6jQSuVqFnWcpWWVSeuD_.blob)

Fig 1.3

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/SOXJKYZCmZ2dgb_JO-RLs_.blob)

Fig 1.4

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/wjA6X2lq_nm29M1EsBdzO_.blob)

Fig 1.5&#x20;

**After adding this Scopes Click Create App, your app is ready&#x20;**

### Step 4: Get the ClientId, Client secret and App Id&#x20;

Sing in your hubspot Account&#x20;

Navigate to **Development > Legacy Apps > Your App > Auth** (as shown in Figure 1.7)&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/tpJEZ-YLYLr_xcd0DvWUL_.blob)

Fig 1.7&#x20;

### Step 5: Get the Api key&#x20;

Sign in your hubspot Account&#x20;

Navigate to Development > Keys > Developer API key&#x20;

Click create key, it will create (as shown in Figure 1.7.1)&#x20;

Get the api key from this module&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/BDLA9tjmvIEu9-_JtC27P_.blob)

Fig 1.7.1

&#x20;**Now Client Id, Client Secret, App Id, API Key is Ready**&#x20;

### Step 6: Connet MYFUNDBOX to Hubspot with credentials 


Sign in to MYFUNDBOX  
Navigate to **Configuration > Integration > Sales Crm > Hubspot** (as shown in Figure 1.8)

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/cWJOWumQaDNFKfF3ZDoSG_.blob)

Fig 1.8&#x20;

Click get Started and it will navigate like (as shown in Figure 1.9)&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/gD7FKfa5H39T5kMyFYti8_.blob)

Fig 1.9 &#x20;

- Give the Client Id, Client Secret, App Id, Api Key&#x20;
- Click Connect&#x20;
- Navigate to Hubspot Authenticate page (as shown in Figure 2)&#x20;

Choose Your Account&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/MYGTmoE7Da9yWKDTd7s8__.blob)

Fig 2&#x20;

- It will navigate to Authentiaction accses page (as shown in Figure 2.1) &#x20;
- Tick the checkbox and Click Connect app&#x20;

It will connect and redirect to myfubdox integration page(as shown in Figure 2.2)&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/qArBJjpCXKrF7CLxEfL0-_.blob)

Fig 2.1

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/E5ET2WJfbpjMAhptMrF2-_.blob)

Fig 2.2&#x20;



**Manage Configuration&#x20;**

- Enable/Disable Hubspot&#x20;
- Delete Hubspot&#x20;

**Enable/Disable Hubspot**&#x20;

Sign in to MYFUNDBOX  
Navigate to **Configuration > Integration > Sales Crm > Hubspot** (as shown in Figure 2.3)  &#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/7bmJHZU350McU7SVTDmlt_.blob)

Fig 2.3&#x20;

Click th&#x65;**&#x20;More Info > Configuration tab&#x20;**(as shown in Figure 2.4)&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/vVEiPVjQNspLrlLcL0LiA_.blob)

Fig 2.4&#x20;

**Delete Hubspot**&#x20;

Click th&#x65;**&#x20;More Info > Configuration tab&#x20;**(as shown in Figure 2.5) &#x20;

Click Delete and click Yes Delete for delete this connection (as shown in Figure 2.6)&#x20;

Your Hubspot connection as been deleted (as shown in Figure 2.7)&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/In9KrWIA8GEV4fqA8JTH9_.blob)

Fig 2.5

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/HGxlPhtPEfQiiyWBwbFwu_.blob)

Fig 2.6

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/OgPSJtargCdY4TgdrqwOx_.blob)

Fig 2.7&#x20;

**Manage Hubspot Details**&#x20;

- Contact&#x20;
- Line item&#x20;
- Deal 

**Contact&#x20;**

### How to create a contact&#x20;

### Step 1:&#x20;

**Go to Home > CRM > Contacts > Add New > Create New&#x20;**

### Step 2:&#x20;

**Give the details as name and email is “Madatory feilds”, Address feilds is optional (as shown in Figure 3)&#x20;**&#x20;

### Step 3:&#x20;

**Click Create your contact as been created (as shown in Figure 3.1)&#x20;**&#x20;&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/zftak5r9T5Ji7JX680pmN_.blob)

Fig 3

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/p2n1o1zO2UlFmTKZ_02vN_.blob)

Fig 3.1&#x20;

**Line Item**&#x20;

:::Heading{depth="3" indent="6"}
**How to create a line item**
:::

### Step 1:&#x20;

**Go to Home > Commerce> products> Add product> Create product&#x20;**

### Step 2:&#x20;

**Enter the required details — Name and Amount are mandatory fields, All other fields are optional. Since no billing details were provided, the system will automatically select the default option, which is One-Time (as shown in Figure 4, 4.1)&#x20;**

### Step 3:&#x20;

**Click create your product is created**&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/kF8c-VyfkWuxUiUHdoz5w_.blob)

Fig 4

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/thYxh5Ab_k3Tp2cZudntQ_.blob)

Fig 3.1

**Deal**&#x20;

:::Heading{depth="3" indent="2"}
**How to create a deal along with contacts and line items**&#x20;
:::

### Step 1:&#x20;

**Go to Home > CRM > Deals > Add deals > Create New**&#x20;

### Step 2:

**&#x20;Enter the required details — Name (as shown in Figure 5)**&#x20;

### Step 3:&#x20;

**Scroll the end of the form&#x20;**

### Step 4:&#x20;

**Add the Contact in Contact feild (as showm in Figure 5.1)**&#x20;

### Step 5:&#x20;

**Add the Product in Line item feild (as showm in Figure 5.2)**&#x20;

### Step 6:&#x20;

**Click producr it will added**&#x20;

### Step 7:&#x20;

**Click create the deal as been created (as showm in Figure 5.3)**&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/AsaChMIsXR_8N2Ta_Lb0R_.blob)

Fig 5


![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/T0MyS-YuXBqBCuSIvWNXx_.blob)

Fig 5.1

&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/fx8ZqU4ROHsB4lpxPqhWA_.blob)

Fig 5.2

&#x20;

![](https://api.archbee.com/api/optimize/HtD8bx0TmXiyJa9NvV54o/yueg38SaOXKWho4AkyRyA_.blob)

Fig 5.3



**HubSpot → MYFUNDBOX Sync Instructions**&#x20;

**Trigger Condition**&#x20;

The integration is event-based.&#x20;

**Primary Trigger:**&#x20;

- Deal stage changes to **Closed Won**&#x20;

**Non-Trigger Stages:**&#x20;

- All other deal stages must not initiate sync.&#x20;



**Pre-Sync Validation Rules**&#x20;

Before processing a Closed Won deal, the following validations must pass:&#x20;

1. Deal must have **exactly one associated Contact**&#x20;
2. Deal must have **at least one Line Item**&#x20;
3. Multiple Line Items are allowed&#x20;
4. If any validation fails → Do not process the deal&#x20;



**Sync Actions (Closed Won)**&#x20;

When validation passes:&#x20;

- Sync Deal details&#x20;
- Sync associated Contact details&#x20;
- Sync all Line Items&#x20;
- Create or update subscription in MYFUNDBOX&#x20;
- Generate and send Paylink to customer&#x20;



**Reverse Status Handling**&#x20;

**Closed Won → Closed Lost**&#x20;

Action: Cancel the related subscription in MYFUNDBOX&#x20;

**Closed Lost → Closed Won**&#x20;

Action:&#x20;

- Reactivate existing subscription&#x20;
- Send reactivation email&#x20;
- Include login link in email&#x20;



**Post-Connection Rule**&#x20;

- Deals marked Closed Won **before integration connection** must not sync.&#x20;
- Only deals changed to Closed Won **after connection activation** should trigger sync.&#x20;
