From ae6e0689f4fa07a6cec3cd2d71b6af66b83f6edd Mon Sep 17 00:00:00 2001 From: Eunjae Lee Date: Wed, 7 Jan 2026 18:28:44 +0100 Subject: [PATCH] docs: update google calendar guide (#26549) * docs: update google calendar doc * update page name and include .env in seed-app-store.ts * add onre more step * update --- docs/self-hosting/apps/install-apps/google.mdx | 11 +++++++++-- scripts/seed-app-store.ts | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/self-hosting/apps/install-apps/google.mdx b/docs/self-hosting/apps/install-apps/google.mdx index d57f8a2eea..0f6737af05 100644 --- a/docs/self-hosting/apps/install-apps/google.mdx +++ b/docs/self-hosting/apps/install-apps/google.mdx @@ -17,10 +17,10 @@ title: "Google" Go to the [OAuth consent screen](https://console.cloud.google.com/apis/credentials/consent) from the side pane. Select the app type (Internal or External) and enter the basic app details on the first page. - On the Scopes page, select "Add or Remove Scopes". Search for Calendar.event and select the scopes with values `.../auth/calendar.events`, `.../auth/calendar.readonly`, and then click "Update". + On the Data Access page, select "Add or Remove Scopes". Search for Calendar.event and select the scopes with values `.../auth/calendar.events`, `.../auth/calendar.readonly`, and then click "Update". - On the Test Users page, add the Google account(s) you'll be using. Verify details on the last page to complete the consent screen configuration. + If User type is external on the Audience page, add the Google account(s) you'll be using. Verify details on the last page to complete the consent screen configuration. From the side pane, select [Credentials](https://console.cloud.google.com/apis/credentials) and then "Create Credentials". Choose "OAuth Client ID". @@ -46,6 +46,13 @@ title: "Google" ``` This will configure the Google integration as an Internal app, restricting login access. + + In the `.env` file, set the following environment variable: + ``` + CALCOM_ENV="local" + ``` + This will allow you to test the Google integration locally. Do it only when you are testing Cal.com locally. + ### **Adding Google Calendar to Cal.com App Store** diff --git a/scripts/seed-app-store.ts b/scripts/seed-app-store.ts index 9c84822bf1..904f20fa40 100644 --- a/scripts/seed-app-store.ts +++ b/scripts/seed-app-store.ts @@ -10,6 +10,7 @@ import prisma from "@calcom/prisma"; import type { Prisma } from "@calcom/prisma/client"; import { AppCategories } from "@calcom/prisma/enums"; +dotEnv.config({ path: path.resolve(__dirname, "../.env") }); dotEnv.config({ path: path.resolve(__dirname, "../.env.appStore") }); async function createApp(