HubSpot Connector for Craft CMS 3
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

HubSpot Connector plugin for Craft CMS 3.x

Expose Hubspot API features in Twig and pull in content from your HubSpot Portal.


This plugin requires Craft CMS 3.0.0-beta.23 or later.


To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
  2. Then tell Composer to load the plugin:

     composer require guilty/hubspot-connector
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for HubSpot Connector.

Configuring HubSpot Connector

  1. Go the the admin panel
  2. Go to the settings page
  3. Click on "HubSpot Connector" under the "Plugins" section
  4. Enter your Hubspot API key and click Save.
  5. Done

Using HubSpot Connector

Here is a basic example, for more comprehensive examples and documentation check the wiki

 {% for blog in craft.hubspot.blogs %}
    <a href="{{ blog.root_url }}">
        <h4>{{ }} - {{ }}</h4>

    {% for post in  craft.hubspot.blogPosts( %}
                <a href="{{ post.published_url }}">
                    {{ post.html_title }}

            {{ post.post_summary | striptags }}
    {% endfor %}
{% endfor %}

Brought to you by Guilty AS

The HubSpot logo and Trademark is the property of Hubspot Inc