40% off
marketplace
get discount
  • Success Story
  • Services
  • Contact Us
pop-close

We're here to help.

Our team of Wakeupsales experts are always eager to help you in need. All you have to do, is ask for it.

Cancel
pop-close

Combo Pre-Order Request

Give us your contact details & you'll be among the first ones to know once the Combo Pack is available.

Cancel

Google Calendar Synchronization Configuration

  1. Step 1

    Go to the URL “console.developers.google.com” to create an app by providing your gmail credentials.

    From top select the “Create project” option. A pop-up will appear, provide the project name and click on “Create” button.



  2. Step 2

    Click on the “Credentials” link on left side to fill up the app details. You only have to provide the product name as it is mandatory and click on “save” button.



  3. Step 3

    Click on the “Credentials” link to get the app id and secret key of the app.



    Click on the “Create credentials” button. Select the “Oauth client id” from the drop-down section.

    Select the “Web application” option. A form will appear and provide the redirect urls like below

    Click on “Create” button. Now you can see the “client ID” and “client secret” key in a pop-up.

  4. Step 4

    Copy those keys and click OK button. Click on the “Dashboard” link to enable the calendar api. Click on “ENABLE API” link.



    Select the “Calender API” from the list of apis and enable it.

    Click on “Enable”

  5. Step 5

    Go to your application folder and open the file “devise.rd” located at “config\initializers” folder. Open that file and set the config like below.



    require "omniauth-google-oauth2"

    Put the above command on top most postion.



    config.omniauth :google_oauth2, "add client-id", "add client secret key", { access_type: "offline", approval_prompt: "",scope:

    'userinfo.email,calendar,https://www.google.com/m8/feeds/,https://www.googleapis.com/auth/plus.me' }



    Add this line in middle section and add the “client id” and “client secret key”. Restart the server.