Overview
The Metabase connector allows Zenskar to integrate directly with your Metabase instance and sync data for analytics and reporting. By connecting Metabase as a data source, Zenskar can automatically retrieve datasets, dashboards, and query results used in your business intelligence workflows.Prerequisites
To connect Metabase as a data source in Zenskar, ensure the following:Authentication
To set up a Metabase data source connector in Zenskar, you need:- Username and password: Used to generate a new session token
- Session token: A token used to authenticate API requests (typically expires every 14 days)
If you provide only username and password, Zenskar will generate a session token automatically when running queries. This may trigger security notifications in the user’s Metabase account.
Metabase API URL
- The URL of your Metabase instance API (must use
https://) - Example:
https://your-metabase-domain.com/api/
Obtain a session token (optional)
You can manually generate a session token using Metabase’s API:id field — this is your session_token:
The connector will alert you of an invalid or expired session token by returning a 401 Unauthorized response status code.
Set up a Metabase data-source connector via Zenskar dashboard
Once the prerequisites are complete, connect Metabase as a data source in Zenskar.- Log into your Zenskar dashboard.
- In the left side bar, click Usage > Data Sources.
- In the top-right corner, click + ADD DATA SOURCE.
- On the Add New Data Source page, configure the connector.
- Click on the SAVE SOURCE button
Configure the connector
General details
Connector configuration
Data source access mode (read-only)
Zenskar replicates data directly from the source to Zenskar’s data infrastructure. The data is periodically synced to maintain freshness. This option is:- Ideal for small-mid size database (less than 30GB)
- Ideal for periodical data ingestion
- Optimised for quicker invoice generation