Skip to main content

How to Connect the Email Optin Module to HubSpot

Learn how to connect Divi 5's Email Optin module to your HubSpot account, so new form subscribers are added to a HubSpot list automatically.

Updated today

The Email Optin module in Divi 5 connects directly to HubSpot, letting you grow your contact list through opt-in forms placed anywhere on your site. Once connected, every form submission is sent straight to the HubSpot list of your choice.

This guide covers how to link your HubSpot account to the Email Optin module - including where to find your HubSpot API key and how to configure the module settings inside the Divi Visual Builder.

Prerequisite

  • HubSpot API key.

  • A HubSpot static list. This can be created in your HubSpot account.

Generate the HubSpot API key

  1. Log in to your HubSpot account.

  2. Click on the Profile link at the top right corner.

  3. Choose the Profile & Preferences option.

    Divi 5 - Connect the Email Optin Module to HubSpot

  4. From the left sidebar, choose Integration β†’ Legacy Apps.

    Divi 5 - Connect the Email Optin Module to HubSpot

  5. Click the Create button.

    Divi 5 - Connect the Email Optin Module to HubSpot

  6. Choose the Private option.

    Divi 5 - Connect the Email Optin Module to HubSpot

  7. (optional) Fill in the App Details.

    Divi 5 - Connect the Email Optin Module to HubSpot

  8. Choose the Scopes Tab, and click on the + Add new scope button.

    Divi 5 - Connect the Email Optin Module to HubSpot

  9. Under the CRM option, select all the available scopes.

    Divi 5 - Connect the Email Optin Module to HubSpot

  10. Click the Update button.

  11. Click the Create app button.

    Divi 5 - Connect the Email Optin Module to HubSpot

  12. Click on the Continue creating button.

    Divi 5 - Connect the Email Optin Module to HubSpot

  13. Select the Auth tab and from there copy the Access token to your clipboard.

    Divi 5 - Connect the Email Optin Module to HubSpot

Connect the Email Optin Module to HubSpot

  1. Open the Email Opt-in module Settings modal window by clicking on the Email Optin module or by clicking on its Gear icon.

  2. Go to the Content Tab β†’ Email Account.

  3. Select the HubSpot from the provider's list.

    Divi 5 - Email Optin module select HubSpot Provider

  4. Click on the Add button.

    Divi 5 - Email Optin module connect HubSpot Provider

  5. Fill in the following fields:

    1. Name - It can be anything you want. For example, you can use my-hubspot

    2. API Key - Paste the HubSpot API key.

  6. Click the Submit button.

    Divi 5 - Email Optin module complete connection to HubSpot Provider

  7. Choose the HubSpot list you want to use.

    Divi 5 - Email Optin module choose HubSpot List

Did this answer your question?