Using secrets in Marketplace React app

Madhan-d
Participant | Gold Partner
Participant | Gold Partner

Hello,

I am developing a marketplace app in react and it communicates to an external API. The communication to external endpoint requires a secret. I was wondering what would be the best approach to store this secret. I stumbled across hs secrets. Which looks like it would fulfill the criteria. But I am not able to find any documentation on how to use those hs secrets inside my marketplace app. I did see some documentation on how serverless functions can use those secrets but that is not relevant as I am working on marketplace app. If anybody have some insights on this please share your thoughts. 

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

Hello @Madhan-d,

 

First of all, are you building a 'UI Extension' using HubSpot Projects, or a traditional external Web App?

Below resources might be a help to you.

 

https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/fetching-d...

kosalaindrasiri_0-1764180759091.png

Also I found this video guide: https://youtu.be/Y_YayvH0dAE?si=fXZTe2MnplLEJNM1&t=420

 

 

Hope these will help you!

 

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
5 Replies 5
Madhan-d
Participant | Gold Partner
Participant | Gold Partner

It is a 'UI Extension' using HubSpot Projects'. Yeah we are not storing any secrets in code. But the market place app should make a request to an external endpoint and that endpoint needs a code to authenticate the request. Yes we are also validating the hubspot signature in the backend when handling the request. Adding the code adds another layer of security to protect our endpoints. That is why been looking if there is a recommended way to store these secrets. hs secrets is also something that would be suitable. Unfortunately that is not available with UI extensions projects app

0 Upvotes
BérangèreL
Community Manager
Community Manager

Hi @Madhan-d,

Thank you so much for taking the time to share your valuable feedback, it truly means a lot to us!
 

I recommend submitting your thoughts through the HubSpot Developer Feedback form so they reach the right team, but if you’d prefer, I’d be more than happy to submit it for you.


If there’s anything else you need or any way I can assist further, please let me know, I’m always here and happy to help!
 

Wishing you a wonderful day,
Bérangère





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes
Madhan-d
Participant | Gold Partner
Participant | Gold Partner

Yes please, You can submit it to the right developer feedback  forum. Thank you

0 Upvotes
BérangèreL
Community Manager
Community Manager

Thank you so much for confirming @Madhan-d ! I went ahead and submitted your feedback to the developer forum.

If you have any other suggestions or questions, feel free to share, I’m always here to help.

Thanks again for your input! 😊
Bérangère





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




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

Hello @Madhan-d,

 

First of all, are you building a 'UI Extension' using HubSpot Projects, or a traditional external Web App?

Below resources might be a help to you.

 

https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/fetching-d...

kosalaindrasiri_0-1764180759091.png

Also I found this video guide: https://youtu.be/Y_YayvH0dAE?si=fXZTe2MnplLEJNM1&t=420

 

 

Hope these will help you!

 

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