Superset Setup

Configure an Apache Superset environment profile for the `datus superset` plugin

datus-ai e16113b 1.2 KB Updated

File contents

Superset Setup

Use when the plugin is unconfigured or another environment is needed. If this deployment cannot edit agent configuration, stop and ask the administrator to edit it server-side.

agent.yml

agent:
  plugins:
    superset:
      prod:
        default: true
        api_base_url: https://superset.example.com
        auth_mode: login          # login or token
        username: analyst         # login auth
        password: ${SUPERSET_PASSWORD}
        # access_token: ${SUPERSET_ACCESS_TOKEN}  # token auth instead
        provider: db
        verify_ssl: "true"
        timeout: "30"
        serving_datasource: warehouse_prod       # optional
        serving_database_name: analytics         # optional

Ask for the endpoint, auth mode, non-secret username/provider, and environment-variable name holding the password or token. Have the user export that variable. Write only ${VAR} to YAML, never a literal secret. Mark only the first profile default: true.

Verify with datus superset status health and datus superset status whoami.

datus-ai/datus-plugins/tree/main/datus-superset-plugin/datus_superset_plugin/skills/superset-setup commit e16113b1fd

Frequently asked questions

npx skillmds@latest add datus-ai/superset-setup