Setting up the Mattermost Google Calendar integration requires the following 3 steps:
- Mattermost admin: Install the Google Calendar plugin on your Mattermost instance.
- Google admin: Create a Google Calendar service by creating a Google Cloud project.
- Mattermost admin: Configure the Mattermost Google Calendar plugin.
Once setup is complete, see the get started documentation to learn how to use this integration.
To install the Mattermost Google Calendar plugin on your Mattermost server:
- Log in to your Mattermost workspace as a system administrator.
- Download the latest version of the plugin binary release compatible with Mattermost v8.x and later.
Tip: If you are using an earlier version of Mattermost, follow the Mattermost Product Documentation to upgrade to Mattermost v8.x or later.
-
In a browser, as a Google admin, create a project in the Google Cloud Console by going to
https://console.cloud.google.com/
. -
Select the project option in the top left corner of the screen, then select New Project option in the top right corner of the popup window.
-
When your project is created, go to APIs & Services to search for and enable the following 2 services:
-
Google Calendar API: Used for anything related to the calendar and events.
-
Google People API: Used to link your Mattermost account to your Google account.
-
-
Choose how to configure and register the application by selecting the user type as Internal or External, then select Create.
-
When prompted, set the following app information:
- App name:
Google Calendar Mattermost Plugin
- User support email
- Developer contact information
- Populate the remaining fields as needed.
- App name:
-
Under Credentials, create new OAuth 2.0 credentials by selecting Create Credentials > OAuth client ID.
- Under Application type, select Web Application.
- Under Authorized redirect URIs add
https://(MM_SITE_URL)/plugins/com.mattermost.gcal/oauth2/complete
and replaceMM_SITE_URL
with your Mattermost Server Site URL.
-
Once the OAuth client is created, make a copy of the Client ID and Client Secret values for the configuration step.
See the Mattermost Google Calendar integration configuration documentation to configure the Mattermost Google Calendar integration.
If you face any issues while installing the Mattermost Google Calendar plugin, you can either:
- Open a new issue in this Mattermost Google Calendar GitHub repository.
- Or, create a new topic in our peer-to-peer troubleshooting forum.