I’ve juste created an app (app_id : 36821) on my dev account (hub_id : 2595735). I’ve use the api to create new Event Type with its own properties. Everything ok.
Now I want to “install” this app into my test portal (hub_id : 2596495) to send events with this new event type. I cant figure out how to do that. I’ve looked around the forum and documentation but I cant found how to install a test app.
It took me days to figure out that I needed to go through the second step of Oauth (converting the code to a token) in order to connect my app to an account. This is very confusing and should be documented more clearly. I suggest an article along the lines of “How to connect a private app to your hubspot account”
@steffentchr@GeoffMcQueen The most likely reason for getting that missing scopes error is that the settings for the app you’re trying to authorize has scopes checked off that you’re not including in the authorization URL. Any scopes checked in the app settings are considered required, so they’ll need to be included or you’ll get that error.
Thank you for that heads up dadams! I was going crazy trying to figure out why I couldn’t get my oAuth working, is that in the documentation along the lines of what you said? If so I am blind.
The app won’t currently appear anywhere inside the portal. We’re in the process of building a new UI that will show all installed apps instead of just featured apps.
The App is actually installed and functioning (ie, firing webhooks, etc) after executing the oAuth approval flow, even though there isn’t a “well done congrats” type experience, and
The App isn’t visible to the Test Portal because only recommended Apps appear?
The end of the OAuth authentication process should end with your app receiving the code after redirecting to the redirect URI you specify in the initial authorization URL, so if you get that code that means the app was authorized, and you’ll start getting webhooks at that point. You can view the history of webhooks you’ve received by viewing the webhook subscriptions dashboard in your app settings.
The app will not be visible in the portal. At the moment only HubSpot internal integrations will appear as installed, with the featured integrations listed, but we’ll have a new dashboard that shows all installed apps soon.
Hi. I’m trying add a private application from my developer portal into the test portal using the oauth. this all works (apparently), the requetsbin gets the code: c7c4eb74-7e86-4e06-b341-5944d6472368 so the registration looks like its worked.
The application has basic webhook subscriptions for contacts (create, delete). But the webhooks don’t fire and aren’t logged in development portal. I don’t know how to debug.
Hi everyone!! One more info about this portal auth with application.
You should use private application to to this! I got an integration with private application. Also what i investigated is that you can pass different scopes with private app even if they don’t set in app settings.
But
this is small recap:
Try use same amount of scopes in request url as selected in app settings
For test and development please crete the private application instead public
inside request url scopes should be separated by %20 symbol. But if you are using omniauth-hubspot gem you should use just gaps.
This seems to be the correct page because it says :
Request for Integration Permission
BAP Test wants permission to:
Create timeline events
Provides the ability to add events to contact timelines
Read from and write to my Contacts
This includes prospects, lists, forms
When I click on “Grant access” I get redirected to :