> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.webnus.net/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Add Events to Google Calendar

Using the Google Cal. Export option in Import/Export menu in Modern Events Calendar, you can export and Add Events to Google Calendar.

## How to Export MEC Events to Google Calendar (Google Cal. Export)?

In order to add your events to Google Calendar, you need to go to this [link](https://developers.google.com/calendar/quickstart/php) and follow the instructions below.

## How to Add Events to Google Calendar?

1\. Click on the **Enable the Google Calendar API** and go to Google Console.

2\. Click on the **ENABLE APIS AND SERVICES**.

3\. Select **Google Calendar API**.

4\. Click on the **Manage**.

5\. Copy the credentials and Calendar ID to the MEC Settings. and click on Authenticate.

**Note**: Make sure to set the **Web Application** for the OAuth client ID.

![oauth client id - Add Events to Google Calendar](https://webnus.net/dox/modern-events-calendar/wp-content/uploads/2020/03/oauth-client-id.png "oauth client id - Add Events to Google Calendar")

[![Create OAuth client ID - Add Events to Google Calendar](https://webnus.net/dox/modern-events-calendar/wp-content/uploads/2023/08/Create-OAuth-client-ID.png "Create OAuth client ID - Add Events to Google Calendar")](https://webnus.net/dox/modern-events-calendar/wp-content/uploads/2023/08/Create-OAuth-client-ID.png)

6\. A green box appears below the screen. click on the link to authenticate your account and follow the steps below.

7\. The events will be listed.

8\. Finally, click on **Add to Google Calendar**.