How to Create HubSpot API for Magento
In this article, we will cover how to set up Magento 2 HubSpot integration. Please, check the following step-by-step guide.
Step by Step Guide:
- Log into your account on hubspot.com.
![Magento newsletter popup hubspot api setup 1.jpg](/docs/wp-content/uploads/2020/05/Magento_newsletter_popup_hubspot_api_setup_1.jpg)
Step by Step Guide:
Account
- Navigate to the “Settings” tab.
![Magento newsletter popup hubspot api setup 2.jpg](/docs/wp-content/uploads/2020/05/Magento_newsletter_popup_hubspot_api_setup_2.jpg)
Step by Step Guide:
Settings
- Select “Integrations”.
- Go to the “Browse all integrations” section.
![Magento newsletter popup hubspot api setup 3.jpg](/docs/wp-content/uploads/2020/05/Magento_newsletter_popup_hubspot_api_setup_3.jpg)
Step by Step Guide:
Integrations
- Navigate to “Your integrations”.
![Magento newsletter popup hubspot api setup 4.jpg](/docs/wp-content/uploads/2020/05/Magento_newsletter_popup_hubspot_api_setup_4.jpg)
Step by Step Guide:
Your integrations
- Go to the “API key” section.
- Press the “Generate API key” button.
![Magento newsletter popup hubspot api setup 5.jpg](/docs/wp-content/uploads/2020/05/Magento_newsletter_popup_hubspot_api_setup_5.jpg)
Step by Step Guide:
API key
- Copy your HubSpot API key. (This Key will be required it in the Magento backend > Newsletter Popup configuration > “HubSpot” Integration.)
![Magento newsletter popup hubspot api setup 6.jpg](/docs/wp-content/uploads/2020/05/Magento_newsletter_popup_hubspot_api_setup_6.jpg)
Configuring HubSpot API in Magento 2 Newsletter Popup Extension
Step by Step Guide:
- “Enable”: if enabled, this option allows you to transfer collected emails to your HubSpot List(s).
- “API URL”: paste the API URL copied from your HubSpot account.
- “API Key”: paste the API Key copied from your HubSpot account.
- “Test connection”: press the button to test whether the connection is set.
- Option “Contact Lists”: shows contact lists available for synchronization. Admin will be able to choose the contact list(s) to subscribe a user to in each newsletter popup individually.
- Press the “Save Config” button to save your changes.
![Magento 2 newsletter popup v.3.1.2 hubspot api 2.jpg](/docs/wp-content/uploads/2020/05/Magento_2_newsletter_popup_v.3.1.2_hubspot_api_2.jpg)
Configuring HubSpot API in Magento 1 Newsletter Popup Extension
Step by Step Guide:
- “Enable”: if enabled, this option allows you to transfer collected emails to your HubSpot List(s).
- “API URL”: paste the API URL copied from your HubSpot account.
- “API Key”: paste the API Key copied from your HubSpot account.
- “Test connection”: press the button to test whether the connection is set.
- Option “Contact Lists”: shows contact lists available for synchronization. Admin will be able to choose the contact list(s) to subscribe a user to in each newsletter popup individually.
![2 hub spot.jpg](/docs/wp-content/uploads/2020/05/2_hub_spot.jpg)
Was this article helpful?