APIs & Integrations

VigneshIyappan
Participant

Domain/Tenant name in public app

SOLVE

How do i create a public app in Hubspot. In that public app i will show the cards by getting data from my backend apis. But one thing when a user tries to install the app in hubspot he must enter the domain and after the domain is valid then only he can install the app. Also in each card request the domain name must be sent in order to find the tenant in the backend ?

(Or)

Is there any better way to achieve this from hubspot?

0 Upvotes
1 Accepted solution
AliFawadHassan
Solution
Member

Domain/Tenant name in public app

SOLVE

@VigneshIyappan 
Documentation ( https://developers.hubspot.com/docs/api/creating-an-app ) 
and Sample Public app ( https://ecosystem.hubspot.com/marketplace/apps/sales/data-management/saular-924348 )
Redirect URI will be yours custom code webpage, its upto you, which languague you would prefer.

View solution in original post

3 Replies 3
AliFawadHassan
Member

Domain/Tenant name in public app

SOLVE

Hey @VigneshIyappan 
For marketplace app, you need to create a custom web page, that you will use as redirect uri, there you will ask the user to enter the domain, using script you need to validate that and if validated successfully you can use the code from params and install the app to that account.

VigneshIyappan
Participant

Domain/Tenant name in public app

SOLVE

@AliFawadHassan Thank you for the solution. Could you please share any reference URLs or articles? Nonetheless, I appreciate your response.

0 Upvotes
AliFawadHassan
Solution
Member

Domain/Tenant name in public app

SOLVE

@VigneshIyappan 
Documentation ( https://developers.hubspot.com/docs/api/creating-an-app ) 
and Sample Public app ( https://ecosystem.hubspot.com/marketplace/apps/sales/data-management/saular-924348 )
Redirect URI will be yours custom code webpage, its upto you, which languague you would prefer.