> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Sheets Enterprise WriteBack Connector

## Intro

Google Sheets is a spreadsheet program, part of a free, web-based software office suite offered by Google within its Google Drive service. The program allows users to create and edit spreadsheets online while collaborating with other users in real-time. With Domo’s Google Sheet Enterprise Writeback connector, you can transfer your data from a Domo dataset to your Google Sheet that you already have shared with your Service Account. To learn more about the Google API, visit [https://developer.google.com](https://developer.google.com/ "https://developer.google.com").

You export data to Google Sheets in the Data Center. This topic discusses the fields and menus that are specific to the Google Sheet 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](/s/article/360042926274).

<Note>
  **Note:** The owner of a writeback dataset must also be an owner or co-owner of the input dataset.
</Note>

## Prerequisites

To configure this connector, you will need the following:

* A project created in the Google Developers Console with the APIs and Services enabled
* The OAuth Client ID and Client Secret associated with your Google Developers account

The following steps explain in detail how to create your project and obtain the needed credentials.

#### Creating a Project in the Google Developers Console

To create a project in the Google Developers Console, do the following:

1. Go to
   [https://console.developers.google.com](https://console.developers.google.com "https://console.developers.google.com").

2. Click the dropdown arrow next to
   **My Project**.

   <Frame>
     <img alt="googlesheets_writeback_1.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/blcgkVgnZv6gj_XY/images/kb/ka05w00000123L9-00N5w00000Ri7BU-0EM5w000005vO5e.png?fit=max&auto=format&n=blcgkVgnZv6gj_XY&q=85&s=f03feb392ea59ce30f3bb25369729015" width="675" height="250" data-path="images/kb/ka05w00000123L9-00N5w00000Ri7BU-0EM5w000005vO5e.png" />
   </Frame>

3. Click
   **New Project**.

   <Frame>
     <img alt="googlesheets_writeback_2.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/blcgkVgnZv6gj_XY/images/kb/ka05w00000123L9-00N5w00000Ri7BU-0EM5w000005vO5Z.png?fit=max&auto=format&n=blcgkVgnZv6gj_XY&q=85&s=b44efa97c8a173faf5f4babcd3a21d71" width="596" height="158" data-path="images/kb/ka05w00000123L9-00N5w00000Ri7BU-0EM5w000005vO5Z.png" />
   </Frame>

4. Name your project and select the parent folder.

5. Click
   **Create**.

   <Note>
     **Note:** You can also use an existing project if you want.
   </Note>

#### Creating the OAuth Client ID and Client Secret

1. Login to [https://console.developers.google.com/](https://console.developers.google.com/).

2. Select your project.

3. Go to **APIs & Services > Credentials**.

   <Frame>
     <img alt="clipboard_e2f41627fa6f73db016bc16ff40f8b82c.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/blcgkVgnZv6gj_XY/images/kb/ka05w00000123L9-00N5w00000Ri7BU-0EM5w000005vO5h.png?fit=max&auto=format&n=blcgkVgnZv6gj_XY&q=85&s=d0171ce14d9fbf5eebc526ed6d2be55a" width="718" height="106" data-path="images/kb/ka05w00000123L9-00N5w00000Ri7BU-0EM5w000005vO5h.png" />
   </Frame>

4. Click on **+Create credentials > OAuth client ID**.

   <Frame>
     <img alt="clipboard_e7def711e8943bc1c4efbad251022993d.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/blcgkVgnZv6gj_XY/images/kb/ka05w00000123L9-00N5w00000Ri7BU-0EM5w000005vO5k.png?fit=max&auto=format&n=blcgkVgnZv6gj_XY&q=85&s=2180b7fbce3ba416e65fdc5aba206696" width="447" height="275" data-path="images/kb/ka05w00000123L9-00N5w00000Ri7BU-0EM5w000005vO5k.png" />
   </Frame>

5. Select **Application Type** as **Web application**.

   <Frame>
     <img alt="clipboard_e1653836b54d692f35e36ca03a376888f.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/blcgkVgnZv6gj_XY/images/kb/ka05w00000123Pd-00N5w00000Ri7BU-0EM5w000005vO9K.png?fit=max&auto=format&n=blcgkVgnZv6gj_XY&q=85&s=1231438fcde4dfa25032b123bd60bb4a" width="304" height="346" data-path="images/kb/ka05w00000123Pd-00N5w00000Ri7BU-0EM5w000005vO9K.png" />
   </Frame>

6. Enter the name.

7. Click on **+Add URI** under **Authorized redirect URIs**.

8. Add [https://oauth.domo.com/api/data/v1/oauth/providers/google-sheets-enterprise-writeback/exchange](https://oauth.domo.com/api/data/v1/oauth/providers/google-sheets-enterprise-writeback/exchange) as the redirect  URI.

9. Click **Save**.

#### Enabling API and Services

1. Login to [https://console.developers.google.com/](https://console.developers.google.com/).

2. Go to **APIs & Services > Dashboard**.

3. Click **+ENABLE APIS AND SERVICES**.

   <Frame>
     <img alt="clipboard_ef1cc8d08de373d1c11e4f94e151cb1fc.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/blcgkVgnZv6gj_XY/images/kb/ka05w00000123Pd-00N5w00000Ri7BU-0EM5w000005vO9N.png?fit=max&auto=format&n=blcgkVgnZv6gj_XY&q=85&s=d8d0d828833a17c5f4454fbcb695e891" width="762" height="100" data-path="images/kb/ka05w00000123Pd-00N5w00000Ri7BU-0EM5w000005vO9N.png" />
   </Frame>

4. Search for **Google Sheets API**.

   <Frame>
     <img alt="clipboard_efd80f06342f8e1f1fec9fb107fffbbd6.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/blcgkVgnZv6gj_XY/images/kb/ka05w00000123Pd-00N5w00000Ri7BU-0EM5w000005vO8l.png?fit=max&auto=format&n=blcgkVgnZv6gj_XY&q=85&s=0a40fdcec8d00837998fcac5e762ba4b" width="1006" height="213" data-path="images/kb/ka05w00000123Pd-00N5w00000Ri7BU-0EM5w000005vO8l.png" />
   </Frame>

5. Select the **API Enabled** checkbox.

   <Frame>
     <img alt="clipboard_e207101692de5bdddce9729c6bb450498.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/blcgkVgnZv6gj_XY/images/kb/ka05w00000123Pd-00N5w00000Ri7BU-0EM5w000005vO9M.png?fit=max&auto=format&n=blcgkVgnZv6gj_XY&q=85&s=e611358a6244c765580d3700e36e8a43" width="633" height="205" data-path="images/kb/ka05w00000123Pd-00N5w00000Ri7BU-0EM5w000005vO9M.png" />
   </Frame>

6. Similarly, search for **Google Drive API** and select the **API Enabled** checkbox.

## Configuring the Connection

This section enumerates the options in the **Credentials** and **Details** panes in the Google Sheet 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](/s/article/360042926274 "Adding a DataSet Using a Data Connector").

### Credentials Pane

This pane contains fields for entering credentials to connect to your Google developers account. The following table describes what is needed for each field:

<table border="1" cellpadding="1" cellspacing="1" data-aura-rendered-by="33:201;a"><thead><tr><th colspan="1" rowspan="1"><p><span class="s1"> Field </span></p></th><th colspan="1" rowspan="1"><p><span class="s1"> Description </span></p></th></tr></thead><tbody><tr><td colspan="1" rowspan="1"> Client ID </td><td colspan="1" rowspan="1"> Enter the Client ID associated with your Google Developers account. For more information, see <a href="#h_01ERQKRC5K0GG96DYQM5CSE2XZ" target="_self" title="Google Sheets Enterprise WriteBack Connector"> Prerequisites </a>. </td></tr><tr><td colspan="1" rowspan="1"> Client Secret </td><td colspan="1" rowspan="1"> Enter the Client Secret associated with your Google Developers account. For more information, see <a href="#h_01ERQKRC5K0GG96DYQM5CSE2XZ" target="_self" title="Google Sheets Enterprise WriteBack Connector"> Prerequisites </a>. </td></tr></tbody></table>

Once you have entered valid credentials, you can use the same account any time you go to set up a new Domo-Google Sheets connection. You can manage connector accounts in the **Accounts** tab in the Data Center. For more information about this tab, see [Managing User Accounts for Connectors](/s/article/360042926054 "Managing User Accounts for Connectors").

### Details Pane

This pane contains a primary **Reports** menu, along with various other menus which may or may not appear depending on the report type you select.

<table border="1" cellpadding="1" cellspacing="1" data-aura-rendered-by="33:201;a"><thead><tr><th colspan="1" rowspan="1"><p> Menu </p></th><th colspan="1" rowspan="1"><p> Description </p></th></tr></thead><tbody><tr><td colspan="1" rowspan="1"> Input DataSet ID </td><td colspan="1" rowspan="1"><p> Enter your Domo dataset ID (GUID) located in the dataset URL. </p><p> Example: <a href="https://customer.domo.com/datasources/" rel="noopener" target="_blank"> [https://customer.domo.com/datasources/](https://customer.domo.com/datasources/) </a><b><b> aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee </b></b> /details/settings </p></td></tr><tr><td colspan="1" rowspan="1"> Input Sheet ID </td><td colspan="1" rowspan="1"><p> Enter the Google Sheet ID that has been shared with the Service Account you created. </p><p> Example: <a href="https://docs.google.com/spreadsheets/d/" rel="noopener" target="_blank"> [https://docs.google.com/spreadsheets/d/](https://docs.google.com/spreadsheets/d/) </a><b><b> 18zN0RQ8HIaEj2USwtAkCMX7AKBl-x-\_vq24kPd4\_Tsk </b></b> /edit#gid=0 <br /><b> NOTE </b> - All data in this sheet will be replaced </p></td></tr><tr><td colspan="1" rowspan="1"> Sheet Name </td><td colspan="1" rowspan="1"> Enter the sheet name. Default sheet name will be 'Sheet1'. </td></tr></tbody></table>

### Other Panes

For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see [Adding a DataSet Using a Data Connector](/s/article/360042926274).
