> For the complete documentation index, see [llms.txt](https://docs.feedotter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feedotter.com/integrations/hubspot/manually-publish-an-email-to-hubspot.md).

# Manually publish an email to HubSpot

This page walks through the process of exporting the compiled HTML email code from FeedOtter and manually placing it in HubSpot for use in a marketing email.

### Export your HTML code from FeedOtter

The easiest way to do with is to Edit Your Email or Newsletter Issue.

In the lower-left corner, select **Settings** and then, in the email code box, select **Copy Final HTML To Clipboard.**

<div align="left"><figure><img src="https://2086102864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIdHBGk8cqznUpEqm5g1U%2Fuploads%2Fu80moJ71lM0mdZWuVsVu%2F%7BE9E0F546-72FD-4D85-91F9-E2A7D46BCC9A%7D.png?alt=media&amp;token=1251ee5c-0615-4029-85dd-31f3a791532a" alt=""><figcaption></figcaption></figure></div>

### Create a new email template in HubSpot

In HubSpot navigate to <https://app.hubspot.com/design-manager/>

Select **New File**

Leave the default HTML + HubL option selected.

<div align="left"><figure><img src="https://2086102864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIdHBGk8cqznUpEqm5g1U%2Fuploads%2FKUAUP0RQKSun2Y5248JP%2F%7B6918BDE5-A0F7-482D-B6EC-606708FB79F6%7D.png?alt=media&amp;token=a67dd472-7dfc-4df0-abb9-cd7f54b4971e" alt=""><figcaption></figcaption></figure></div>

In the following dialog:

Set the Template type = email

Filename = a memorable name for this newsletter issue

You may adjust other fields but these are the important ones.

<div align="left"><figure><img src="https://2086102864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIdHBGk8cqznUpEqm5g1U%2Fuploads%2FQlCa3Jyh4dmMW0TudSA7%2F%7B73E3F6E9-E772-4EE3-9350-037FB2B88D9B%7D.png?alt=media&amp;token=5a15d75b-90dc-4e34-a8f7-a155b9ef1db9" alt=""><figcaption></figcaption></figure></div>

### Create a new HubSpot Marketing Email

In HubSpot navigate to Marketing Emails and create a New "Regular" Marketing Email.

When prompted to select a template, choose the **Custom Tab.**

<div align="left"><figure><img src="https://2086102864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIdHBGk8cqznUpEqm5g1U%2Fuploads%2F8nWbudSNmB9iR5rZgeUu%2F%7B30343D90-CEB1-4C2A-BC36-8C24CEB858A8%7D.png?alt=media&amp;token=b0625533-39d0-4944-878c-bc035af9e2a3" alt=""><figcaption></figcaption></figure></div>

You should see your created template file here, select it.

### Finalize and send via HubSpot

You can now complete the email setup in HubSpot as you would normally. Fill in the information on the remaining tabs.
