Add HubSpot live chat to a WordPress site (2026)

10 min read

What you’ll have at the end

HubSpot's WordPress plugin installed and connected to your HubSpot account, and a live chat (HubSpot calls it a chatflow) switched on for one page of your site. You'll also have sent a test message from that page and found it in HubSpot.

Before you start

You’ll need

  • A WordPress site you can sign in to as an administrator, on a WordPress.org install (or the WordPress.com Business plan, see below)
  • A HubSpot account where you are a Super Admin, or the chance to create one during setup
  • Chatflow permissions in HubSpot, which HubSpot's help says are needed to create and edit chatflows
  • A browser that allows third-party cookies, with any extension that blocks them switched off
  • The address of one page on your site where you'd like the chat to appear

What it costs. HubSpot's plugin listing describes the plugin and its live chat as free, and says HubSpot also has paid tiers for more advanced features. HubSpot's help lists help desk for Service Hub Professional and Enterprise. Nothing in this guide asks you to pay.

HubSpot's help says you must be a Super Admin in HubSpot and a WordPress admin to install the plugin. If you aren't the WordPress admin, the plugin's WordPress.org listing says you can forward these instructions to the person who manages your WordPress install.

HubSpot's help says your site must use a WordPress.org install, or be on the WordPress.com Business plan. It says other WordPress.com plans, such as Premium and Personal, don't allow plugins or JavaScript and aren't compatible. The plugin's WordPress.org listing says the plugin can't be installed on WordPress.com sites. If your site is on WordPress.com, please check with WordPress.com before you start.

HubSpot's help also says: - Your WordPress version should match the plugin's requirements, which are shown in the plugin page's right sidebar next to WordPress Version. - To install the plugin, you must enable third-party cookies in your browser and switch off any add-ins or extensions that block them. - Chatflow permissions are required to create and edit chatflows.

If you don't have a HubSpot account yet, HubSpot's help says you'll be prompted to create one when you connect the plugin. That is a second login, separate from WordPress, so please keep both sign-ins to hand.

You'll move between WordPress and HubSpot a few times. Each step's heading names the tool it happens in: WordPress for steps 1 to 4, 6, 7, 19 and 20, and HubSpot for step 5, steps 8 to 18 and step 21.

Following steps from somewhere else? You’re welcome to bring them here.

Steps

  1. 1. WordPress: go to Plugins > Add New

    Please sign in to your WordPress website admin dashboard. In the left sidebar menu, go to Plugins > Add New.

  2. 2. WordPress: search for the plugin and click Install Now

    Use the search box to search for HubSpot. Look for the plugin named HubSpot All-In-One Marketing – Forms, Popups, Live Chat, by HubSpot. In the upper right of its entry, click Install Now.

  3. 3. WordPress: click Activate Plugin

    When the installation finishes, please click Activate Plugin. WordPress's own help calls this button Activate, so it may read slightly differently on your screen.

  4. 4. WordPress: click HubSpot in the left sidebar menu

    In the left sidebar menu, please click HubSpot.

  5. 5. HubSpot: click Log in to your account

    Now please switch to HubSpot.

    Please click Log in to your account to finish the installation. This signs you in to HubSpot, which is a separate login from WordPress. If you haven't set up a HubSpot account yet, HubSpot's help says you'll be prompted to create one. If your HubSpot account uses Brands, HubSpot's help says to select which brand the plugin should use.

  6. 6. WordPress: go to HubSpot > Chatflows

    Now please go back to WordPress.

    In the left sidebar menu of your WordPress dashboard, go to HubSpot > Chatflows.

  7. 7. WordPress: click Create chatflow

    In the upper right, please click Create chatflow. HubSpot's help says you'll be redirected to your HubSpot account's chatflow builder.

  8. 8. HubSpot: select Website

    Now please switch to HubSpot.

    If you're asked what kind of chatflow to create, please select Website. HubSpot's help describes this as the live chat that appears as a widget on your website pages.

  9. 9. HubSpot: click Set up chat

    HubSpot's help says that if this is your first time creating a chatflow, you'll be prompted to set up your chat widget. In the dialog box, please click Set up chat. If you aren't prompted because you've set up your chat widget before, please go on to step 14.

  10. 10. HubSpot: choose an accent color

    On the Display tab, please choose an accent color. Then click Next.

  11. 11. HubSpot: set the chat name, welcome message and assignment

    On the Chatflow tab, please: - Click the Chat heading dropdown menu and select the name and avatar to appear on the chat widget. - Enter a welcome message in the text box. - Click the Assign incoming tickets to dropdown menu and select which users and teams to assign the tickets to.

    Then click Next. HubSpot's help says an assigned Sales Seat or Service Seat is required for a user to be included in routing rules, so please choose people who have one.

  12. 12. HubSpot: set when your team is available

    On the Availability tab, please select one of the three options HubSpot's help lists: Based on user availability, Based on chat operating hours, or Chat is available 24/7.

    If you choose Based on user availability, HubSpot's help says visitors can chat only if at least one assigned team member is available. If none is available, visitors won't be able to send messages. Please keep this in mind when you send your test message in step 20. Then click Next.

  13. 13. HubSpot: click Publish

    HubSpot's help says you can preview how your chat widget will appear on different devices using the device type buttons above the preview. When you're happy, please click Publish.

  14. 14. HubSpot: choose where chats should arrive

    On the Workspace page, please click the dropdown menu to select an inbox or help desk, then click Next. HubSpot's help says you can only select inboxes with a connected channel. Please remember which one you chose, because you'll look there in step 21.

  15. 15. HubSpot: select Live agent

    On the Chatflow page, please select Live agent. HubSpot's help says the next page, the knowledge base page, is optional. It also says a Service Hub Professional or Enterprise subscription is required to turn on knowledge base browse and search. If you'd like to skip it, click Create.

  16. 16. HubSpot: click the Target tab

    Once the chatflow is created, HubSpot's help says you'll land on the Chat tab. At the top of the chatflow builder, please click the Target tab.

  17. 17. HubSpot: target your WordPress page and click Save

    HubSpot's help says that to add the chatflow to a WordPress page, you need to target that page specifically. In the Website URL section: - Click the first dropdown menu and select Website URL. - Click the next dropdown menu and select is. - Enter your WordPress page URL in the text field.

    Then, at the bottom, click Save.

  18. 18. HubSpot: switch the chatflow on

    Finish setting up your chatflow if you'd like to change anything else. HubSpot's help says you can click Preview in the top right to review how the live chat will appear. In the upper right, please click the switch to toggle it on.

  19. 19. WordPress: open your page and look for the chat

    Now please go back to WordPress.

    In a separate browser tab, go to the WordPress page you entered in step 17. HubSpot's help says the chatflow will appear in the bottom right corner of the webpage.

  20. 20. WordPress: send a test message

    On that page, please open the chat and type a short test message, such as "Test message". Then send it.

    HubSpot's help says new chatflows have Consent to collect chat cookies and Consent to process data turned on by default. If you see a consent banner, please read it. HubSpot's help says that with the option Require explicit consent, visitors need to click I agree before they can send a message.

  21. 21. HubSpot: check that your test message arrives

    Now please go back to HubSpot.

    Please look in the place you chose in step 14: - If you chose an inbox: click More, then go to CRM > Inbox. If More doesn't appear in your account, go to CRM > Inbox directly. HubSpot's help says that when a visitor starts a chat, you can reply to them in the inbox. - If you chose help desk: click More, then go to Service > Help Desk. If More doesn't appear in your account, go to Service > Help Desk directly. HubSpot's help says new incoming messages from a connected channel appear in your help desk.

    Your test message should be there. This is the end of the guide.

If something looks different

  • HubSpot's help describes the first-time order in two places: setting up the chat widget, then creating the chatflow. The dialogs you meet after step 7 may come in a slightly different order from the one in this guide. Please follow the on-screen prompts and keep the same choices.
  • HubSpot's install page names the plugin HubSpot – CRM, Email Marketing, Live Chat, Forms & Analytics, while the WordPress.org listing names it HubSpot All-In-One Marketing – Forms, Popups, Live Chat. Please install the one published by HubSpot that matches the listing.
  • HubSpot's live chat page starts from Service > Chatflows inside HubSpot (under More if it appears). This guide starts from HubSpot > Chatflows in WordPress, as HubSpot's WordPress page does. Either route reaches the chatflow builder.
  • HubSpot's help says the live chat widget may, in some cases, affect page load times on your WordPress site.
  • If a chat doesn't show on a page, please check step 17 first: the page address you entered must be the one you're viewing. HubSpot's help says you can exclude pages with an exclusion rule, so please also check you haven't excluded this one.
  • HubSpot's help says that if a visitor minimises a chatflow, HubSpot respects that across pages and chatflows until a cookie expires after 24 hours, according to HubSpot's Create a live chat page. A test in the same browser may therefore not pop open as expected.
  • HubSpot's help says you can target a published chatflow to a URL that includes a query parameter, for example ?test_chat=true, to test it without showing the chat to all visitors.
  • If you can see a conversation in the inbox but can't reply, HubSpot's help says to make sure you're added as a team member in the inbox's Access settings. It says users with Account Access or Super Admin permissions can view any inbox but can't reply unless they are added as a team member.
  • HubSpot's help says Service or Sales Access permissions are required to view, edit and respond to tickets in help desk, and that an assigned Service Seat is required for advanced help desk features.
  • If the chat doesn't appear on any page, the plugin's WordPress.org listing says your theme's footer file must include the wp_footer function, because the plugin's JavaScript snippet needs it. If you're not sure, please ask whoever built or manages your theme.
  • If you have a WordPress multisite network, HubSpot's help says you'll need to activate the plugin for each site separately.