Try the Commerce sample
- Inspect a discovered relationship. In Relationships, check the source pair, value coverage, and inferred cardinality.
- Trace a renamed key. Select Trace column to follow
sku_idback toorder_items.goods_detail_id. - Use the relationship in SQL. Select Suggest JOIN, insert the recommended key, and select Run query.
Requirements
- VS Code 1.96 or later with Intalink for dbt installed from the Visual Studio Marketplace.
- A dbt project with a
target/manifest.json. Rundbt parsefrom your project to generate it. - An Intalink Cloud account with access to a sealed relationship set that covers your project's source tables. To create a set, you'll need an authorized connection to those tables.
Discover relationships in Intalink Cloud
- Connect a data source. In Intalink Cloud, configure a connection with permission to read the schema and the tables you want to investigate.
- Run discovery. Select the tables and columns used by your dbt project. Intalink profiles column values and records evidence for candidate relationships.
- Review the candidates. After Intalink seals the results, use Findings to inspect the column pairs, distinct-value match counts, coverage, and inferred cardinality. Check the business key and grain on both sides before recording your review.
Connect and sync in VS Code
- In Intalink Cloud, open Settings → Account and security → Access tokens. Create a personal access token for VS Code extension and copy it when it appears.
- Open the dbt project and select the Intalink icon in the VS Code activity bar. Use
https://ari-intalink.arisyn.comas the server address, paste your token, and select Connect and continue. - Choose the sealed relationship sets that cover your project’s source tables. Select Sync selected sets. Use Open relationship graph to verify that your tables and keys are present.
Map schemas when the names differ
The extension uses the dbt manifest to identify your source and model schemas. If your workspace uses dbt_dev and discovery used analytics, map the workspace schema to the discovery schema in VS Code settings.
"intalinkForDbt.mapping.schemas": { "dbt_dev": "analytics" }
For a workspace that contains multiple dbt projects, use intalinkForDbt.dbt.projectPath to select the relevant project.
Write your first evidence-backed JOIN
- Open a model that references one of the tables in your synced set. Type
joinfollowed by a space to see relatedref()andsource()suggestions. - Choose a related model or source. Type
onfollowed by a space to see conditions with your SQL aliases. - Check the source column pair, value coverage, inferred cardinality, and review status in the suggestion details. Use the relationship graph to trace a source key through dbt models when the column name changes.
In the Commerce example, order_items.goods_detail_id becomes product_id in the staging model.
select items.order_item_id, products.product_name
from {{ ref('stg_order_items') }} as items
left join {{ ref('stg_products') }} as products
on items.product_id = products.product_id
Try this JOIN in the playground
Troubleshooting
- The extension cannot connect
- Check the full HTTPS server address and your network connection. If Intalink rejects the token or reports missing scopes, make sure the token was created on that server for VS Code extension. Create a new token if it has expired or been revoked.
- No relationship sets appear
- Check that the token has access to the Intalink workspace where discovery ran. Verify that the run completed and its results were sealed, then refresh the list of relationship sets in VS Code.
- A relationship synced, but suggestions are missing
- Regenerate the manifest with
dbt parseand check that the extension is using the right dbt project, database, and schema. Review the schema mapping if your development schema differs from the discovery schema. Check the relationship’s review status and the extension’s completion filters.
What each part reads
- Browser playground
- The playground runs queries on bundled synthetic Commerce rows in your browser. It uses a sample relationship snapshot.
- Intalink Cloud
- Discovery reads metadata and profiles column values within the scope of the data source connection you authorize.
- VS Code extension
- Sync reads only relationship metadata and statistics. Completion and hover use the local cache. The extension stores your token in VS Code’s secure storage.
- Verify with dbt
- When you select this feature, the extension uses your own dbt connection to query the minimum, maximum, and distinct count of the two selected columns.
Frequently asked questions
Does the playground require an account?
Open the playground directly with its synthetic Commerce dataset and sample relationship set. Use an Intalink Cloud account when connecting your own dbt project.
What should I have ready before connecting?
Check the extension requirements for VS Code, the dbt manifest, and your relationship set.
Which environments has the extension been tested with?
The extension listing documents test projects with dbt 1.7 on MySQL and dbt 1.10 on PostgreSQL. View the Marketplace listing.
What data does discovery read and the extension sync?
Cloud discovery uses an authorized connection to read metadata and profile column values. The extension syncs relationship metadata, review status, and statistics. See details about data access.
Get help
For setup questions or feedback, email Hello@arisyn.com. Include the VS Code, extension, and dbt versions and any error text with tokens or credentials removed.