Skip to main content
DataHub is an open-source metadata platform for data discovery, observability, and governance. Connecting DataHub to Paradime keeps your DataHub catalog in sync with your dbt™ project by pushing your dbt™ docs artifacts (models, lineage, columns, and descriptions) to DataHub.

Two ways to sync

You can push dbt™ metadata to DataHub in two ways:

Automatic sync

Connect DataHub in the Paradime UI, and Paradime pushes dbt™ metadata to DataHub automatically after every Paradime Catalog Refresh, with no command required.

Bolt or CLI command

Push explicitly from a Bolt schedule or the CLI using the DataHub sync command as part of your production pipeline.
Push explicitly with the command from either surface: You can connect the integration in two ways:
  • Connect UI: a dedicated form to enter your GMS URL, token, and optional domain, with a built-in connection test. Fastest way to get set up.
  • Environment variables: set your DataHub credentials as Paradime environment variables. Useful for scripted or templated setups.
Both methods use the same underlying credentials, described below.

Prerequisites

Before generating API credentials, ensure you have:
  • An active DataHub instance (DataHub Cloud / Acryl)
  • Permission to create Personal Access Tokens in DataHub
  • Metadata Service Authentication enabled on your instance
  • The service account used to generate the Personal Access Token must have Admin permissions in DataHub. The token inherits the account’s privileges, and Admin access is required to push dbt™ metadata to the GMS endpoint.

Step 1: Generate API Credentials

Paradime authenticates to DataHub’s GMS (Generalized Metadata Service) endpoint using a Personal Access Token. The token is created from your DataHub instance and used together with your GMS server URL.
  1. Log in to your DataHub instance as a user with permission to manage access tokens.
  2. Click your profile in the top right corner and navigate to Settings.
  3. Select the Access Tokens tab from the settings menu.
  4. Click the Generate new token button.
  5. Enter a name for your token (e.g., “Paradime Integration”), set an expiry, and click Create.
  6. Copy the Access Token from the dialog. Store it securely as we will need it to set up the Paradime integration. Important: The Access Token will only be displayed once. Make sure to copy and store it in a secure location before closing this dialog.

Step 2: Find Your GMS Server URL

Paradime sends metadata to your DataHub GMS endpoint. For DataHub Cloud, this is your instance URL with the /gms path, for example:

Step 3: Connect the DataHub Integration

The DataHub integration can be connected by a Paradime Admin user. Choose one of the following methods, both enable the background data catalog refresh.
Connecting the DataHub integration in Paradime
Use the dedicated Connect to DataHub panel to set up the integration and enable the background catalog refresh directly from Paradime.
  1. In Paradime, go to Settings → Integrations (see connecting integrations).
  2. Find DataHub and click Connect to open the Connect to DataHub panel.
  3. Fill in the fields:
    • GMS URL: your DataHub GMS server URL (e.g. https://<instance>.acryl.io/gms).
    • Personal Access Token: the token you generated from your DataHub instance.
    • Domain (optional): a DataHub domain URN or domain id (e.g. urn:li:domain:sales) for pushed datasets that don’t set their own domain in meta.datahub.domain. See Domains, terms, and tags.
    • Sync settings (optional): expand this section to change how Paradime pushes to DataHub, or keep the defaults. See Sync settings.
  4. Click Test Connection to verify Paradime can reach your GMS endpoint with the supplied token.
  5. Once the test passes, save the connection.
After connecting, Paradime pushes dbt™ docs artifacts to DataHub at the end of every production Catalog refresh, no environment variables required. The target warehouse platform is inferred from your production connection. To control when the sync runs, schedule the Paradime Catalog Refresh command in Bolt.
A dbt docs generate command inside a Bolt schedule doesn’t push to DataHub. To push from a schedule, use the Push to DataHub command.

Option 2: Connect via Environment Variables

Alternatively, set your DataHub credentials as environment variables in Paradime before connecting the integration.
  1. In Paradime, go to Workspace Settings > Environment Variables.
  2. Create the following environment variables:
    • DATAHUB_GMS_URL: Set this to your DataHub GMS server URL (e.g. https://<instance>.acryl.io/gms)
    • DATAHUB_GMS_TOKEN: Set this to your DataHub Personal Access Token
    • DATAHUB_TARGET_PLATFORM: Set this to the warehouse your dbt™ models run on (e.g. snowflake)
  3. Click Save to store the environment variables.

Connection parameters

Whichever method you use, Paradime reads the same DataHub credentials and configuration. The UI captures these in the Connect to DataHub form; the environment variable method reads them from the following variables: Make sure these environment variables are set in your Paradime Workspace Settings > Environment Variables before attempting to use the environment variable method.

Sync settings

Sync settings control how Paradime pushes dbt™ metadata to DataHub on every production Catalog refresh. The defaults don’t delete anything in DataHub. You can set them in two places:
  • When you connect, under Sync settings (optional) on the connect form.
  • After you connect, on the DataHub integration page. The Sync settings card shows the current values: click Edit, change what you need, and click Save.
The DataHub connect form with Sync settings expanded: Write semantics set to Patch, with Override beside it, then Remove stale entities, Business glossary files, and Auto-generate glossary ids
Override and Remove stale entities can delete metadata in DataHub, and they apply automatically on every production Catalog refresh, with no one reviewing the result. The app shows a warning while either one is selected.
Users with the Admin, Workspace Settings Admin, or Workspace Admin role can edit sync settings. Other roles don’t see the Edit button. Every change is recorded in your audit logs. Disconnecting DataHub resets all sync settings to their defaults. Sync settings apply only to this automatic push. They don’t apply to the Push to DataHub Bolt command.

Domains, terms, and tags

The automatic push also reads DataHub metadata you set in dbt™ meta, under a datahub key:
  • domain on models and sources
  • terms (glossary terms) and tags on models, sources, and columns
The domain must already exist in DataHub. The workspace Domain applies only to datasets that don’t set their own meta.datahub.domain, so it never overwrites a domain you set in dbt™.

Business glossary files

The automatic push also ingests business glossary files committed to your repository, written in DataHub’s business glossary format. By default, Paradime picks up any file named datahub_glossary*.yml or datahub_glossary*.yaml, anywhere in the repository. To use other paths, set Business glossary files in Sync settings. To attach glossary terms to your models and columns, use meta.datahub.terms.

Models from other projects

When your project refs public models from another project, with dbt-loom or dbt™ Mesh, dbt™ adds those models to your manifest.json with no description and no columns. The automatic push doesn’t send them to DataHub. The project that owns a model pushes it, so a workspace that refs it can’t replace its descriptions with empty ones. DataHub still shows the lineage from the other project’s model to yours.

Check the last push

A push that fails doesn’t stop the Catalog refresh, so Paradime shows the result of each push for you to check. Go to Settings > Integrations, find DataHub, and click Manage. The Last push card shows:
  • Status: Succeeded, Failed, Running, Queued, Skipped, or Interrupted.
  • When: how long ago the push ran.
  • For a failed push, the error from DataHub, for example Failed to configure the sink (datahub-rest): Failed to connect to DataHub. Click Show details to see the full output of the push. It opens at the end, where the cause is.
Before the first push, the card reads “No push yet. DataHub is pushed to on every production dbt™ docs generate run.” A failed push also shows in the Catalog: the Catalog build panel lists a DataHub push failed warning under the source. See Check the catalog build status.

Troubleshooting

The Catalog refresh succeeds but nothing appears in DataHub

The push to DataHub runs as part of the Catalog refresh and can take 20 minutes or more for a large project. The Bolt Refresh Paradime Catalog command waits for the push and fails the run when the push fails. A green run can still hide a failed push when the command runs with --no-wait or --allow-integration-failures. The overnight refresh isn’t a Bolt run, so check its push on the Last push card. Paradime pushes with the DataHub CLI, so you won’t see a recipe run start in DataHub’s ingestion UI. Look for the datasets themselves. If no datasets appear after the refresh has finished:
  1. Open the Last push card. If the push failed, it shows the error from DataHub.
  2. Check that DataHub is connected in the workspace you refresh. Each workspace has its own connection and token.
  3. Check that the token still works. DataHub answers an expired, revoked, or under-privileged token with 401 Unauthorized. Generate a new token from a DataHub account with Admin permissions.
  4. Reconnect the integration with the new token under Settings > Integrations > DataHub. The next production Catalog refresh uses it.

”Entity difference exceeds fail_safe_threshold” on every Catalog refresh

This applies when Remove stale entities is on. On each push, DataHub compares the entities it gets with the entities of the last good push. If more than 75% of them are gone, DataHub removes nothing and logs Entity difference exceeds fail_safe_threshold; skipping stale entity removal. It also keeps the old baseline, so the next push fails the same check. This can happen once after Paradime stopped pushing models from other projects: if those models were most of what your workspace pushed before, they are now missing from each push. To set a new baseline:
  1. Add the environment variable PARADIME_DATAHUB_RESET_STALE_BASELINE with the value true, as a Default variable or in your default Bolt environment. The production Catalog refresh reads both.
  2. Run a production Catalog refresh. On this push, DataHub ignores the old baseline and soft-deletes nothing. The entities of this push become the new baseline.
  3. When the Last push card shows Succeeded, remove the variable. While it is set, Paradime never removes stale entities.
If Remove stale entities is off, the variable has no effect.

DataHub Integration Capabilities

Paradime uses DataHub’s native dbt ingestion source to push dbt™ metadata from Bolt into DataHub. This allows you to keep your DataHub catalog in sync with your dbt™ project as part of your Paradime workflows, enabling:
  • Pushing dbt™ models, lineage, columns, and descriptions to DataHub on every run
  • Associating pushed assets with a DataHub domain
  • Setting domains, glossary terms, and tags from dbt™ meta
  • Ingesting business glossary files from your repository
  • Pushing artifacts for multiple dbt™ projects in a single task
  • Integrating catalog updates into larger data orchestration workflows