Setup rclone with Google Drive (and optionally link with Plex)


This guide with take you through step by step how to setup and configure Rclone in order to interact with files stored on Google Drive, and cover both the encrypted and unencrypted options. At the end of this guide you will find details on how to configure Plex to use the Google Drive remote.

*You will need to restart any other apps you wish to access the remote (such as Plex) once you've mounted it, they will then be able to see it*

Setting up and configuring Rclone

  1. Install the rclone app from the Appstore


  2. Click the link to rclone and when prompted enter the password you set in 1


  3. Press the Config button in the bottom right corner of the window


  4. When prompted with "n/s/q>" type "n" and press enter, when prompted with "name>" type gdrive and press enter, this will be the name of your google drive


  5. When prompted with "Storage>" type "drive" and press enter

  6. When prompted with "client_id>" you can either press enter to use the Rclone main account API call quota, or create your own by following the guide at https://rclone.org/drive/#making-your-own-client-id
  7. When prompted with "client_secret>" you can either press enter to use the Rclone main account API call quota, or create your own by following the guide at https://rclone.org/drive/#making-your-own-client-id
  8. When prompted with "scope>" press enter

  9. When prompted with "root_folder_id" press enter

  10. When prompted with "service_account_file" press enter

  11. When prompted with "Edit advanced config? (y/n)" press enter

  12. When prompted with "Use auto config?" type "n" and press enter

  13. When prompted with "Enter verification code>" highlight the URL as shown below


  14. Click on the "Clipboard" button in the top right of the browser window


  15. Highlight the URL in the box which has appeared and copy it to your clipboard (right click > copy, or ctl + c)


  16. Paste this URL into a new browser tab, please make sure you do not close the existing rclone-browser tab


  17. Click on the name of your Google account with which your Google Drive is associated

  18. Click the "Allow" button


  19. Click the copy to clipboard button


  20. Paste the code into the Clipboard box and then click the "Submit" button


  21. Press ctl + v to paste the code into the rclone config window, and then press enter


  22. When prompted "Configure this as a team drive?" press enter

  23. When prompted "y/e/d>" press enter

  24. When prompted "e/n/d/r/c/s/q>" type "n" and press enter

  25. When prompted "name>" type "gcache" and press enter

  26. When prompted "Storage>" type "cache" and press enter

  27. When prompted "remote>" type "gdrive:/" or if you want to give access to a specific folder which must exist within your Google Drive type "gdrive:/path/to/folder" and press enter

  28. (Optional) When prompted "plex_url>" you can enter your plex URL such as "http://plex.exampleuser.appboxes.co:32400" please make sure you use http:// instead of https:// and make sure you use the correct port with :32400 at the end, if you do not want to use this drive with Plex you can leave it empty, and press enter

  29. (Optional) When prompted "plex_username>" you can enter your plex.tv username, if you do not want to use this drive with Plex you can leave it empty, and press enter

  30. (Optional) When prompted "The password of the Plex user" you can type "y" and press enter, then enter your plex,tv password and confirm it, if you do not want to use this drive with Plex type "n" and press enter

  31. When prompted "chunk_size>" type "2" and press enter

  32. When prompted "info_age>" type "2" and press enter

  33. When prompted "chunk_total_size>" type "3" and press enter

  34. When prompted "Edit advanced config? (y/n)" press enter

  35. When prompted "y/e/d>" press enter

  36. When prompted "e/n/d/r/c/s/q>" if you wish to setup encryption with Google Drive type "n" and press enter, if you do not wish to use encryption type "q", press enter and skip to step 49 below

  37. (Optional) When prompted "name>" type "gcrypt" and press enter

  38. (Optional) When prompted "Storage>" type "crypt" and press enter

  39. (Optional) When prompted "remote>" type "gcache:/crypt" (please create or ensure the "crypt" folder exists in your Google Drive or in the path specified in step 27) and press enter

  40. (Optional) When prompted "filename_encryption>" type "2" and press enter

  41. (Optional) When prompted "directory_name_encryption>" type "1" and press enter

  42. (Optional) When prompted "Password or pass phrase for encryption." type "g" for a random key

  43. (Optional) When prompted "Bits>" type "1024" and press enter

  44. (Optional) When prompted "Use this password?" press enter

  45. (Optional) When prompted "Password or pass phrase for salt." type "g" and press enter

  46. (Optional) When prompted "Bits>" type "1024" and press enter

  47. (Optional) When prompted "Use this password?" press enter

  48. (Optional) When prompted "y/e/d>" press enter, when prompted "e/n/d/r/c/s/q>" type "q" and press enter

  49. Double click on the remote you wish to use, "gcache" for without encryption, or "gcrypt" for with encryption


  50. Click the "Mount" button


  51. In the left panel click "Computer", then in the right panel double click "/"


  52. Scroll down until you see "shared_mounts" double click it


  53. Click the "New Folder" button


  54. Rename the new folder to "gcache" if you're not using encryption, or "gcrypt" if you are using encryption. Then click the "Choose" button


  55. Your Google drive should now be mounted in your Rclone app folder! Now lets look how we can add this to Plex

Configuring Plex

  1. Restart Plex from the Appbox dashboard so that it can see the new remote


  2. Open your Plex link from the Appbox dashboard


  3. Click your account dropdown menu, and then click "Account"


  4. Make sure you have your Appbox plex server selected as shown in point 1 on the image below. Click the "Libraries" option (shown in point 2 below). Click the "ADD LIBRARY" button (shown in point 3 below)


  5. Click "Select type", then select the type of library you want (shown in point 2 below), then click "Add folders"


  6. Click the "BROWSE FOR MEDIA FOLDER" button


  7. Click the name of the remote (as shown in point 1 below), this should be "gcache" if you're not using encryption or "gcrypt" if you are using encryption. Then press the "ADD" button.


  8. Finally click the "ADD LIBRARY" button


Congratulations! You've made it to then end, you've successfully learned how to setup a remote in Rclone and add it to Plex.