To install Smart Forms, add a custom HTML module to a page or template and copy the generated code:
Copy Form Id to the generator
Add a “Custom HTML” module to a page or template and copy the generated code
Also, you can add the form as a custom module to HubSpot:
Advanced Intructions