Setting Up HubSpot for OAuth
Step 1: Create a HubSpot App
- Sign in to HubSpot: Visit the HubSpot Developers website and follow the instructions provided in the HubSpot Documentation to create a HubSpot Developer account.
- Create New App: Click on “My Apps” > “Create App”.

- Enter App Details: Provide a name for your app (e.g., “valmi.io”) and select the permissions your app needs.

Step 2: Configure OAuth & Permissions
- Auth Settings: Navigate to “Auth” from the left-hand sidebar in your app dashboard.
- Redirect URLs: Add the redirect URL where HubSpot will send users after authorization. Use the following format:
https://your-host/api/oauth2/redirect/hubspot
. - Scopes: Add the required OAuth scopes for your integration:
crm.objects.contacts.read
crm.objects.contacts.write
crm.objects.companies.read
crm.objects.companies.write

- Save Changes: Click “Save” to save your OAuth settings.
Step 3: Obtain Client ID and Client Secret
- App Dashboard: Navigate back to your app dashboard.
- Credentials: Your Client ID and Client Secret will be displayed on this page. Copy them for use in valmi.io.

Step 4: Configure HubSpot OAuth in valmi.io
- Access Configuration: In your application, navigate to the sidebar and select “CONFIGURE APPS”.

- Select HubSpot OAuth Application: Find the HubSpot OAuth application from the list of available applications and select it.

- Enter Credentials: Provide the HubSpot Client ID and Client Secret that you obtained earlier into the input fields.

- Save Configuration: Click “Save” or “Update” to save the configuration.