Pere Miquel Brull 34fbe5d64c
Docs - Prepare 1.7 docs and 1.8 snapshot (#20882)
* DOCS - Prepare 1.7 Release and 1.8 SNAPSHOT

* DOCS - Prepare 1.7 Release and 1.8 SNAPSHOT
2025-04-18 12:12:17 +05:30

4.0 KiB

title slug
Run the Lightdash Connector Externally /connectors/dashboard/lightdash/yaml

{% connectorDetailsHeader name="Lightdash" stage="PROD" platform="OpenMetadata" availableFeatures=["Dashboards", "Charts", "Owners", "Datamodels", "Lineage"] unavailableFeatures=["Tags", "Projects"] / %}

In this section, we provide guides and references to use the Lightdash connector.

Configure and schedule Lightdash metadata and profiler workflows from the OpenMetadata UI:

{% partial file="/v1.6/connectors/external-ingestion-deployment.md" /%}

Requirements

To integrate Lightdash, ensure you are using OpenMetadata version 1.2.x or higher.

Python Requirements

{% partial file="/v1.6/connectors/python-requirements.md" /%}

To run the Lightdash ingestion, you will need to install:

pip3 install "openmetadata-ingestion"

Metadata Ingestion

All connectors are defined as JSON Schemas. Here you can find the structure to create a connection to Lightdash.

In order to create and run a Metadata Ingestion workflow, we will follow the steps to create a YAML configuration able to connect to the source, process the Entities if needed, and reach the OpenMetadata server.

The workflow is modeled around the following JSON Schema

1. Define the YAML Config

This is a sample config for Lightdash:

{% codePreview %}

{% codeInfoContainer %}

Source Configuration - Service Connection

{% codeInfo srNumber=1 %}

  • Host and Port: Specify the network location where your Lightdash instance is accessible, combining both hostname and port in a URI format: either http://hostname:port or https://hostname:port, based on your security needs. Example: For a local setup, use http://localhost:8080; for a server deployment, it might be https://lightdash.example.com:3000. Ensure the specified port is open and accessible through network firewall settings.

{% /codeInfo %}

{% codeInfo srNumber=2 %}

  • API Key: This key authenticates requests to your Lightdash instance. Keep the API Key secure, sharing it only with authorized applications or users.

{% /codeInfo %}

{% codeInfo srNumber=3 %}

  • Project UUID: This unique identifier links API requests or configurations to a specific project in Lightdash.

{% /codeInfo %}

{% codeInfo srNumber=4 %}

  • Space UUID: Identifies a specific "Space" in Lightdash, used to organize dashboards, charts, and assets.

{% /codeInfo %}

{% codeInfo srNumber=5 %}

  • Proxy Authentication: If your Lightdash instance requires authentication through a proxy server, provide proxy credentials. Proxy authentication controls access to external resources and Lightdash.

{% /codeInfo %}

{% partial file="/v1.6/connectors/yaml/dashboard/source-config-def.md" /%}

{% partial file="/v1.6/connectors/yaml/ingestion-sink-def.md" /%}

{% partial file="/v1.6/connectors/yaml/workflow-config-def.md" /%}

{% /codeInfoContainer %}

{% codeBlock fileName="filename.yaml" %}

source:
  type: lightdash
  serviceName: local_lightdash
  serviceConnection:
    config:
      type: Lightdash
      hostPort: https://app.lightdash.cloud
      apiKey: <apiKey>
      projectUUID: <projectUUID>
      spaceUUID: <spaceUUID>
      proxyAuthentication: <ProxyAuthentication>

{% partial file="/v1.6/connectors/yaml/dashboard/source-config.md" /%}

{% partial file="/v1.6/connectors/yaml/ingestion-sink.md" /%}

{% partial file="/v1.6/connectors/yaml/workflow-config.md" /%}

{% /codeBlock %}

{% /codePreview %}

{% partial file="/v1.6/connectors/yaml/ingestion-cli.md" /%}