Back to connector

LogoGdrive Integration Development Guide

Add white-label customer-facing integration with Gdrive into your app with just a few lines of code.

{"README":"## How to set up Google Sheets OAuth application and get your Client ID and Client Secret\n\n### Project Setup\n\n- Go to the Google API Console.\n- Create a new project (if you haven't already) by clicking on the "Select a project" drop down menu and selecting “New project”\n- Add necessary API’s from the Library (google drive api)\n\nIn case you'd rather follow the official Google documentation, you can find it here.\n\n### Configure the OAth application\n\n- Click on the OAuth consent screen item in the left sidebar\n- Choose the User Type = external\n- To be able to put your organization domain into the “Authorized domain” field, have it go through the Google Search console (to make sure it’s authorized and follow the authorization process in case it’s not authorized yet)\n- Add the following scopes:\n - https://www.googleapis.com/auth/drive\n - https://www.googleapis.com/auth/drive.file\n - https://www.googleapis.com/auth/drive.metadata.readonly\n - https://www.googleapis.com/auth/userinfo.profile\n - https://www.googleapis.com/auth/userinfo.email\n\n### Generate Credentials\n\n- Select Credentials > Create credentials > OAuth client ID.\n- Select Web application as the application type\n- Enter the URL of the the path where users will be redirected to after they have authenticated with Google in the Authorized Redirect URIs field: https://api.integration.app/oauth-callback\n- Click Create\n- Copy the Client ID and Client Secret from the dialog that appears\n\n#### Note that if you want your app tp be accessible to other users outside of your organization, you may want to submit it for review. You can find more information about the process here\n"}