Ready to get started?

Learn more about CData Connect Cloud or sign up for free trial access:

Free Trial

Create Reports from AlloyDB Data in Looker Studio



Use CData Connect Cloud to gain access to live AlloyDB data and create custom reports in Looker Studio.

Looker Studio, formerly known as Google Data Studio, empowers users to craft customized reports featuring data visualizations that can be shared with clients while reflecting your brand identity. When combined with CData Connect Cloud, you gain immediate cloud-to-cloud access to AlloyDB data to create visualizations, dashboards, and more. This article provides step-by-step instructions on establishing a virtual database for AlloyDB and generating reports from AlloyDB data within Looker Studio.

CData Connect Cloud offers a seamless cloud-to-cloud interface tailored for AlloyDB, making it straightforward to construct reports directly from live AlloyDB data within Looker Studio without the need for data replication. As you create visualizations, Looker Studio generates queries to retrieve data. With its inherent optimized data processing capabilities, CData Connect Cloud efficiently channels all supported query operations, including filters, JOINs, and more, directly to AlloyDB. This leverages server-side processing to swiftly provide the requested AlloyDB data.

This article requires a CData Connect Cloud instance and the CData Connect Cloud Connector for Looker Studio. Get more information on the CData Connect Cloud and sign up for a free trial at https://www.cdata.com/cloud.


Configure AlloyDB Connectivity for Looker Studio

Connectivity to AlloyDB from Looker Studio is made possible through CData Connect Cloud. To work with AlloyDB data from Looker Studio, we start by creating and configuring a AlloyDB connection.

  1. Log into Connect Cloud, click Connections and click Add Connection
  2. Select "AlloyDB" from the Add Connection panel
  3. Enter the necessary authentication properties to connect to AlloyDB.

    The following connection properties are usually required in order to connect to AlloyDB.

    • Server: The host name or IP of the server hosting the AlloyDB database.
    • User: The user which will be used to authenticate with the AlloyDB server.
    • Password: The password which will be used to authenticate with the AlloyDB server.

    You can also optionally set the following:

    • Database: The database to connect to when connecting to the AlloyDB Server. If this is not set, the user's default database will be used.
    • Port: The port of the server hosting the AlloyDB database. This property is set to 5432 by default.

    Authenticating with Standard Authentication

    Standard authentication (using the user/password combination supplied earlier) is the default form of authentication.

    No further action is required to leverage Standard Authentication to connect.

    Authenticating with pg_hba.conf Auth Schemes

    There are additional methods of authentication available which must be enabled in the pg_hba.conf file on the AlloyDB server.

    Find instructions about authentication setup on the AlloyDB Server here.

    Authenticating with MD5 Authentication

    This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to md5.

    Authenticating with SASL Authentication

    This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to scram-sha-256.

    Authenticating with Kerberos

    The authentication with Kerberos is initiated by AlloyDB Server when the ∏ is trying to connect to it. You should set up Kerberos on the AlloyDB Server to activate this authentication method. Once you have Kerberos authentication set up on the AlloyDB Server, see the Kerberos section of the help documentation for details on how to authenticate with Kerberos.

  4. Click Create & Test
  5. Navigate to the Permissions tab in the Add AlloyDB Connection page and update the User-based permissions.

With the connection configured, you are ready to connect to AlloyDB data from Looker Studio.

Visualize Live AlloyDB Data from Looker Studio

The steps below outline connecting to CData Connect Cloud from Looker Studio to create a new AlloyDB data source and build a simple visualization from the data.

  1. Log into Looker Studio, click data sources, create a new data source, and choose CData Connect Cloud Connector.
  2. Click Authorize and allow access to your Google account.
  3. Click Authorize to authenticate with your CData Connect Cloud instance
  4. In the CData Connect Cloud Connector in Looker Studio select a Connection (e.g. AlloyDB1) and click Next
  5. Select a Table (e.g. Orders) or use a Custom Query and click Connect to continue
  6. If needed, modify columns, click Create Report, and add the data source to the report.
  7. Select a visualization style and add it to the report.
  8. Select Dimensions and Measures to customize your visualization.

Live Access to AlloyDB Data from Cloud Applications

Now you have a direct, cloud-to-cloud connection to live AlloyDB data from your Looker Studio workbook. You can create more data sources and new visualizations, build reports, and more — all without replicating AlloyDB data.

Try CData Connect Cloud and get real-time data access to 100+ SaaS, Big Data, and NoSQL sources directly from your cloud applications.