Glorious hubspot integration
0. If testing localDev:​
Add to application.yml and restart server: hubspot_app_secrets_localDev: 'b30f11fd-b74d-4a00-ba30-80e3f2ec8002'
1. Install App on Hubspot:​
Visit the following URL to install: Local Dev app: https://app.hubspot.com/oauth/authorize?scope=contacts%20content&redirect_uri=https://localhost:3000/hubspot/auth-callback/local-dev&client_id=428c7c1e-9ba6-4320-90d9-d4bbe205d1e6
Gallery (Microblog): https://app.hubspot.com/oauth/authorize?scope=contacts%20content&redirect_uri=https://www.powr.io/hubspot/auth-callback/microblog&client_id=3e72e7a1-0be7-469d-9719-f86cdcbbe237
2. Sign in through lastpass if not signed in. Sign in through [email protected] account, NOT [email protected]​
3. Click first option for test site​
It should redirect you to standalone or users/me depending on whether you have apps / can be auto signed in.
4. Copy and a paste shortcode into the test site and app should instantly appear:​
Example Test site page: https://app.hubspot.com/content/5801578/edit/9073471049/content