Creating Service Accounts for Connectors Using OAuth Authentication

The steps below describe how to create service accounts for connectors with OAuth authentication.

Hubspot

To connect to HubSpot using DPS HubSpot Connector, you need:

  • Client ID
  • Client Secret
  • HubSpot account and password

Obtaining a Client ID and Client Secret for HubSpot

  1. Create HubSpot Developer Account. Remember the username and password as you will need this to request tokens via oauth in Data Prep Studio.
  2. Create an App
    1. Enter Public app name.
    2. Go to Auth tab. Under Auth Settings, set Redirect URL to “http://localhost:33333/”
    3. Click on the Create App button.
  3. Obtain a Client ID and Client Secret from the newly created App.
    1. Go to Manage Apps and choose your Application:
    2. Go to Basic Info > Auth tab to get the Client ID and Client Secret:
    3. Note the Client ID and Client Secret, as you will need these to request tokens via oauth in Data Prep Studio.
  4. Scopes determine the permissions your app has to access data or perform actions on HubSpot. You may need to update Required scopes to add permissions:

Refer to the following for additional information:

  • https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart
  • https://legacydocs.hubspot.com/docs/faq/how-do-i-create-an-app-in-hubspot

Google BigQuery

Go to https://console.cloud.google.com/apis/credentials.

  1. Login to your Google account.

  2. Select a project.

  3. Select Create Credentials > Service Account.

  4. Specify a Name and Description.

  5. Note of the Service Account ID. This will be the value for OAuthJWTIssuer.

  6. Click Create Button, Continue, then Done.

  7. Edit the new service account.

  8. Select Keys > Add Key > Create New Key,

  9. Select P12 key type, then Create.

     

    A p12 file will be generated. This will be the value for OAuthJWTCert.

  10. Take note of the private key password (e.g. “notasecret”), this will be the value for OAuthJWTCertPassword.

  11. Click Save.

  12. Select Create Credentials, OAuth Client ID.

  13. Select Desktop app as Application Type, then set the Name.

  14. Note the Client ID and Client Secret. These will be the values for OAuthClientId and OAuthClientSecret, respectively.

     

  15. Go to Library, search for Google Drive API and Google BigQuery API, and click on Enable API.

 

 

 

© 2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support