CMS Development

guilhermenetode
Member

How can I properly create a HubSpot UI Extension using React?

SOLVE

Hi everyone,

I’m trying to create a UI Extension in HubSpot CRM using React (as an iframe-based extension), not a CRM card.

I already have a Developer Account with UI Extensions Beta enabled.

However, it’s still a bit confusing with the current flow — there’s a difference between Apps and Projects, and I want to understand the correct and supported way to create an actual iframe-based UI Extension that runs a React app inside the CRM (sidebar, card, or tab).

My questions are:

Should I create a Project using the CLI with hs project create --template=ui-extension?
Do I still need to create an App separately in the Developer Portal and link my deployed React app to an Extension Point?
Is there an official example of a React-based UI Extension using postMessage to communicate with HubSpot CRM?

If anyone can share a clear and updated flow for June 2025, that would be super helpful.

Thanks in advance!

0 Upvotes
1 Accepted solution
kosalaindrasiri
Solution
Top Contributor | Partner
Top Contributor | Partner

How can I properly create a HubSpot UI Extension using React?

SOLVE

Hey @guilhermenetode,

 

It’s definitely a bit confusing at first, especially with the mix of Apps vs. Projects vs. Extensions.

@Jaycee_Lewisgave a great clarification too.

 

I’d recommend checking out these docs as well, they help a lot;

 

Regards,

Kosala Indrasiri

CEO

Sanmark Solutions
Linkedin
Kosala Indrasiri
emailAddress
kosala@thesanmark.com
website
www.sanmarksolutions.com
linkedinwhatsapp
Book a Consultation

Did my post help answer your question? Mark this as a solution.

View solution in original post

0 Upvotes
2 Replies 2
kosalaindrasiri
Solution
Top Contributor | Partner
Top Contributor | Partner

How can I properly create a HubSpot UI Extension using React?

SOLVE

Hey @guilhermenetode,

 

It’s definitely a bit confusing at first, especially with the mix of Apps vs. Projects vs. Extensions.

@Jaycee_Lewisgave a great clarification too.

 

I’d recommend checking out these docs as well, they help a lot;

 

Regards,

Kosala Indrasiri

CEO

Sanmark Solutions
Linkedin
Kosala Indrasiri
emailAddress
kosala@thesanmark.com
website
www.sanmarksolutions.com
linkedinwhatsapp
Book a Consultation

Did my post help answer your question? Mark this as a solution.

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

How can I properly create a HubSpot UI Extension using React?

SOLVE

Hey hey @guilhermenetode 👋 Thanks for the great question. Here's how I think about it:

  • think of a Project as your local coding workspace, created with the HubSpot CLI. It's where you build your extension
  • the App is the final product in the developer portal that users install. It handles authentication and permissions
  • you simply link your deployed Project to an App to make it live for users

If you run into any specific errors while you're getting set up, don't hesitate to post back here or create a new thread.

 

Have fun building! — Jaycee


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes