After that, how can I use the card I just created?
I access to hubspos dashboard by this URL: https://app.hubspot.com/dashboard-library/8013920. And the app and card were created by a develop account. How does the develop account link the the dashboard? Or how does the app link to the dashboard? All concepts "app", "dashboard", "develop account", "card" are confusing me and I can't find doc about how to use them.
Can you please provide me some guide on this thanks?
I recommend putting in the extra effort to set up OAuth2, even if it's only you using it.
Once you authorise the App, in your Portal, you can still use the Hapikey for development.
But, for day to day use, we alays set up an OAuth connection because it's more reliable.
When testing I like to use Postman to check everything's working as planned (using both OAuth and the Hapikey).
If you go with OAuth you need to make sure you Scopes are identical and in the same order as your App (e.g. same in your code as the app because it creates a hash that won't be the same if the order is different).
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.
@Mike_Eastwood might be able to provide some more insight!
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.
To create custom CRM cards, your app has to request the OAuth scopes needed to modify the CRM records where your card will appear. This means you request the contacts scope to set up a card for contacts, companies, or deals, and the tickets scope to do the same for tickets.
See the OAuth documentation for more details about scopes and setting up the authorization URL for your app.
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.
The doc https://developers.hubspot.com/docs/api/intro-to-auth you mentioned, doesn't really tell how to connect the app to the portal. I have three accounts in the normal portal, `prod`, `staging` and `dev`. And I created a developer account. How does the develop account link to each normal portal account?
When you create the app, you will creating an auth url that will be used to authorize the app to be used in a portal (can be multiple). Once approved, there will be a redirect to a success page of your creation.
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.
The dashboard lives in a normal portal. You would need to connect the app to the portal. Here is a doc on authentication methods for your app. We strongly advise using OAuth
Good luck with your project!
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.