Content
-
Sign up HubSpot
-
Create contact form and the code.
-
Add it to page or widget
-
Integrate HubSpots’ live-chat with WordPress
Sign up HubSpot
Goto HubSpot official website: https://app.hubspot.com/
For more details, our support document: Sign up HubSpot and integrate live-chat with WordPress.
Create a form and get code to embed
1. Navigate Dashboard
https://app.hubspot.com/reports-dashboard/
2. Click [Forms] menu under [Marketing]
![](/wp-content/uploads/2024/03/199938480-1124dc776abcf7eec7e1d7a5.png)
3. Click [Create form] button
![](/wp-content/uploads/2024/03/199938398-25e689d5c860d90abb85eb12.png)
4. Choose “Embedded form” and click [Next] button
![](/wp-content/uploads/2024/03/199938729-50f0e91270352d74a826d163.png)
5. Choose a template or build own form, then click [Start]
![](/wp-content/uploads/2024/03/199938798-590f480a337f1aa934a6bd5e.png)
6. Click [Publish]
![](/wp-content/uploads/2024/03/199938835-342843e9df58139f0c0cb837.png)
7. Click [Embed code] to get JavaScript code to embed
![](/wp-content/uploads/2024/03/199938942-96103e9b76955bf5837e581e.png)
8. Click [Copy] button to copy code
![](/wp-content/uploads/2024/03/199939117-15b8639ed5ebca10afcc41c4.png)
… and copied
![](/wp-content/uploads/2024/03/199939162-4fa986bee782356ab1792ed7.png)
Embed to a Page
1. Start WordPress and login
2. Click [Add New] under [Pages]
![](/wp-content/uploads/2024/03/199939653-e91ff7554e7850bbe1cca67b.png)
3. Click [+] to add block
![](/wp-content/uploads/2024/03/199939533-01f55b1f5e5a77cafe7c6015.png)
4. input “custom html” and click [Custom HTML] under Formatting menu
![](/wp-content/uploads/2024/03/199939435-0eaa4e160cf89db2329734be.png)
5. Paste copied HubSpot’s Form JavaScript code and click [Publish]
![](/wp-content/uploads/2024/03/199940068-68070a4e7a509e4cbfb61ec1.png)
6. Generate an artifact and confirm it works
![](/wp-content/uploads/2024/03/199937719-76c399085da35335a93eb1d7.png)
Embed to Sidebar widget
1. Click [Custom HTML] menu
![](/wp-content/uploads/2024/03/199938303-3acc17493f1e95c8061dd205.png)
2. Choose position where you want to apply, and click [Add Widget] button
![](/wp-content/uploads/2024/03/199938226-916167112246241eadc7fac4.png)
3. Paste copied code and save it
![](/wp-content/uploads/2024/03/199937574-15e0d2849c322db779745e3f.png)
5. Generate an artifact and confirm it works
![](/wp-content/uploads/2024/03/199937719-76c399085da35335a93eb1d7.png)
That’s all!
Integrate HubSpots’ live-chat with WordPress
Check out our document: Sign up HubSpot, and integrate live-chat with WordPress