Google Drive SDK

Install Your App

Google Drive lets users install an app by approving an OAuth 2.0 access request. To prompt users for installation, apps can request the scope https://www.googleapis.com/auth/drive.install. Users see a dialog like this:

Installation dialog

Whenever possible, it's best to request all the Drive scopes an app needs at the same time you request approval to install. This avoids the need to present multiple OAuth dialogs to the user. In order to meet authorization requirements and have basic file access after installation, an app would request these scopes:

https://www.googleapis.com/auth/drive.install
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/userinfo.profile

When users approve these scopes, the app is installed for the user, with access to files that the user creates or opens with the app. See Choose auth scopes and Authorizing Your App with Google Drive for more information about scopes you can request for Drive apps, and how to request them.

Next steps

An installed app needs to be able to handle create and open actions launched from the Drive UI. See Create Files or Open Files to learn more.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.