Configuring Mule Google Calendar Connectors V1

  • Click on Select a project > New project > Enter a project name > Create
  • Again click on Select a project > select the created project
  • Search Calendar API > Google calendar API > Enable
  • Click on OAuth consent screen on the left side > External > create
  • Fill out all the mandatory fields
  • In scopes click on ADD or Remove Scopes > select first three scopes then search Google calendar API > update
  • Add test users by clicking Add users (can add multiple mail Ids)
  • Click on Credentials on the left side
  • Create credentials > OAuth client ID > select web application
  • Add Authorized redirect URIs > Create
  • Save or download the Client Id and secret in JSON format
  • Create a Mule application and import the Google calendar connector from the exchange
  • Go to global elements and create a Google calendar connector configuration
  • Provide Client Id and Client secret in Consumer Key and secret
  • Create an object store configuration and add in oauthStore config
  • Create a flow with listener, Retrieve all and Transform message
  • Select the same object store configuration used in Calendar configuration
  • Set transform message output as application/json
  • Choose the gmail account and the token will be retrieved
  • Go to postman and enter the path of objectStore flow previously created
  • Using the Event insert component to schedule meetings in Google Calendar

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store