This article covers how to export or download asset from Knak so you can upload it into HubSpot.
How to export your asset from Knak
Open your asset and find the "publish" button on the top right corner. After selecting publish, click download > download HTML for Hubspot.
How to retrieve the asset code
Open up a new tab in your browser (Google Chrome, Firefox, Safari etc).
Open the asset you just downloaded in the new tab.
Hover your mouse over the asset, right click and select 'view page source.'
Select or highlight ALL of the code and copy
How to paste the code into HubSpot
Open Hubspot and create a new HTML + HubL file In your HubSpot account, navigate to Content > Design Manager.
At the top of the left column, click the File menu and select New file.
In the New file dialog box, click the What would you like to build today? dropdown menu and select HTML + HubL, then click Next.
In the Set up your new HTML + HUBL template dialog box, enter the details of your new file: Under the "What are you building" section input "Template" and for "Template Type" choose page or email. After filling all of this in, don't forget to press Create.
Add HTML + HubL to your template
Once you have configured your new file, you'll be directed to the code editor to add your custom code. From here, paste the HTML for your template.
To display how your HubL will render, click to toggle the Show output switch on. A panel will open on the right with the rendered preview.
Make sure to preview your asset to make sure everything looks correct.
After previewing if everything is ready to go, click the Publish Changes button at the top right and you're all set!
**Important to note: HubSpot does require specific tags to be included in their landing pages/emails, learn more here about how to set the mandatory footer in Knak before uploading your HTML to HubSpot: Sending Knak emails from HubSpot.
Need more help? Contact support via live chat within Knak using the chat bubble in the bottom right corner or email support@knak.com