Skip to Content

Semantic Layer Sync with Apache Superset

This page details the support for Apache Superset  in Semantic Layer Sync.

Configuration

To create a new sync, choose Apache Superset:

Data model is synchronized via Superset API  which uses a user name and a password for authentication. You can use your own user name and password or create a new service account. You can copy a url at any page of your Superset workspace.

Example confguration for Superset:

from cube import config @config('semantic_layer_sync') def semantic_layer_sync(ctx: dict) -> list[dict]: return [ { 'type': 'superset', 'name': 'Superset Sync', 'config': { 'user': 'mail@example.com', 'password': '4dceae-606a03-93ae6dc7', 'url': 'superset.example.com', 'database': 'Cube Cloud: production-deployment' } } ]
module.exports = { semanticLayerSync: ({ securityContext }) => { return [ { type: "superset", name: "Superset Sync", config: { user: "mail@example.com", password: "4dceae-606a03-93ae6dc7", url: "superset.example.com", database: "Cube Cloud: production-deployment" } } ] } }

Was this page useful?