# API Connector for Google APIs (Google Drive)

**URL:** <https://forum.bubble.io/t/api-connector-for-google-apis-google-drive/22981>\
**Category:** Tips\
**Created:** [January 14, 2018, 6:35pm UTC](https://forum.bubble.io/t/api-connector-for-google-apis-google-drive/22981 "2018-01-14T18:35:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MitchB](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mitchb/32/18595_2.png) [@MitchB](https://forum.bubble.io/u/MitchB)\
**Post date:** [January 14, 2018, 10:31pm UTC](https://forum.bubble.io/t/api-connector-for-google-apis-google-drive/22981/2 "2018-01-14T22:31:20Z")

</div>

Found the solution…

Hats off to @brentsum’s course on [setting up a calendar booking app](https://go.codefree.co/appointments).

Following the instructions there I was able to get the OAuth settings I was looking for to learn how to use the API connector and get it synced up to google drive. The image below is more of a reference, but if you are stuck like I was, I would recommend Brent’s course ([here](https://go.codefree.co/appointments))

 ![google-drive-oauth-bubble-api-connector_01](https://us1.discourse-cdn.com/bubble/original/3X/4/5/455141e2fe617d2aa1ebc77d97587c73b65465df.png)

**API Name:** [WHATEVER YOU WANT]  
**Authentication:** OAuth2 User-Agent Flow  
**App ID & Dev. App ID:** [UNIQUE TO YOUR APP]  
**App Secret & Dev. App Secret:** [UNIQUE TO YOUR APP]  
**Scope:** [UNIQUE TO WHICH GOOGLE API YOU ARE USING - EG: [https://www.googleapis.com/auth/drive](https://www.googleapis.com/auth/drive)  
**Authentication Goes in the Header:** Yes  
**Header Key:** Authorization: Bearer  
**Add access\_type=offilne (Google APIs):** Yes  
**Login dialog redirect:** [Sign in - Google Accounts](https://accounts.google.com/o/oauth2/auth)  
**Access token endpoint:** [https://accounts.google.com/o/oauth2/token](https://accounts.google.com/o/oauth2/token)  
**User profile endpoint:** [UNIQUE TO WHICH GOOGLE API YOU ARE USING EG: [https://www.googleapis.com/drive/v2/files](https://www.googleapis.com/drive/v2/files)]

Then to test you can set a workflow on a button to: Signup/Login with a Social Network, and then select the new API that you just setup.

![google-drive-oauth-bubble-api-connector_02](https://us1.discourse-cdn.com/bubble/original/3X/a/8/a8865dc7566127c0f67b558abdc902fc1b8fc587.png)

 ![google-drive-oauth-bubble-api-connector_03](https://us1.discourse-cdn.com/bubble/original/3X/e/7/e74adf387d995feeb17787dc26f1ff0b1d6456c5.png)

**NOTE:** There may be some errors or a better way to do this, so please feel free to make amendments. I am extremely new here, and hopefully this little guide will help someone save the hours that I spent trying to track down info on api connector and google api oauth documentation yesterday 🙂

---

_[View the full topic](https://forum.bubble.io/t/api-connector-for-google-apis-google-drive/22981)._
