Intro
Google Drive is a file storage and synchronization service developed by Google that allows users to store files in the cloud, synchronize files across devices, and share files. Use this connector to export your data from a Domo DataSet into Google Drive. To learn more about the Google Drive API, visit their page (https://developers.google.com/drive/ ). You export data to Google Drive in the Data Center. This topic discusses the fields and menus that are specific to the Google Drive Enterprise Writeback connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in Adding a DataSet Using a Data Connector.Prerequisites
To configure this connector, you will need the following:- A project created in the Google Developers Console with the Google Drive and Google People APIs enabled (for more information about the Google People API, see https://developers.google.com/people/?hl=en_US)
- A Domo Client ID and Client Secret
- A Google developer client ID and client secret
Step 1: Creating a Project in the Google Developers Console
To create a project in the Google Developers Console, do the following:- Go to https://console.developers.google.com.
-
Click the dropdown arrow next to
My Project.

-
Click
New Project.

- Name your project and select the parent folder.
-
Click
Create.
Note: You can also use an existing project if you want.
Step 2: Enabling the Google Drive API
To enable the Google Drive API for your project, do the following:-
In the Google Developers Console, select your project and click
Library.

- Search for the Google Drive API.
-
Click
Enable.

Step 3: Creating a Domo Client ID and Client Secret
To create a Domo client ID and client secret, do the following:- Navigate to https://developer.domo.com and log in.
- Click New Client (found under “My Account” in the top right corner).
-
Create a new client with Application Scopes of
Data and User.
When you click Create, you will be redirected to the client ID and client secret.

- Copy the client ID and client secret, as you will need them soon.
Configuring the Connection
This section enumerates the options in the Credentials and Details panes in the Google Drive Enterprise Writeback Connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.Credentials Pane
This pane contains fields for entering credentials to connect to your Domo developer account as well as your Google developer account. The following table describes what is needed for each field:Field | Description |
|---|---|
Client ID | Enter your Google developer client ID. For more information, see “Prerequisites,” above. |
Client Secret | Enter your Google developer client secret. For more information, see “Prerequisites,” above. |
Domo Client ID | Paste the Domo client ID you copied in Step 3: Creating a Domo Client ID and Client Secret, in the “Prerequisites” section above. |
Domo Client Secret | Paste the Domo client secret you copied in Step 3: Creating a Domo Client ID and Client Secret, in the “Prerequisites” section above. |
Details Pane
This pane contains a number of fields for specifying your data and indicating where it’s going.Menu | Description |
|---|---|
Input DataSet ID | Enter the DataSet ID (GUID) for the DataSet you want to copy to Google Drive. You can find the ID by opening the details view for the DataSet in the Data Center and looking at the portion of the URL following datasources/ . For example, in the URL https://mycompany.domo.com/datasources/845305d8-da3d-4107-a9d6-13ef3f86d4a4/details/overview , the DataSet ID is 845305d8-da3d-4107-a9d6-13ef3f86d4a4. |
Select Filename | Select whether you want to reference your DataSet using the Input DataSet ID or an output file name. |
Enter Filename | Enter the output file name for your data. |
MIME Type | Select the MIME type for your data. |