To find and copy the embed code for your form:
- In your HubSpot account, navigate to Marketing > Lead Capture > Forms.
- Click the form name that you'd like to copy the embed code for.
- In the upper right, click Share.
- In the dialog box that appears, click Copy to copy the code so you can then paste it into your page's HTML. You can also select a Salesforce campaign from the dropdown menu to add your contacts to, and select the checkbox beside Include default styling if you would like to preserve the form's default styling on your site. Select Close when you are done.