Salesforce Certificate

Thursday 8 August 2019

How to get Google Client Id and Client Secret



Integration With Google API



For Every Google APIs Integration Client Id and Client Secret is required. 

Below example is for integration with google Calendar API. We can use same steps for any API (For ex. Google Map) integration.



Enable Google Calendar API

Follow below steps.


1.       Login to your Gmail account.

2.       Go to below link - https://console.developers.google.com

3.       Click on “ENABLE API AND SERVICES”


4.       Search for “Google Calendar API” (Search API with which you want to do integration)


5.       Click on “Google Calendar API”

6.       Click on “Enable”.



Please follow below steps to fetch Client Id and Client Secret.


2.       Click on “Credentials” on left sidebar

3.       Click on “Credentials” tab --> Click on “Create Credentials” tab --> Click on “OAuth client ID”



4.       Select --> Application type = Web application

5.       Provide Name

6.       Add Authentication page URL to “Authorized redirect URIs”


7.       Click on “Save”.

8.       Copy Client ID from here.




9.       Get Client Secret. Click on “Your Project Name”. Copy Client Secret from here.