Setting Up HubSpot for OAuth

Step 1: Create a HubSpot App

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

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

4. Create App: Click “Create App” to finish.

Step 2: Configure OAuth & Permissions

  1. Auth Settings: Navigate to “Auth” from the left-hand sidebar in your app dashboard.
  2. Redirect URLs: Add the redirect URL where HubSpot will send users after authorization. Use the following format: https://your-host/api/oauth2/redirect/hubspot.
  3. 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

  1. Save Changes: Click “Save” to save your OAuth settings.

Step 3: Obtain Client ID and Client Secret

  1. App Dashboard: Navigate back to your app dashboard.
  2. 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

  1. Access Configuration: In your application, navigate to the sidebar and select “CONFIGURE APPS”.

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

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

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