Skip to main content
Set up Column-Level Lineage Diff on BitBucket. First complete the shared Lineage Diff prerequisites, then configure your BitBucket pipeline.

Generate API keys

Generate a Paradime API key with the Bolt schedules admin capability. Use an Account API key (a prdm_cmp_... Bearer token), and note your workspace token and API endpoint; you will add them as CI/CD variables in a later step.

Generate API keys

Create a BitBucket Pipeline

Now you will need to create a new bitbucket-pipelines.yml file in your dbt™️ repository. Copy the code block below. This pipeline has two steps:
  1. Run Paradime Turbo CI — Runs the Turbo CI bolt schedule and saves the BOLT_RUN_ID as a pipeline artifact.
  2. Generate Lineage Diff Report — Reads the BOLT_RUN_ID from the artifact and triggers the lineage diff report.

Generate BitBucket Access Token

You will need to create a BitBucket Access Token with pull_request:write to enable Comments to be generated when opening a Pull Request. Go to bitbucket.org and sign in:
  1. Select your BitBucket Repository
  2. Click “Repository Settings” in the left sidebar
  3. In Settings, scroll to “Security” section
  4. Select “Access tokens”
  5. Create New Access Token
  6. Click “Create repository access token”
  7. Enter the following details:
    • Name: Paradime
    • Permissions: Select Pull requests: Write

Add the API keys and Credentials in the BitBucket Pipeline variables

Finally you need to add the API key and credentials generated in the previous step in BitBucket Pipelines as well as the BitBucket Access Token. Set the corresponding values using your credentials for the variable names:
  • PARADIME_WORKSPACE_UID
  • PARADIME_API_SECRET
  • PARADIME_API_ENDPOINT
  • BITBUCKET_ACCESS_TOKEN