Admin settings - Self-service Explores

With the Self-service Explores feature, your Looker users can upload CSV, XLS, and XLSX files to Looker and then query and visualize the data in a Looker Explore without needing to configure a LookML model or set up Git version control.

Looker admins can select the Self-service Explores option from the Looker Admin menu to configure the Self-service Explores feature and view data uploads on the instance.

Before you begin

To use self-service Explores, your Looker instance must meet the following requirements:

  • Running Looker 25.20 or later for BigQuery connections, or Looker 26.8 or later for Snowflake connections.
  • Has a connection to a BigQuery or Snowflake database, and the connection must be configured in the following ways:
    • The connection must be configured with the All projects scope. To verify the connection's scope, see the Scope column in the Databases tab of the Connections page in the Looker admin menu. The connection's Project Scope value cannot be edited once the connection is created.
    • The connection must be enabled for persistent derived tables (PDTs). To verify that PDTs are enabled on the connection, open the Looker Connections page, click the Edit button for the connection, click to open the Optional Settings tab, and then verify that the Enable PDTs toggle is turned on.
    • For Snowflake connections, a database administrator must grant CREATE STAGE to the Looker role. For details, see the documentation page for creating a Looker connection to Snowflake.
  • For any user who will be creating self-service Explores, their Looker user account must have the upload_data permission, which allows a user to upload CSV files to your instance.

Enabling self-service Explores

Before your users can create self-service Explores, a Looker admin must configure the feature by performing the following steps:

  1. From the General section of the Looker Admin menu, select the Self-service Explores admin page.
  2. On the Self-service Explores admin page, from the Default connection drop-down menu, select the BigQuery or Snowflake connection to use for storing the data for self-service Explores. Looker will save the data to this database for the self-service Explores on your instance.
  3. Click the Test button next to the Data Uploads toggle to verify that the default connection is valid and that the connection is enabled for persistent derived tables (PDTs) (see the Before you begin section for connection requirements). If the test fails, you cannot enable data uploads. Go to the Connections admin page to troubleshoot the connection.
  4. If the test passes, turn on the Data Uploads toggle to enable the self-service Explores feature.
  5. If you want your Looker instance to support uploading data from Google Sheets:
    • Verify that you have configured a BigQuery connection for self-service Explores (Google Sheets uploads are supported only on BigQuery connections).
    • Use the Google Cloud console to enable the required APIs to support Google Sheets uploads.
    • Optionally enable OAuth for Google Sheets uploads if you want to enable your users to use Google Drive navigation to select a Google Sheets file for data upload.
    • Click the Test button next to the Google Sheets data import toggle to run a test specific to Google Sheets uploads.
    • Turn on the Google Sheets data import toggle. (Both the Data Uploads toggle and the Google Sheets data import toggle must be enabled to upload data from Google Sheets.)

Enabling the APIs to support Google Sheets uploads

To enable Looker to support uploading data from Google Sheets for BigQuery connections, the following APIs must be enabled in the Google Cloud console by an IAM user with the IAM roles/serviceusage.serviceUsageAdmin permission:

  • This API must be enabled in the Google Cloud project that houses the BigQuery connection that is specified in the Default connection drop-down menu of the Self-service Explores admin page:

    • BigQuery API: Required for all BigQuery operations
  • These APIs must be enabled in the Google Cloud project that is associated with the service account used to upload data (the service account that is used for PDT processes on your BigQuery connection, which may or may not be the same as the Google Cloud project that is specified in the Default connection drop-down menu of the Self-service Explores admin page):

    • BigQuery API: Required for all BigQuery operations
    • Google Sheets API: Required for retrieving the names of each sheet in a Google Sheets document
    • Google Drive API: Required for BigQuery to read files from Drive

Perform the following steps to enable the APIs:

  1. From the Google Cloud console Open project picker, select the project that houses the BigQuery connection that is specified in the Default connection drop-down menu of the Self-service Explores admin page.

  2. In the Google Cloud console navigation menu, go to APIs & Services > Library and open the BigQuery API.

    Go to BigQuery API

  3. On the BigQuery API page, if the API isn't already enabled, click Enable.

  4. Still on the BigQuery API page, from the Google Cloud console Open project picker, select the Google Cloud project that is associated with the service account used to upload data (the service account that is used for PDT processes on your BigQuery connection).

  5. On the BigQuery API page, if the API isn't already enabled, click Enable.

  6. In the Google Cloud console navigation menu, go to APIs & Services > Library and open the Google Sheets API.

    Go to Google Sheets API

  7. On the Google Sheets API page, if the API isn't already enabled, click Enable.

  8. In the Google Cloud console navigation menu, go to APIs & Services > Library and open the Google Drive API.

    Go to Google Drive API

  9. On the Google Drive API page, if the API isn't already enabled, click Enable.

Enabling OAuth for Google Sheets uploads

After you have enabled self-service Explores, enabled the APIs to support Google Sheets uploads, and enabled the Google Sheets data import toggle, you can also enable your users to use Google Drive navigation to select Google Sheets documents for data uploads.

To enable Google Drive navigation on your Looker instance, an IAM user with the required roles must create an OAuth client in the Google Cloud console and then enter the OAuth credentials into the Self-service Explores admin page on your Looker instance, as described in the procedure in this section.

To create the OAuth client and enter the credentials in your Looker instance, follow these steps:

  1. In the Google Cloud console, use the Google Cloud console Open project picker to select the Google Cloud project that is associated with the service account used to upload data (the service account that is used for PDT processes on your BigQuery connection).

    Go to Google Cloud console

  2. Use the Google Cloud console main menu to navigate to APIs & Services > Credentials.

  3. From the Credentials page, click the Create Credentials drop-down menu, and then select OAuth client ID.

  4. In the Application type drop-down, select Web application.

  5. In the Name field, enter a name for your OAuth client, such as Looker upload data from Sheets.

  6. In the Authorized JavaScript origins section, click the Add URI button. Enter your Looker instance URL:

    https://LOOKER_INSTANCE_URL
    
  7. Click Create.

  8. After you click Create, an OAuth client created window appears. This window displays the client ID and client secret that the Google Cloud console created for your OAuth client. Copy and make note of these values.

  9. In your Looker instance, select Self-service Explores from the General section of the Admin panel.

  10. On the Self-service Explores page, in the Client ID and Client secret fields, paste the values that you copied from the Google Cloud console when you created the OAuth client in the Google Cloud console.

  11. Click Save.

  12. Click the Test button next to the Google Sheets data import toggle to test the OAuth configuration in addition to the Google Sheets upload configuration. (You can also click the Test button by the Data Uploads toggle to verify the connection in addition to the Google Sheets configuration.)

Now, when your users upload data using the Import from cloud option, Looker displays Google Drive navigation for selecting Google Sheets documents.

Viewing the data uploads on your Looker instance

If self-service Explores are enabled on your instance, a Looker admin can use the Data uploads table on the Self-service Explores admin page to view the data that your users have uploaded on the instance.

The Data uploads table shows the following information about the data uploads on your instance:

  • The name of the self-service Explore, which is also a hyperlink that opens the self-service Explore
  • The owner of the data upload
  • The date that the data was uploaded
  • A Delete button that allows Looker admins to delete the file upload and its associated self-service Explore

Looker admins can open any self-service Explore on the instance by using the links in the Data uploads table. However, the Self-service Explores section of the Looker Explore menu lists only the self-service Explores that you own or that the owner has specifically shared with you. The Explore menu doesn't list every self-service Explore on the instance for Looker admins, since that could make the Explore menu cumbersome.

Removing a data upload

The owner of a data upload can remove their upload from the Edit Self-service Explore page. In addition, a Looker admin can remove a data upload from the Self-service Explores admin page by following these steps:

  1. From the General section of the Looker Admin menu, select the Self-service Explores admin page.
  2. In the Data uploads table, click the Delete button for the data upload that you want to remove.
  3. Click Delete in the confirmation dialog.