Custom website

Hey! I made a website for my client but they want to use it with hubspot. I can’t figure out how to upload my own html, css and js. The website doesn’t have to be editable only the contact form has to collect data. How do I do that?

Hey @DawidS,

you’ll need to create a theme via the design-manager or local-environment first in order to use the HubSpot building functionalities.

If you’re not familiar with themes/theme development you should start with the theme boilerplate. I also highly recommend you to pass the HubSpot CMS for developers certification so you’ll understand HubSpot and Hubl(the programming language) a bit better.

If you don’t want to create a whole theme(which can take quite a bit amount of work) or you want to proceed with the hard-coded page but want to use the form function to collect leads it would be easier to embed the HS form in your static website.

To do so navigate to forms(Marketing → Forms) and copy the embed code of the form. This embed code can be pasted in your static website (you might need to apply some custom css styling)

best,

Anton

One option is to leave your website where it is currently hosted and just create the contact form in HubSpot. There you can get the code to put it in your site. Go to Marketing->Forms and create your form. Then when you have it created click on Share in the upper right and grab the embed script and put it in your site. If you want control of the css for the form in your site instead of using the styling available in HubSpot you can choose Raw mode in the style and preview tab, then you can style it all yourself in your site.