Setting up OAuth with Hubspot
To setup OAuth with hubspot, you will need a developer account.
Once you are in your developer account, you will have a side panel, click on "Apps"
In there, click "Create new App", you will be presented with the following screen.
You need at minimum to have an app name; but ideally you should also add your logo and a description (this description will be visible on marketplaces and during the authorization process).
Once you are happy with the marketing/display; head on the "Auth" tab, scroll down, and insert the redirect url https://portal.astarlogic.com/callback/Hubspot
This is also a good time to select the scopes you want to be used by your app. We require:
- crm.objects.companies.read
- crm.objects.companies.write
- crm.objects.contacts.read
- crm.objects.contacts.write
Once done, you need to click on create the app, and only then you can head back to the "Auth" tab, and your credentials will be there.
Finally, go back to A* Logic console in Settings > OAuth credentials, paste your credentials and select 'Hubspot'.
Hit Send/Update and you are good to go.