Mounting Google Drive Within DattoDrive


DattoDrive uses OAuth 2.0 to connect to Google Drive. This requires configuration through Google to get an app ID and app secret, as Dattodrive registers itself as an app.

All applications that access a Google API must be registered through the Google Cloud Console. Follow along carefully because the Google interface is a bit of a maze and it’s easy to get lost.

If you already have a Google account, such as Groups, Drive, or Mail, you can use your existing login to log into the Google Cloud Console. After logging in click the Create Project button.


Give your project a name, and either accept the default Project ID or create your own, then click theCreate button.


Google will automatically take you to the API Manager page after creating your new project.

Before proceeding, ensure you have the new project selected using the dropdown menu.


From the API Manager page, select Drive API.


On the next page, we are going to enable this API in order to allow us to mount your Google Drive account.


Once the API is enabled, Google will warn you that credentials will need to be set before the API can be used. To do this, either select the Go to Credentials button shown below, or the Credentials on the left hand side of the page.


To ensure the credentials we will be setting are correct, Google will ask how the API will be accessed. To allow a successful mount, use the following options :

  • Google Drive API
  • Web Browser (Javascript)
  • User data


The next step will involve us inserting the URL for our DattoDrive subdomain where we will be accessing the API from.

Under Authorized Javascript Origins insert the URL for your subdomain. For example :

Under Authorized Redirect URIs we will want to insert the specific page where we will be attempting to access the API from. Since we will want to grant access to both pages (Admin/Personal) we can use the URI below which includes the wildcard '*' :*


Lastly, we'll need to setup the consent screen which we will need to access in order to grant access later on.


Once we are completed, Google will ask if we want to download our client ID. For our purposes, we do not need to and can click I'll do that later to bring us back to the API Manager page.

From here, we want to select the left-hand side Credentials tab which will bring up a page that has ourClient ID as well as our Client Secret which will be needed to mount your Drive account.


When mounting within the Admin or Personal page within your account, browse to the External Storageapp and input the Client ID and Client Secret. You will notice that we are still unable to access your Drive storage, this is because we have not selected Grant Access yet.


After selecting Grant Access you will be brought to a page similar to what's showing below. Simply clickAllow to complete the mounting process.


If any errors are encountered here, please read the error as it is likely related to the improper Authorized Redirect URIs being set

Was this article helpful?

1 out of 1 found this helpful

You must sign in before voting on this article.

Want to talk about it? Have a feature request?

Head on over to our Datto Community Forum or the Datto Community Online.

For more Business Management resources, see the Datto RMM Online Help and the Autotask PSA Online Help .

Still have questions? Get live help.

Datto Homepage