# Google Calendar

## Connect with Google Calendar

### Integrate with Google Calendar

1. Open the scope then go to the integrations section.&#x20;

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2FpO4FiIIv2WoBNP8P1uvo%2Fimage.png?alt=media&#x26;token=7b317922-4e3b-4131-bf69-a1d0eb6edfe2" alt=""><figcaption></figcaption></figure>

2. Click on the `Connect`  button under Google Calendar.&#x20;
3. On the popup screen, click on `Connect with Google`&#x20;
4. Login your google account.&#x20;
5. Once logged in, click on Connect.&#x20;
6. After connecting, an API key will be provided to be used in a webhook for Google Calendar.

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2F3gYdRuxhjhCJN3YMsOZe%2FScreen%20Shot%202023-03-29%20at%209.56.48%20AM.png?alt=media&#x26;token=272b7735-cd5b-4ca4-94fc-8d260d94fd55" alt=""><figcaption></figcaption></figure>

## Setting up Google Calendar Webhook

1. Go to the Scope page and click on Webhooks on the left side menu.

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2FDrK1abVGayosyJFOWvAu%2Fimage.png?alt=media&#x26;token=89323cfd-eb64-4e0a-8599-fdd5b34d8717" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2637928320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiRqPwZJVepiA6JYXHnaO%2Fuploads%2FrJO3dF7N5iHmCBslkQxL%2Fimage.png?alt=media&#x26;token=65d43418-fc52-4d7e-b115-579158b96b33" alt=""><figcaption></figcaption></figure>

2. Enter the following details to create the google sheet webhook: \
   \
   **Base Webhook URL:** `https://mindx.mind.ai/api/v2/g/calendar/`\
   **Basic Auth:** *`Paste the API Key from the Google Calendar integration page.`*
3. After submitting the webhook details, it can then be used as a webhook to manage events in Google Calendar.\\
