System Setup - rtCamp/frappe-appointment GitHub Wiki
- Visit Google Cloud Project Creation.
- Create a project with a suitable name and location.
- Navigate to Consent Screen Setup.
- Choose User Type:
- Internal: For organizational use (requires Google Workspace).
- External: Requires app verification due to sensitive scopes.
- Fill out the following:
- App Name: Enter a name for your app.
- Support Email: Add your contact email.
- Authorized Domain: Provide your app's domain or skip to auto-generate.
- Click Add or Remove Scopes.
- Either include the full
https://www.googleapis.com/auth/calendar
scope or add the following fine-grained scopes:
API | Scope |
---|---|
Google Calendar API | .../auth/calendar.calendarlist.readonly |
Google Calendar API | .../auth/calendar.events.freebusy |
Google Calendar API | .../auth/calendar.events.public.readonly |
Google Calendar API | .../auth/calendar.calendarlist |
Google Calendar API | .../auth/calendar.calendars |
Google Calendar API | .../auth/calendar.calendars.readonly |
Google Calendar API | .../auth/calendar.events |
Google Calendar API | .../auth/calendar.events.owned |
Google Calendar API | .../auth/calendar.events.owned.readonly |
Google Calendar API | .../auth/calendar.events.readonly |
- Visit Calendar API Marketplace.
- Click Enable.
- Navigate to Google API Credentials.
- Select Create Credentials > OAuth Client ID.
- Configure:
- Application Type: Web application.
- Authorized JavaScript Origins: Add your Frappe app’s base URL (must use HTTPS).
- Authorized Redirect URIs:
<BASE_URL>?cmd=frappe.integrations.doctype.google_calendar.google_calendar.google_callback
Replace <BASE_URL>
with your Frappe installation URL, e.g., https://erp-dev.rt.gw
.
- Save the generated Client ID and Client Secret.
Note: Use the same OAuth credentials for other Frappe integrations like Gmail Threads or Drive.
bench get-app [email protected]:rtCamp/frappe-appointment.git
bench --site {sitename} install-app frappe_appointment
- Log in as Administrator in Frappe.
- Navigate to Google Settings:
- Enable Google API.
- Enter the saved Client ID and Client Secret.