Sample: pages of a HubSpot demo site (boilerplate.hubspotcms.com) turned into an AEM content package and installed on a local AEM author. A demo site, not a client. Run on 13 November 2026. Every number below comes from that run.

HubSpot to AEM as a Cloud Service · worked example · 13 November 2026

HubSpot to AEM: from pages to an installed content package

The same 8 pages as in our HubSpot to Edge Delivery example, this time for AEM Sites: each page becomes a cq:Page built from Adobe's Core Components, packed as a content package you install with Package Manager.

8pages in the package
131Core Components written
8 of 8pages that render on AEM after install
16 of 16images served by AEM

1. What the generator does

The import kit turns each HubSpot page into a plain document: text, images, and one table per block. The package generator reads that document and writes AEM content:

In the converted documentBecomes on AEM
HeadingsTitle component
Paragraphs, lists, quotes, tablesText component (rich text, tags the editor allows)
ImagesImage component, pointing at an asset in the DAM
A link styled as a buttonButton component
Hero, cards, carousel slidesTeaser components (image, title, text, link or call to action)
ColumnsContainers side by side on the responsive grid
Accordion, tabsAccordion and Tabs components, one panel per item
Video and embedsEmbed component
Section breaksOne container per section
A block with no Core ComponentIts content as plain components in a container, listed for an engineer
Page title and descriptionPage properties

Links to other pages of the old site are rewritten to the new content paths. Resized image addresses are traced back to the original file, so each image is stored once.

2. The package

hubspot-demo-to-aem-1.0.0.zip: 43 files, 0.2 MB, 8 of 8 images inside. It holds content only (/content and /content/dam), nothing under /apps or /conf, which is why Package Manager can install it on AEM as a Cloud Service. It expects a project made with Adobe's AEM Project Archetype (here with appId surgedemo): its proxy components and its page template.

Core ComponentWritten
surgedemo/components/container38
surgedemo/components/title37
surgedemo/components/text34
surgedemo/components/image13
surgedemo/components/button6
surgedemo/components/teaser3

Pages

Old addressNew pageComponentsSections
//6 image, 18 container, 7 title, 7 text5
/about-us/about-us1 image, 3 container, 1 title, 1 text1
/blog/blog-post-3/blog/blog-post-34 title, 4 text, 3 image1
/blog/blog1 text, 3 teaser, 3 container2
/contact/contact3 image, 3 text, 1 container1
/pricing/pricing6 title, 6 text, 4 container1
/recruiting-agency/role-listing/recruiting-agency/role-listing14 title, 11 text, 9 container, 6 button4
/typography/typography5 title, 1 text1

The filter

Each page's content is replaced; its child pages and everything else on the site are left alone.

<filter root="/content/surgedemo/us/en/hubspot-demo/about-us/jcr:content"/>
<filter root="/content/surgedemo/us/en/hubspot-demo/blog/blog-post-3/jcr:content"/>
<filter root="/content/surgedemo/us/en/hubspot-demo/blog/jcr:content"/>
<filter root="/content/surgedemo/us/en/hubspot-demo/contact/jcr:content"/>
<filter root="/content/surgedemo/us/en/hubspot-demo/jcr:content"/>
<filter root="/content/surgedemo/us/en/hubspot-demo/pricing/jcr:content"/>
<filter root="/content/surgedemo/us/en/hubspot-demo/recruiting-agency/role-listing/jcr:content"/>
<filter root="/content/surgedemo/us/en/hubspot-demo/typography/jcr:content"/>
<filter root="/content/dam/surgedemo/migrated/hubfs/boilerplate/grayscale-mountain.png"/>
<filter root="/content/dam/surgedemo/migrated/hubfs/compressed-test/grayscale-mountain.png"/>
<filter root="/content/dam/surgedemo/migrated/hubfs/raw_assets/public/cms-theme-boilerplate/images/email.png"/>
<filter root="/content/dam/surgedemo/migrated/hubfs/raw_assets/public/cms-theme-boilerplate/images/grayscale-mountain.png"/>
<filter root="/content/dam/surgedemo/migrated/hubfs/raw_assets/public/cms-theme-boilerplate/images/location.png"/>
<filter root="/content/dam/surgedemo/migrated/hubfs/raw_assets/public/cms-theme-boilerplate/images/phone.png"/>
<filter root="/content/dam/surgedemo/migrated/hubfs/team-image.jpg"/>
<filter root="/content/dam/surgedemo/migrated/hubfs/will.jpg"/>

One component, as written

From jcr_root/content/surgedemo/us/en/hubspot-demo/blog/.content.xml, unedited:

                            <teaser
                                jcr:primaryType="nt:unstructured"
                                actionsEnabled="{Boolean}true"
                                alt="\{{ picture_of_text }} {{ content.blog_author.display_name }}"
                                altValueFromDAM="{Boolean}false"
                                descriptionFromPage="{Boolean}false"
                                fileReference="/content/dam/surgedemo/migrated/hubfs/will.jpg"
                                imageFromPageImage="{Boolean}false"
                                jcr:description="&lt;p&gt;&lt;a href=&quot;/content/surgedemo/us/en/hubspot-demo/blog/author/william-spiro.html&quot;&gt;William Spiro&lt;/a&gt;&lt;/p&gt;&#xa;&lt;p&gt;&lt;a href=&quot;/content/surgedemo/us/en/hubspot-demo/blog/tag/tag.html&quot;&gt;Tag&lt;/a&gt;&lt;/p&gt;&#xa;&lt;p&gt;March 22, 2021&lt;/p&gt;&#xa;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ultricies finibus ante non varius....&lt;/p&gt;"
                                jcr:title="Blog Post 12"
                                sling:resourceType="surgedemo/components/teaser"
                                textIsRich="{Boolean}true"
                                titleFromPage="{Boolean}false">
                                <actions
                                    jcr:primaryType="nt:unstructured">
                                    <item0
                                        jcr:primaryType="nt:unstructured"
         
…

3. Installed on AEM

We installed the package through Package Manager on a local AEM as a Cloud Service SDK (2025.4.20476, Core Components 2.28.0) that held a fresh Archetype project. The install reported success with no errors. Then we requested every page and every image the page asked for.

PageAnswerTitle shownTeasers shown / writtenImages served / on page
/200yes0 / 06 / 6
/about-us200yes0 / 01 / 1
/blog/blog-post-3200yes0 / 03 / 3
/blog200yes3 / 33 / 3
/contact200yes0 / 03 / 3
/pricing200yes0 / 00 / 0
/recruiting-agency/role-listing200yes0 / 00 / 0
/typography200yes0 / 00 / 0

One of the pages on that instance, with the Archetype's bare default styles (your own theme is not part of the package):

A converted HubSpot demo page shown by AEM, unstyled

What this shows honestly: 8 of 8 pages render, and 3 of 3 teasers written appear on the pages. All 16 images are served. Pages that were on the site before the install are still there. This is a local SDK, not a customer's cloud environment, and the pages carry no design: header, footer, navigation and styles belong to your project.

4. What it leaves for a person

Try the package yourself

Generate a project with Adobe's AEM Project Archetype using appId surgedemo, deploy it to a local SDK, then upload this zip in Package Manager. The pages appear under /content/surgedemo/us/en/hubspot-demo.

Download the package (0.2 MB)How the move worksScan your HubSpot site