Google Cloud Console Configuration
Use this page only if you chose your own Google Cloud Console Application on the DriveMate Setup page.
Most orgs can use the DriveMate Google Cloud Console Application instead and skip this page entirely.
Prerequisites
| Role | What you need | Why |
|---|---|---|
| Google Workspace Admin | Ability to create projects and credentials | To register the Google Drive application |
| Salesforce Admin | Permission to edit Named Credentials and manage packages | To connect Salesforce to Google Drive |
Tip: Keep two browser tabs open - one for Google Cloud Console and one for Salesforce Setup - to speed up copy‑and‑paste steps.
Create a Google Cloud Project
- Sign in at console.cloud.google.com.
- Click ☰ Navigation menu › IAM & Admin › Create a project.
- Fill the form:
- Project name:
DriveMate - Organization / Location: your organisation domain
- Project name:
- Click Create, then Select project from the toast.
Enable the Required Google APIs
DriveMate uses three Google APIs. Enable all of them for your project:
- Click ☰ Navigation menu › APIs & Services › Library.
- Search for Google Drive API, select it, and click Enable.
- Repeat the search-and-enable step for Google Docs API and Google Sheets API.
Note: All three APIs are required for a new install of DriveMate 4.0 or later. Google Docs API powers the document generation module (introduced in DriveMate 3.0) and Google Sheets API powers the sheets integration module (introduced in DriveMate 4.0).
Credentials Creation
- After enabling the APIs, click Create Credentials.
- Select User Data › Next.
- Fill in App Information:
- App name:
DriveMate - User support email: select from list
- Developer contact info: your email
- App name:
- Click Save and continue.
- Select Scopes:
- Click Add or remove scopes.
- Search Google Drive API, tick
…/auth/drive. - Search Google Docs API, tick
…/auth/documents. - Search Google Sheets API, tick
…/auth/spreadsheets. - Click Update.
- Click Save and continue.
- Choose OAuth Client ID as Web Application:
- Name:
DriveMate
- Name:
- Under Authorized redirect URIs > + Add URI, add each line:
https://login.salesforce.com/services/extidp/callbackhttps://test.salesforce.com/services/extidp/callback
- Click Create › Done.
- Go to Credentials › DriveMate.
- Copy the displayed Client ID and Client Secret for use in Salesforce.
Tip: If you need to get the Credentials later, you can simply access the Google Cloud Console › APIs and services › Credentials › DriveMate.
Connect Google Drive to Salesforce
- In the App Launcher, search for DriveMate Setup.
- On Use DriveMate Google Cloud Console Application, turn the option off so DriveMate uses your own application.
- Under Configure Google Drive Integration, paste the Client ID and Client Secret.
- Save, then finish the remaining setup steps, including authorization.
Changing the Google application later requires re-authorization.