How to Obtain the Google Drive Integration Keys
A Google Drive connector can be configured in SigningHub Admin by providing the three integration keys i.e. Client ID, Client Secret, and API key.
Obtain the Google Drive integration keys
- Browse https://console.developers.google.com to open the Google developer console.
- Log into your Gmail account.
- Click the "Select a project" drop down and select the "Create a project.." option.
- Specify your project name, i.e. "SigningHub Admin", agree to the terms of service and click the "Create" button.
- A new project will be created with the specified name.
- Click the "APIs" option from the left menu, and search "Google Picker API" in the search field. Once retrieved, click the API record to enable it.
- Click the "Enable API" to enable the Google Picker API.
- Similarly, search "Drive API" in the search field and enable it the same way Google Picker API was enabled.
- Now click the "Credentials" option from the left menu, then click the "Add Credentials" drop down and select the "OAuth 2.0 client ID" option.
- Specify the product name, i.e. SigningHub Admin, and click the "Save" button.
- Select the "Web application" option, and click the "Configure consent screen" button. Now specify the "Name" of your SigningHub Desktop Web as "SigningHub". The "Authorized JavaScript Origins" field is used to pull the documents from Google Drive. Specify the URL of your SigningHub Desktop Web here, e.g. "https://web.signinghub.com".
- The "Authorized redirect URIs" field is used to push the documents from your SigningHub Desktop Web to Google Drive. Specify the callback URL of your SigningHub Desktop Web here. For example if your SigningHub Desktop Web is "https://web.signinghub.com" then the callback URL will be "https://web.signinghub.com/OAuth/GoogleDriveCallBack". Click the "Create" button.
- The client ID and client secret of Google Drive are created and shown on the screen. Add these values in your Google Drive connector. Click OK to proceed further.
- The client ID and client secret of your web application is saved for future use.
- Now click the "Add credentials" drop down and select the "API key" option.
- Click the "Browser key" button.
- Specify the "Name" of your browser API, i.e. "browser key 1", and click the "Create" button.
- The API key of Google Drive is created and shown on the screen. Add it in your Google Drive connector. Click OK.
See Also