Introduction
Setting Up
Using OOERP
Automation
Accounts
Asset
Buying
CRM
Human Resources
E-Commerce
Loan Management
Projects
Quality Management
Selling
Stock
Support
Website
Agriculture
Education
Healthcare
Hospitality
Manufacturing
Non Profit
Customization
Integration
Regional
OneOffice Logo

Google Settings

To enable Google Integrations, OneOfficeERP 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 a synchronization with Google Calendar, Google Contacts or Google Drive you need to authorize OneOfficeERP to get data from Google. Following is an example for setting up Google Contacts Integration

  1. Create a new project on Google Cloud Platform and generate new OAuth 2.0 credentials.

2. Enable API Access in API Library for the Integration you wish to integrate.

  • Google Calendar: Calendar API
  • Google Contacts: People API
  • Google Drive: Drive API

3. In API & Services > Credentials create a new Credential and select Create OAuth client ID 4. Select Application Type Web Application 5. Add https://{yoursite} to Authorized JavaScript origins. 6. Add https://{yoursite}?cmd=frappe.integrations.doctype.{integration_name}.{integration_name}.google_callback as an authorized redirect URI.

  • You need to replace integration_name with one of the following:
    * Google Calendar: google_calendar
    * Google Contacts: google_contacts
    * Google Drive: google_drive
  • eg: for Google Contacts URL will be https://{yoursite}?cmd=frappe.integrations.doctype.google_contacts.google_contacts.google_callback

7. 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.