Create a Whitelabel Google Drive playlist – Introduction

As a whitelabel, you can integrate Google Drive as a media source for your customers by creating a Google Drive App and linking it to your platform. Follow the steps below to set up a secure and functional Google Drive playlist integration.


Please complete the following step-by-step guide to create a Google Drive app, link it to your platform, and offer it as a playlist to your customers.

Log in to your Google account at Google Cloud Console.

  1. Click the Select a project button in the top navbar.
    Google Cloud Console homepage with the 'Select a project' button highlighted at the top.
  2. Afterwards, click the New Project button.
    Project selection dialog in Google Cloud Console with 'New project' button highlighted.
  3. After that, you must enter the project’s name and location. It is recommended that you choose a name relevant to Google Drive and your app.
    New Project' creation screen with 'Project name' and 'Location' fields highlighted.
  4. Once the Create button is clicked, the first draft version of your project is ready.

With your newly created project selected, go to APIs & Services > Enabled APIs and services.
Google Cloud dashboard showing the project details and the left sidebar menu with 'APIs and services' and 'Enabled APIs and services' highlighted.

  1. Click the “+ Enable APIs and services” button.
    APIs & Services' section with the 'Enable APIs and services' button highlighted.
  2. Search for and enable the following two APIs (Google Drive API & Google Picker API):
    • Google Drive API
      API Library search results showing the 'Google Drive API' option highlighted.
      Select the Google Drive API option.

      Google Drive API product page with the 'Enable' button highlighted.
      Click the Enable button.
    • Google Picker API
      API Library search results showing the 'Google Picker API' option highlighted.
      Select the Google Picker API.

      Google Picker API product page with the 'Enable' button highlighted.
      Click the Enable button.

Navigate back to the main dashboard and go to “APIs & Services” > “OAuth consent screen”.

  1. Please fill in the “App’s information”, namely the App name and the User support email, and click on Next.
    OAuth consent screen configuration showing the 'App Information' section with fields for app name and user support email highlighted.
  2. Afterwards, from the “Audience”, choose “External” as the user type and click Next.
    Google Cloud Project Configuration screen showing the “Audience” section with options to select Internal or External user access for the app.
  3. Then, you need to fill in the “Contact Information” email address (for notification purposes about the project), and click Next.
    Google Cloud Project Configuration screen highlighting the “Contact Information” section where users must enter an email address.
  4. Lastly, you must confirm the textbox related to the “Google API services user data policy” before clicking the Continue and Create buttons.
    Google Cloud Project Configuration screen displaying the “Finish” section with a checkbox to agree to the Google API services user data policy.
    You have now completed the OAuth Consent Screen Configuration.

To define the branding, navigate to the “Branding” tab first.

  1. Fill in the App‘s Branding information, namely the App name, the User support email, and the App logo (optional).
    Google Cloud Branding tab with required fields for app name, user support email, app logo upload.
  2. Then, you must fill in the App‘s domain information.
    Google Cloud Branding tab showing the “App domains” section.
  3. You must also fill in the Authorised domains. Here, you can type all your customers’ sites’ valid authorised domain URLs. You can also use a wildcard.
    Google Cloud Branding tab showing the “Authorized domains” section with a button to add domains and a description about pre-registering domains.
  4. Lastly, you must fill in the “Developer contact information” email address, and then click the Save button.
    Google Cloud Branding tab showing the “Developer contact information” section with an email address input field.
    You have completed the app branding.

Navigate to “Data access” tab. In this tab, you have to select all the required scopes for the app. Scopes express the permissions that you request users to authorise for your app and allow your project to access specific types of private user data from their Google Account. These are the scopes below that you must select on the following step (1):

  • “https://www.googleapis.com/auth/drive.file”
  • “https://www.googleapis.com/auth/drive.readonly”
  • “https://www.googleapis.com/auth/drive.metadata.readonly”
  1. Click the “Add or remove scopes” button. Select each one of the aforementioned scopes individually.
    Google Cloud Data Access screen with the “Update selected scopes” popup open, displaying the Google Drive API scope selected for access.

    You have completed the definition of the required app scopes.

You must also create a client for the app. Start by navigating to the “Clients” tab under the OAuth consent screen section.

  1. Click the “+ Create Client” button.
    Google Cloud Clients tab showing a button to “Create client” for generating a new OAuth 2.0 Client ID.
  2. Choose “Web application” as the Application Type, and fill in an identification name for the client.
    Google Cloud screen for creating an OAuth client ID with fields to select the application type and enter a name for the client.
  3. Fill in the “Authorised Redirect URIs” carefully. Click the Add URI button and type your domain’s name with this extension “/3p/cb/gdrive” (without the quotes). Make sure that you have typed your site correctly. Example: https://your.domain.com/3p/cb/gdrive/
    Google Cloud screen for creating an OAuth client ID, showing the section to add authorized redirect URIs before completing client creation.
  4. Store the “OAuth client” carefully. The “Client ID” and “Client secret” are required for the app.
    ⚠️ Never share these credentials publicly!
    "Popup in Google Cloud displaying OAuth client credentials including the client ID, client secret, creation date, and status after creation."

    You have completed the OAuth Client ID creation.

Since an API key is also another app requirement, you must create one.

  1. Navigate back to the main dashboard and go to “APIs & Services” > “Credentials”.
    "Google Cloud console menu navigation showing how to access 'Credentials' under the 'APIs and services' section."
  2. Click “+ Create Credentials” > “API key”.
    "Credentials page in Google Cloud displaying the dropdown options when creating a new credential, including API key, and more."
  3. Since the key is created, edit its configuration. Select in the “API restrictions” section, the “Google Drive API” and “Google Picker API”, and click on the Save button.

  4. Afterwards, copy and store the API key value.
    "Google Cloud notification displaying the details of a newly created API key and a warning about restricting its usage."
    You have completed the API Key generation.

After completing the above steps, we now need to pair this Google Drive App with your Whitelabel site.

Follow the link below:

  • https:// yoursitesdomainhere /yconsole/partners/siteconnection3ps/add/

Make sure that you have replaced the ” yoursitesdomainhere ” with your actual Whitelabel domain name.
Control Panel page showing configuration fields for connecting a third-party app to Google Drive, including App key, App secret, and developer data.

Fill in the required fields:

  1. Site: Choose your site from the list.
  2. Provider: Choose “Google Drive”.
  3. App key: Copy and paste the “Client ID” parameter from the previously analyzed Step 6.
  4. App secret: Copy and paste the “Client secret” parameter from the previously analyzed Step 6.
  5. App name: Type in the word “root”.
  6. Extra data: Be careful with the syntax:
    appId: XXXXXXXXXXX (the preceding digits in "App key" before "-")
    developer_key: XXXXXXXXXXXXXXXXXXXXXXXXXXX (The API Key created in step 6 in "Clients" section)
  7. Click Save to complete the integration.

Your Google Drive playlist integration is now complete. Your customers can start linking their Google Drive files securely through your platform. If you experience issues during setup, ensure all credentials and URIs are entered correctly and that the required APIs are enabled.


Check this article here on how your clients can now configure a Google Drive playlist for their accounts. Feel free to download this guide as PDF and share it with them.