Documentation
Apache Superset

Semantic Layer Sync with Apache Superset

This page details the support for Apache Superset (opens in a new tab) in Semantic Layer Sync.

Configuration

To create a new sync, choose Apache Superset:

Data model is synchronized via Superset API (opens in a new tab) 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:

Python
JavaScript
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'
      }
    }
  ]