How can I get my Google account Client ID and Client Secret key?

Follow below mentioned steps to get your Google Client ID and Secret Key:

  1. Go to Google Developer portal
  2. If you have just created Google Developer account, you need to click on Agree and continue button to get into your Google Console account. However, if you have already accepted Terms & Conditions, then skip Step 2 & 3, and follow the tutorial from Step 4
  3. After agreeing to the Terms and Conditions, click on Go to credentials
  4. A default project titled as My Project will start reflecting in your account, if you want, you can continue with the same project and follow the tutorial from Step 8. However, you can also create your own new project. For creating a new project, click on My Project dropdown menu present at the top
  5. It will open select project window, click on “+” button to create a new project
  6. Provide a name of your new project and click on Create button

  7. Now click on My Project dropdown menu, select All tab, and open your newly created project
  8. Under Credentials section, select the OAuth consent screen tab
  9. Select an Email address from the dropdown menu, enter Product name (if it is not already set), and click on Save button
  10. Select Credentials tab, click on Create Credentials button and select OAuth client ID
  11. Select Web Application as the application type
  12. In the Authorized JavaScript origins field, enter the URL -, While in Authorized redirect URLs field:
    1. Enter URL - if you are using Google Sheets page
    2. Enter URL - if you are using Document page
    Note: Just for your information, you can use both redirect URLs as it will prove to be beneficial in future when you need to add another page
  13. Your Client ID and Client Secret key will appear
  14. Select Library from side menu and click on Drive API
  15. Click on Enable button to activate the API 
    Note : After enabling this API, your documents will be shown on the app
  16. Select Library from side menu and click on Google+ API
  17. Click on Enable button to activate the API


  1. Case 1: (If you have added both redirect URLs in Step 12) If you have logged in into your Google Account, and connecting your Google Sheets with app, follow our tutorial:

  2. Case 2: If you are connecting Google Sheets with your app via Google Sheet URL, you need to simply copy your Google Sheet public URL and paste it in
  3. Case 3: (If you have added only 1 redirect URL in Step 12) If you have added any of the Google Doc supportive pages ( like: Google Sheets or Document page), and want to add another page (Google Sheets or Document page) then you would need to fill verification update form

Was this article helpful?

Share this :

Rated 9.7 out of 10 for Best Mobile app builder by 1214+ clients on over 5 Million+ apps