π₯ Integrating MANTA with HubSpot
This tutorial explains how to integrate the app with HubSpot in order to automatically create contacts.
Prerequisitesβ
Before integrating the MANTA with HubSpot, ensure you have:
- Running app instance (local or deployed)
- An active HubSpot account
- Permission to create Legacy Apps in HubSpot
note
If you already have a HubSpot Legacy App with the correct permissions, you can skip app creation and use its Access Token directly.
Integration Steps
Step 1: Create a HubSpot Legacy Appβ
- Log in to your HubSpot account
- Click the Settings icon
- Navigate to Integrations β Legacy Apps
- Click Create legacy app
Step 2: Set App Permissions (Scopes)β
In the Scopes section, enable the following permissions:
crm.objects.contacts.readcrm.objects.contacts.write
These scopes allow the app to:
- Check if a contact already exists
- Create new contacts in HubSpot
Click Create app when finished.
Step 3: Copy the Access Tokenβ
After creating the Legacy App:
- Copy the Access Token
Step 4: Configure HubSpot in appβ
To enable HubSpot integration, configure the following environment variables:
ENABLE_HUBSPOT=true
HUBSPOT_SECRET_KEY=""
HUBSPOT_LEAD=""
HUBSPOT_SECRET_KEY - Access token used to authenticate with the userβs HubSpot account. HUBSPOT_LEAD - Tag used to identify contacts created through the app.