Scheduling infrastructure for absolutely everyone.
docs: update google calendar guide (#26549)
Eunjae Leeae6e0689f4fa
diff --git a/docs/self-hosting/apps/install-apps/google.mdx b/docs/self-hosting/apps/install-apps/google.mdxindex d57f8a2eea1..0f6737af052 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.</Step><Step title="Add Calendar Scopes">- 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".</Step><Step title="Add Test Users">- 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.</Step><Step title="Create OAuth Credentials">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.</Step>+ <Step title="Set the CAL_COM environment variable">+ 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.+ </Step></Steps>### **Adding Google Calendar to Cal.com App Store**diff --git a/scripts/seed-app-store.ts b/scripts/seed-app-store.tsindex 9c84822bf1e..904f20fa402 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(