Skip to content

How to obtain credentials.json

Firstly, create a new project on Google console.

Now click on Enable Apis and Services enable apis and services

Search for Google Calendar and enable it. google calendar

Under Credentials, configure the consent screen. (select the default and input necessary email adresses and names) consent

Under credentials click on create credentials and select OAuth client ID create

Select desktop app and click on create.

Then back on the Credentials page click on the newly created OAuth 2.0 Client ID and download the credentials.json file. oauth