Export all my page modules to another projet

Hi,

I have been searching for answers on your Designers Docs and around here and still have no clue if what I’m trying to do is possible or not.

We have actually 2 Hubspot CMS and are negotiating a third purchase.
Those are 3 different websites, with 3 different domains. So I’m always switching between accounts.
Anyway, our third website will be very similar to our second, so I’ve been searching for a way to export all of our page modules (fields included) to an account from another.

CSS will be the only differences between my two websites, we just want to change our look and fill but keep the same modules structures.
Is there a way to do that ?
Fyi : I’m always working with static HTML/CSS and then converting them into modules in “Design Tools”, I don’t know if there is a way to create fields modules without using your user interface… (which is pretty useful !)

Welcome, @Dotpeach.

You can copy page templates and their dependencies, including attached JS and CSS files, global groups, and custom modules, to other accounts with this in-app functionality. Is that what you’re looking for?

You may also get a lot of value out of the new HubSpot CMS CLI, which allows you to sync assets with HubSpot accounts from your local environment.

Hello Isaac,

I have a question, somewhat related to the topic of this question. I’m a developer for an application that holds media files: images and videos. I want to develop an integration application/module, which will allow different Hubspot customers to importa media from my application directly into their site. The question I have is: how can this installation of the custom module can be made with Hubspot API available, since the CLI is not a nice way. I guess, is not clear to me how can I develop a custom module which then can be made available for customers to install via Hubspot market place.

Thanks

Marcel