Go to the HubSpot Developer Portal and create a new app.Add the basic app info: name, description, logo.On the auth tab, you will need to provide the Strata OAuth callback endpoint as your redirect URL. This url is also displayed in the Strata dashboard when you create the HubSpot integration.
Finally, add your app scopes. In order to use webhooks or API polling to receive CRM events, your app will need to be configured to authorize the Required scopes that correspond to the CRM object type you want to subscribe to. For example, if you want to subscribe to contact events, you would need to request the crm.objects.contacts.read scope.
HubSpot incremental syncs use webhook subscriptions. Subscriptions apply to all customers who have authorized your integration. You can follow the instructions here to create webhook subscriptions in your HubSpot developer account.
Use the Strata SDK to prompt users to authorize your app. Note users must be a Super Admin or have App Marketplace access permissions in order to authorize and app for their HubSpot account.