Connect Looker Studio to Couchbase Columnar for data analysis and visualization. This connector supports two modes: Tabular Analytics Views (TAVs) for stable, optimized data sources, and custom queries for flexible data exploration.
Workflow: Either create TAVs in Couchbase Capella for consistent reporting, or use custom SQL++ queries for ad-hoc analysis. TAVs provide a stable, schema-defined interface that's optimized for BI tools, while custom queries offer maximum flexibility for complex data operations.
The connector authenticates with Basic Auth to the Columnar API (/api/v1/request) and infers schema automatically using array_infer_schema so Looker Studio fields are created with reasonable types.
To use this connector, you need:
To add the Couchbase Columnar connector to your Looker Studio reports:
When adding the data source, provide:
cb.<your-host>.cloud.couchbase.comThe connector validates credentials by running a lightweight test query (SELECT 1 AS test;).
When you add the Couchbase Columnar connector in Looker Studio, you'll see the authentication screen:
For the "By View" mode, create Tabular Analytics Views in Capella:
Open Analytics Workbench: In your Capella cluster, go to the Analytics tab and launch the Analytics Workbench.
Create your SQL++ query: Write a query that returns the data structure you want for reporting:
-- Example airport query for TAV creation
SELECT a.airportname,
a.city,
a.country,
a.faa,
a.icao
FROM `travel-sample`.`inventory`.`airport` AS a
WHERE a.country = 'United States'
LIMIT 100;Test the query: Run your query to verify it returns the expected results and data types.
Create the TAV:
airports_us_flattenedVerify creation: Your TAV will appear in the database browser under the specified scope and can be queried like a table.
Choose your mode in the configuration screen:
By View or Use Custom Query.What runs:
SELECT <requested fields or *> FROM \database`.`scope`.`view` [LIMIT n]`SELECT array_infer_schema((SELECT VALUE t FROM \database`.`scope`.`view` [LIMIT n])) AS inferred_schema;`LIMIT).Example custom query:
SELECT airline.name AS airline_name,
airline.iata AS iata_code,
airline.country AS country,
COUNT(*) AS route_count
FROM `travel-sample`.`inventory`.`airline` AS airline
JOIN `travel-sample`.`inventory`.`route` AS route
ON airline.iata = route.airline
WHERE airline.country = "United States"
GROUP BY airline.name, airline.iata, airline.country
LIMIT 100;What runs:
SELECT array_infer_schema((your_custom_query)) AS inferred_schema;After authentication, configure the connector by selecting your database, scope, and view:
address.city, schedule[0].day). Unstructured values may be stringified.⚠️ Schema Inference Notes: For TAVs, schema inference uses
array_infer_schemaon the entire dataset unless you specify Maximum Rows (which adds a LIMIT clause for sampling). Field types are inferred from the analyzed data and may miss variations (e.g., fields containing both text and numbers in different documents). If schema inference fails, ensure your TAV contains data and consider adding a Maximum Rows limit for faster sampling during testing.
Once your schema is configured, you can customize the fields in your Looker Studio dashboard:
Maximum Rows controls LIMIT (blank = no limit).LIMIT while exploring: Start with smaller datasets (e.g., LIMIT 1000) to test connectivity and schema inference quickly. Remove or increase limits once you're satisfied with the data structure.LIMIT clause for faster sampling (e.g., LIMIT 100).Once your connector is configured and fields are set up, create reports by dragging and dropping tables from the side pane onto the main canvas:
For assistance with the Couchbase Columnar Looker Studio connector:
Connector Data Usage: This connector accesses your Couchbase Columnar credentials and query results solely for data integration with Looker Studio. No data is stored permanently by the connector, and all processing occurs within Google's Looker Studio environment.
Official Privacy Policy: For complete information about how Couchbase handles your data, please review our official Couchbase Privacy Policy.
Google Looker Studio: This connector operates within Google Looker Studio, which has its own data handling policies. Please review Google's Privacy Policy for their data practices.
Connector Usage: Use this connector only with Couchbase Columnar instances you own or have permission to access. Maintain security of your credentials and comply with your organization's data governance policies.
Official Terms: Your use of Couchbase products and services is governed by our official Couchbase Terms of Use. For enterprise customers, additional terms may apply under your specific Couchbase License Agreement.
Google Looker Studio: This connector operates within Google Looker Studio and is subject to Google's Terms of Service.
Copyright: © 2024 Couchbase, Inc. All rights reserved.
Legal Information: For comprehensive legal information, licensing terms, and trademark policies, visit Couchbase Legal and our Trademark Policy.
Trademarks: Couchbase and the Couchbase logo are trademarks of Couchbase, Inc. Google Looker Studio is a trademark of Google LLC.
Contact: For legal inquiries, contact legal@couchbase.com.