Integrating with Google APIs
Pathfix allows you to easily add end-user OAuth based integration, handling authorization and enable communication between your app and any Google API in just a few minutes. The following documentation takes the example of Google Task, but you can follow the same process and activate any other Google Product API.
Before proceeding, you will need to create an account with Google Cloud Platform and register your application. Please refer the developer documentation provided by Google Cloud Platform.
Important Note: For restricted scopes, Google requires a mandatory security assessment that is charged by Google. This is more specific to Products like Google Mail. You can read more about this here: Link Link 2
Access your Application on Google Cloud Console
Once you have added your application, you will need to navigate to Credentials
- Navigate to Create Credentials
- Select OAuth Client ID
- Navigate to Authorised redirect URI's under Restrictions
- Add the Pathfix Redirect URI https://labs.pathfix.com/integrate/command under the Redirect URI section
- Hit Create
- Go to Google API Dashboard here: https://console.cloud.google.com/projectselector2/apis/dashboard?supportedpurview=project
- Click on Libraries on the left pane
- Search for Google Tasks and choose Cloud Tasks API
- Click on Enable
You will need to add the Pathfix URL in the Google consent page to provide access.
- Enter the Pathfix URL pathfix.com under Authorised domains (do not enter 'http' or 'https')
- Login to your Pathfix account and click on Add Application
- Add the name of your SaaS and hit Save
- Select Google from the list of providers to integrate with. You can change the Display Name and Description.
- Enter the Client ID and Client Secret generated from Google
There are 2 steps to adding the integration to your SaaS
Need help? Reach out to us at [email protected] and we would be happy to assist!