I have created an app using OAuth, now what do I do to get any Hubspot account to integrate with it. I see that I can generate an API key, but that does me no good since I need a client ID and secret generated.
@jsimone Once you have an app created you need to install it to your portal. If you log into your dev portal you can grab the client secret and ID there. Then you can use OAuth to install it to whichever portal you can authenticate into.
Yes Peter, I have already done so. I logged into my dev portal, grabbed
the client ID and secret and use those to OAuth with. All this has been
working for a couple of months now.
My question is: How do I get this app to our Hubspot customers? I
realize they can go into their CRM accounts and generate an API key, but my
code used OAuth - as recommended in the API docs - it does not make use of
passing in the API key on the URL.
I asked if I needed to be a Hubspot connect partner and I was told no, I
did not have to be.
-> " Are you looking to copy it to their dev portal or to install it to
their marketing portal?"
Neither. Why do you assume that a Hubspot CRM customer would have either
a dev portal - they are not developers - or a marketing portal - they are
CRM customers only?
Why would the developer API suggest I use OAuth and then not allow me get
access to the client ID and secret? What am I missing here? First I was
told to become a hubspot connect partner, then I was told I did not need
to be. Can you please call me at — to help me understand what
is going on?
So, if I understand you correctly - the client ID and secret generated by my dev portal and assigned to my app is good for ALL Hubspot CRM accounts. This implies the same credentials authenticate to any users account?
This is certainly very different from our Salesforce integration. In that integration, each salesforce account generates unique client ID and secret and those credentials are then used to provision the OAuth in our app integration.
I am available today and tomorrow. Thanks for your help. It is appreciated.
@jsimone
Yes the client ID and secret is for the app and is good for all crm accounts. You will need to authenticate into the CRM account via your normal login when you go through the oauth flow to “install” the app to that crm account/portal. Right now I have an open block from 1-3 tomorrow afternoon EST. Would a half hour call work for you during that time?
I am having confusion that during oauth hubspot returns with code and redirects to base url. Now, to exchange authoorisation token, I need client secret. How would I get client secret?