API Integration and OAuth for individual portal


#1

We are integrating an external API through custom code.This is not a public app or integration , but custom to our portal.The documentation says you can use either API key method or OAuth method.We have it working using api key method , but prefer OAuth method.Most of documentation is geared towards commercial apps.So question is that can we use OAuth flow just for our integration?


#2

Hi @arvindbc. yes you should be able to use Oauth to authenticate your application, even if it's just a custom integration for your portal. You'd just need your portal to grant access to the tools that your Application requests. Following steps 1-4 is your best bet: https://developers.hubspot.com/docs/methods/oauth2/oauth2-overview