Reference

Hubviz data sources: connection types and where to use them

The Hubviz Studio connection types, what each one reads, how they work in the desktop app and in the browser and where a connection is saved.

Every analysis in Hubviz starts with a connection: it says where the data is and how to reach it. Each connection feeds one or more cubes. This page shows the connection types, the differences between the installed app and the browser, and where connections are kept.

Connection types

TypeWhat it readsWho fetches the dataGuide
DatabaseSQL Server, PostgreSQL, MySQL, OracleDB, Firebird, SAP HANA and ODBC, with a SQL queryHubviz, at the scheduled timeDatabases
APISystems with a REST API that answers in JSONHubviz, at the scheduled timeREST API
Local FileExcel spreadsheets (.xlsx) and CSV filesHubviz, from the fileExcel and CSV
Google SheetsGoogle Drive spreadsheets, one sheet per cubeHubviz, at the scheduled timeGoogle Sheets
WebhookJSON data that another system sendsYour system, whenever it wantsWebhook

The type is the first choice when you create a cube:

Which type to pick

  • The data is in your company’s own system, with a SQL database: database. It is the most complete path: you join tables and filter in the query.
  • The system is in the cloud (CRM, online ERP, ad platform) and has an API: REST API.
  • The system has no API but fires notifications (webhooks): webhook.
  • The data is in a spreadsheet: Google Sheets if it is shared in Drive, Excel and CSV if it is a file.

Installed app vs browser

Hubviz Studio runs installed on your computer or in the browser. The difference is who reaches the data source.

TypeInstalled Hubviz StudioHubviz Studio in the browser
DatabaseThe connection leaves from your computer. It reaches databases on the company network.The connection leaves from the Hubviz servers. The database must accept connections from the internet.
ODBCLists the DSNs configured on your computer.Asks for the name of a DSN configured on the server that runs the Hubviz API. It does not read the DSNs on your computer.
Excel and CSVReads the file straight from your computer.Uploads a copy of the file. If the spreadsheet changes, upload it again.
REST API, Google Sheets and WebhookWork the same in both.Work the same in both.
Automatic refreshCan run on this computer or in the cloud.Cloud only.

Where the connection is kept

When you create or edit a connection, pick the Storage at the top of the window.

OptionWhere it livesWho sees itCloud refresh
Local (default)On this computer only. In the browser, in this browser only.Only you, on this device.No
CloudIn the Hubviz cloud.You and whoever you pick in Profile access.Yes

Where to create and edit connections

  • When creating a cube: in Cubes, click +, then Create Manually, pick the type and click Create New Connection. To change an existing connection, select it and click Edit Connection.
  • From the top menu: open Data Sources. The screen lists every connection available to you.
On the Data Sources screenWhat it does
Add new connectionCreates a connection without creating a cube.
ScopeAll shows every connection. Highlight this project highlights the ones used by the project picked in Focus project. This project only shows only those.
Include ODBC ConfigurationsMakes the ODBC option appear in the database type. See ODBC.
Export JSON and Import JSONCopy connections between computers, in a JSON file.
Icon next to the nameA computer for a local connection, a cloud for a cloud connection.
ActionsEdit, Delete and Test Authentication.

A connection can serve several cubes. If the database password changes, edit the connection once and every cube that uses it switches to the new password.

Example: Aurora’s connections

ConnectionTypeStorageCubes
Aurora ERP (SQL Server)DatabaseLocal: the server only exists on the internal networkSales, Inventory
Aurora CRMAPICloud: refreshes overnight, with no computer onOpportunities
Sales targets 2026Google SheetsCloudTargets
Online store ordersWebhookCloudOrders

Once connected, move on to Cube fields and Measures.