How To Add Hubspot Chat To Website

In today’s age of digital marketing, having live chat capabilities is essential for any internet-based company. It offers a direct means of communication for engaging with website visitors, providing assistance, and converting potential customers. HubSpot’s live chat is widely recognized as one of the top tools for this purpose.

If you’re wondering how to integrate HubSpot Chat to your website, you’ve come to the right place. In this blog post, we’ll guide you step-by-step to do just that.

Step 1: Create a HubSpot Account

If you haven’t yet, create a HubSpot account. Their free plan allows you to use the live chat feature.

Step 2: Add Your Website to HubSpot

If you’re a new user, HubSpot will ask you about your website when you sign up. If you’ve already created an account, click on your account name in the top right corner, select Add domain, and follow the prompts.

Step 3: Enable Live Chat

Once you’ve added your website, go to the main dashboard and click on Conversations > Chatflows. Here, you’ll be able to create a new chatflow. Choose Website as the channel and follow the setup process to customize your live chat appearance and behavior.

Step 4: Install HubSpot Tracking Code

In order for HubSpot to function on your website, you’ll need to add a tracking code to your site’s HTML. This can usually be added in the header of your website. To find the tracking code, go to Settings > Tracking Code in HubSpot.

<script type="text/javascript" id="hs-script-loader" async defer src="//"></script>

Replace “yourID” with your unique HubSpot portal ID.

Step 5: Test Your Live Chat

With the tracking code in place and the chatflow enabled, your HubSpot live chat is set up! Visit your website to see the chat in action.


Adding HubSpot chat to your website is a simple process that can drastically enhance your customer interaction. It’s a great way to offer instant help to your customers, drive conversions, and collect valuable info on your visitors.

If you have any questions or run into any issues while setting this up, HubSpot’s support team is always ready to help.