Best practice for embedding hubspot form?

Is there a best practice implementation for embedding a hubspot form within a custom type/slice?

Hubspot provides a pair of scripts for embedding a form on your page, ex.

<script charset="utf-8" type="text/javascript" src="//"></script>
    region: "na1",
    portalId: "5555555",
    formId: "5555555-5555-5555-5555-555555555555"

Hello @ianboyte, you can create a custom code component in your Custom Types:

Hey @ianboyte, I've done this for many of my clients and the solution doesn't require injecting custom HTML. I'm quite busy right now, but I'll try to write and publish a tutorial over the coming days for you