Google Settings

To enable Google Integrations, TechoERP needs access to the API through which the data will be synced which is achieved using OAuth 2.0 Authentication Protocol.

How to set up Google Settings

For Google Calendar, Google Contacts, Google Drive

In order to allow synchronization with Google Calendar, Google Contacts, or Google Drive you need to authorize TechoERP to get data from Google. Following is an example for setting up Google Contacts Integration

  1. Create a new project on the Google Cloud Platform and generate new OAuth 2.0 credentials. 
  2. Enable API Access in API Library for the Integration you wish to integrate.
  3. Google Calendar: Calendar API
  4. Google Contacts: People API
  5. Google Drive: Drive API
  6. In API & Services > Credentials create a new Credential and select Create OAuth client ID
  7. Select Application Type Web Application
  8. Add https://{yoursite} to Authorized JavaScript origins.
  9. Add https://{yoursite}?cmd=frappe.integrations.doctype.{integration_name}.{integration_name}.google_callback as an authorized redirect URI.
  10. You need to replace integration_name with one of the following:
  11. Google Calendar: google_calendar
  12. Google Contacts: google_contacts
  13. Google Drive: google_drive
  14. eg: for Google Contacts URL will be https://{yoursite}?cmd=frappe.integrations.doctype.google_contacts.google_contacts.google_callback
  15. Add your Client ID and Client Secret in the Google Settings in Home > Integrations > Google Services > Google Settings

For Google Maps

In order to allow a synchronization with Google Maps you need to generate an API key as Google Maps doesn't need access to data from Google.

  1. Create a new project on Google Cloud Platform and generate new API Key.
  2. Enable API Access in API Library for the Directions API and then add the API Key in the Google Settings in Home > Integrations > Google Services > Google Settings