Setting up integration between hubspot and external application

Hi,

I had a few queries regarding the integration steps:

1. While authorizing or granting access to an app*( created using a developer account)* in our production hubspot account (not test account), can we use https://www.example.com as the redirect_uri value? All we need is the code so that we can then use it to retrieve access token and refresh token.

2. Do we need developer account to create timeline event types? Can’t we define them directly in the prodction hubspot account?

3. Is the authorization step a one time thing? Since, refresh token never expires, once we get the access token and refresh token, we should be able to keep using the refresh token to fetch new access token when the current one expires.

Thanks,

Aanchal

Welcome, @aanchal.

Happy to clarify:

  1. Yes, you can. You can use any URI as long as you keep it consistent throughout the OAuth flow.
  2. Yes, you do need a developer accout to define timeline event types.
  3. Yes, that’s correct. If you never disconnect the app from your production account, you’ll only ever go through the authorization flow once.

Please let me know if you have additional questions on this topic.

Thank you @IsaacTakushi for the clarification.

@IsaacTakushi I had one more question. After the app is granted access to the a hubspot account, what will happen if the developer account is deleted or the email used in the developer account is deactivated?

Hi, @aanchal.

Happy to clarify.

You won’t be able to delete the developer account which created the app as long as the app is installed on a production account.

I also highly discourage deactivating the email used to access the developer account without an alternative.

Sure thank you @IsaacTakushi