> For the complete documentation index, see [llms.txt](https://docs.nisa.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nisa.ai/connecting-data-sources/google-calendar.md).

# Google Calendar

Google Calendar, a vital component of Google Workspace, is an indispensable tool for scheduling, managing events, and setting reminders. It's widely utilized for its convenience and user-friendly features in both personal and professional settings. Integrating Google Calendar with our Business Chatbot transforms how you interact with your schedule. This integration empowers the chatbot to access your calendar events, providing smarter, context-aware responses tailored to your schedule and commitments.

## Setting Up the Google Calendar Connector

To connect Google Calendar to our Business Chatbot dashboard, you'll need to create an OAuth App in the Google Developer Console. Follow these steps after logging into the console:

**Step 1.** Create a project and enable the Google Calendar API. [Follow this link](https://console.developers.google.com/).

<figure><img src="/files/oOIDlejSNuocWHd64XSZ" alt=""><figcaption></figcaption></figure>

**Step 2.** Click "Create". Select the project you just created.

**Step 3.** Enable access to the Google Calendar API for this project. Go to "Libraries", search for "Google Calendar API" and click "Enable".

**Step 4.** Configure the OAuth consent screen. [Follow this link](https://console.developers.google.com/apis/credentials/consent).

* **Step 5.** Select "Internal" as the user type and provide the app information:
  * App Name (e.g., "Nisa")
  * User support email
  * Developer contact information

**Step 6.** In the "Scopes for Google APIs" section, click "Add scope" and select the following scopes for the Google Calendar API:

* `../auth/calendar`
* `../auth/calendar.events`
* `../auth/calendar.events.readonly`
* `../auth/calendar.readonly`
* `../auth/calendar.settings.readonly` Save and continue.

**Step 7.** Create credentials for the OAuth application. In the sidebar, click "Credentials", then "Create Credentials", and select "OAuth Client ID".

**Step 8.** Complete the OAuth consent form:

* Application type: "Web application"
* Name: "Nisa Google Calendar"
* Authorized JavaScript origins: Dashboard domain URL (e.g., `https://dashboard.nisa.ai`)
* Authorized redirect URIs: Your domain callback URL (e.g., `https://dashboard.nisa.ai/oauth/googlecalendar`)

<figure><img src="/files/U6HSpyqlnEKM1uPjGnua" alt=""><figcaption></figcaption></figure>

**Step 9.** Upon submission, you'll receive a Client ID and Client Secret. Keep these credentials, as they will be needed shortly.

**Step 10.** In the Business Chatbot dashboard, navigate to the "Sources" section. Add a new Organizational Source and select Google Calendar. Enter the Client ID and Client Secret you obtained from the Google Developer Console. Save the configuration.

**Step 11.** Connect to Google Calendar and authorize the app.

<figure><img src="/files/I0isfXZQUze3Nphdn3DW" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/HtrIZTuVArUmugoi4zFK" alt=""><figcaption></figcaption></figure>

**Congratulations!** You have successfully integrated Google Calendar with the Business Chatbot. Now, the chatbot can access and process data from your Google Calendar, providing enhanced insights and context-aware responses related to your schedule and events.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nisa.ai/connecting-data-sources/google-calendar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
