Need help ==>How to submit forms directly to hubspot?

hi :slight_smile:
I’m new to coding and need some advice…
I have a client who have hubspot integrated with webflow.
the client wants to submit all the webflow forms data directly to hubspot, and not via webflow redirect.
I came across this tutorial and I’m not sure if that’s what I need.
and if the code is ok, do I need to use the entire code or just a few snipets ?

thanks in advance…

Here is my site Read-Only: LINK
(how to share your site Read-Only link)