Google Drive Configuration

Create and Authorize a Public House App

For Public House to communicate with Google Drive, you’ll need to create an app in the Google Developer Console. An “app” is an authorized connection between an outside service (Public House) and Google Drive. The app defines the permissions that Public House has when communicating with Google Drive. Once you define the app, the final step is to authorize it.

Configuring Google Drive API for Homeownership Application Integration

Go to your Google Developer Console

Step2: Create an app

If you haven’t configured any Projects yet, you will be prompted to create one. Give it the Project Name: Public House

Step 3: Go to Library to Enable APIs and Services

Search for Google Drive API

Enable Google Drive API.

Once the API is enabled need to create credentials, select Credentials from left side panel.

Select Create Credentials from the top menu bar

Select Configure Consent Screen

Select Internal User Type and click the Create button

Populate the App name and the User support email

Click +Add Domain to add authorized domains for and

On the next screen click Add or Remove Scopes

Select the scope for See, edit, create, and delete only the specific Google Drive files you use with this app.

Once Oauth Consent is complete, you’ll create the OAuth Client. Click on credentials in the left hand menu

Select +Create Credentials on the top menu bar. then select OAuth client Id

Set the Application type as Web application and Name to ???

The Redirect URI tells Drive where to send you to after you successfully authorize. Public House via Salesforce will show you a success screen once everything is connected.

Select +Add URI and enter your Authorized redirect URI – this is your Application URL + /google/callback

Step 6: Configure your cloud storage in Public House and Authorize

In Salesforce, go to the Setup tab on the Public House App. Select Cloud Storage. Select Google Drive and add the Client ID and the Client Secret. Once you select the Authorize button you’ll be taken through Drop Box’s Oauth process.

Authenticate using keys:

Step 7: Share your Google Drive applications folder

After authorizing, notify the Public House team you’ve completed configuring and authorizing Google Drive. We’ll then create a folder for your applications. After testing we’ll send you back into Google Drive to share your new applications folder with We do not need permanent access. Sharing will allow us to test and confirm the integration between Public House and Google Drive. Your setup page will display your connection details and the name of your Google Drive Application Folder.

Step 8: Confirm file uploads

Hey, this is a lot of steps – but you’re done! Go to a test Service File/Application upload a required document and verify it shows up in your specified Public House Google Drive application folder.