ROOM64 / KNOWLEDGE / ERPNEXT

Google Settings

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

อ่านต้นฉบับที่ ERPNext Official Docs ↗
เอกสารอ้างอิงภาษาอังกฤษเนื้อหาจากเอกสาร ERPNext คงรายละเอียดและโค้ดตามต้นฉบับ · ต้นฉบับอัปเดต 2026-02-26 ชื่อเมนูและ DocType ที่ใช้ได้ขึ้นอยู่กับเวอร์ชันและรุ่นที่ทีมใช้งาน

Projects · โครงการและงานบริการ · Google Settings

สารบัญในหน้านี้

To enable Google Integrations, ERPNext 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 and Google Indexing

In order to allow a synchronization with any of the above mentioned services, you need to authorize ERPNext 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. ภาพประกอบ Google Settings จาก ERPNext
  • 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
    • Google Indexing: Indexing API ภาพประกอบ Google Settings จาก ERPNext
  • In API & Services > Credentials create a new Credential and select Create OAuth client ID

  • Select Application Type Web Application

  • Add https://{yoursite} to Authorized JavaScript origins.

  • Add https://{yoursite}?cmd=frappe.integrations.doctype.google_calendar.google_calendar.google_callback as an authorized redirect URI for Google Calendar.

  • Add https://{yoursite}/api/method/frappe.integrations.google_oauth.callback as an authorized redirect URI for rest of the services.

ภาพประกอบ Google Settings จาก ERPNext

  • Add your Client ID and Client Secret in the Google Settings in Home > Integrations > Google Services > Google Settings

For Google Maps

Setting the API Key is only required if you want to use the Directions API, for example in ERPNext's Delivery Trip . For the other features, this is not required.

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.
  • 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 . ภาพประกอบ Google Settings จาก ERPNext
เนื้อหาเอกสารอ้างอิงและภาพประกอบมาจาก ERPNext / Frappe Official Docs · บทความแนะนำภาษาไทยเรียบเรียงโดย Room64 · เว็บไซต์นี้เป็นคู่มือประกอบการใช้งานโดย Room64 · เอกสารทางการ ↗

มีงานที่อยากให้ Software, AI หรือ Automation ช่วยอยู่ไหม?

เล่า workflow หรือปัญหาที่ทีมกำลังเจอ เราช่วยดูได้ว่าควรใช้ระบบสำเร็จรูป เชื่อมเครื่องมือเดิม หรือพัฒนาเพิ่มเฉพาะส่วนไหน

คุยกับเราทาง LINEhello@room64.net