Step-by-step guide to creating an Asset ↔ Term Linker agent in Atlan, running a sample, reviewing the proposed term links, and publishing them.
Link terms to assets Private Preview
Use the Asset ↔ Term Linker template to link glossary terms to the tables, views, and columns that implement them. You create the agent, run a sample, review what it proposes, and publish the links you're happy with.
For how links are decided and what the agent writes, see Understand Asset ↔ Term Linker. To link a few terms by hand from the glossary or an asset, see Link terms to assets in the glossary docs.
Prerequisites
Before you begin, make sure you have:
- Workspace admin or governance admin access. Creating and running agents is an admin-only capability in this release
- Asset ↔ Term Linker enabled on your tenant. It's turned on per tenant during private preview. If the template card shows "This template isn't enabled for this workspace yet," raise a support request
- At least one glossary with terms the agent can link. By default those are terms certified Verified; you can also link draft or uncertified terms. To change a term's certificate, see Update your glossary terms
- An asset collection holding the tables and views you want linked, within the limits for one run
- Read access to both the glossaries and the collection. The agent reads them as you
Prepare your glossary
The agent can only be as precise as the glossary it reads. A few minutes here does more for link quality than any instruction.
- Verify the terms you want linked, or widen what the agent links. By default only verified terms are read. A term in draft is invisible to the agent, and so are terms the Business Graph Term Generator created until someone verifies them. If most of your glossary is in draft, choose which terms to link instead.
- Name the source when you know it. Add the fully qualified name to the term's README or custom metadata, for example
Source column: finance.reporting.revenue.net_revenue_amt. A term that names its asset links first, without model judgement. - Point at the row for row-valued metrics. When a metric is stored as a value in a column rather than as a column of its own, write the reference as
metric_name = 'EBIT'. - Give one-word terms a real definition. A one-word term with a definition of four words or fewer is treated as generic and always goes to review.
- Say what a term isn't. If
Net Revenuemust never be confused with a gross figure, say so in the definition. The decision model reads it. - Say whether a term counts or flags. Open a count term's definition with what it counts, for example Number of users who ..., and a yes/no term's with Whether .... That's how the agent tells which one belongs on
trial_signupsand which onis_trial_signup.
Plan the scope
Every term the agent links in the glossaries you pick is paired with every table, view, and column in the collection. Keep both focused: a glossary for one domain and a collection for the same domain gives the agent fewer near-misses to sort through than everything at once.
One run reads at most 500 terms, and 500 tables and views with up to 10,000 tables, views, and columns in all. If your glossaries hold more, split them across agents, for example one agent per glossary or per domain, each paired with a collection from the same domain. See Asset ↔ Term Linker limits.
Create the agent
- In your Atlan workspace, click Agents from the left sidebar to open Agents studio.
- Click Create agent in the top-right corner, then select Asset ↔ Term Linker.
- The wizard opens on an overview of what the template does. Click Next.
- Enter a Name for the agent, for example
Finance term linker, and optionally a Description of what it links. Click Next. - Under Glossaries, select up to 10 glossaries whose terms to link.
- Under Terms to link, keep Verified terms only, or choose to link draft or uncertified terms too. See Choose which terms to link.
- Under Asset collection, select one collection whose assets to link, then click Next. If the collection doesn't exist yet, click Define a new collection, create it in the tab that opens, come back, and click Refresh. The scope is checked as you pick it. If a run can't start on it, for example because none of the terms are ones the agent links or the collection is over a limit, the reason shows under the field and Next stays disabled until you fix it.
- Enter your Run instructions, up to 1000 characters. They're required to run a sample. See Write run instructions.
- Optionally, add Workspace skills for house rules that apply across agents, such as a naming convention. Click Next.
- Check the summary of glossaries, collection, skills, and run instructions, then click Create and run a sample.
The agent is created and a sample run starts. To create the agent without running anything, click Create without running instead.
Choose which terms to link
Terms to link decides which terms the agent reads, counts, and links. Set it when you create the agent, or later from Settings, under Terms and assets.
| Setting | Terms linked |
|---|---|
| Verified terms only (default) | Terms certified Verified |
| Verified and draft terms | Terms certified Verified or Draft |
| All terms: verified, draft and uncertified | Every term except those certified Deprecated |
Deprecated terms are never linked. A term outside the setting is left out entirely: it isn't paired, counted, or listed.
Widen the setting when your glossary is mostly in draft, or to link terms the Business Graph Term Generator created before anyone has verified them. A link to a draft or uncertified term is written the same way as any other, so check those rows before you publish: the sample marks each one, and the CSV's Term certificate column shows it.
Write run instructions
Run instructions guide the agent's judgement on each pair it considers. They don't change which pairs are considered, and they never override the gates, the Terms to link setting, or the write rules. You can change them later from the agent's Settings tab without creating a new version.
What works best is saying which copies of your data are authoritative. The same value often lives in more than one table, for example a gold table and a mart table built from it. Without guidance, the agent links the term to every copy it finds. Name the schemas to link and the ones to skip. Copies in raw, bronze, landing, or staging schemas are linked like any other, so if you don't want terms on them, say so here, or leave those tables out of the collection.
Example: your glossary has the term Average Revenue Per User, and the value exists in two tables:
analytics.gold.subscriber_kpis.arpuanalytics.mart.subscriber_kpi_monthly.arpu_usd
With no instruction, both columns are proposed as links. With this instruction:
Link gold copies only; do not link copies in mart or staging schemas.
only analytics.gold.subscriber_kpis.arpu is proposed. The mart column is denied, and its reason says the run instructions asked for gold copies only.
An instruction such as "link each term to the columns that hold its value" can push entity terms, such as Customer, onto ID columns like customer_id. If a term must land on a specific column, name that column in the term's README or custom metadata instead. See Prepare your glossary.
Run sample
A sample run decides every pair, exactly as a published run does, and writes nothing to your assets. Start one from Create and run a sample in the wizard, or with Sample run on the agent page.
A run is refused before it starts if its scope can't run, for example more than 500 terms, more than 500 tables and views, or no terms the agent links at all. The run shows This run couldn't start with the reason, which names the limit or the problem; pick fewer glossaries, verify terms or widen Terms to link, or pick a smaller collection. See Asset ↔ Term Linker limits.
If an agent's scope stops being runnable after it's created, for example because its glossaries were deleted or the collection grew past a limit, the agent page shows "This agent can't run until its scope is fixed." Click Change the scope in Settings to fix it, then Check again.
Review proposed links
Select the Runs tab, then pick the run. The run reports Links proposed and Pairs evaluated, and Sample run results lists the pairs, filterable by Link, Review, and Denied. Each row shows the pair and the reason behind it. Where lineage was read, the reason also says what a column is computed from.
Two runs end without a list:
- No matching pairs found. No term in scope shares a word with any table, view, or column in the collection, so there was nothing to decide. Check that the collection holds the tables these terms describe, add the abbreviations your column names use to the run instructions, for example
Abbreviations: amt = amount; qty = quantity, or give the terms definitions that use the words in your table and column names. - The decision model gave no answer. There were pairs to decide, but none got an answer, so nothing was decided or written. This is on Atlan's side, not in your scope. Run it again later, and contact support if it happens again.
Download the CSV
For anything beyond a handful of links, review in a spreadsheet. Click Export CSV on Sample run results to download the proposed links. Each row is one term and asset pair:
| Column | What it holds |
|---|---|
| Term, Glossary | The term and the glossary it belongs to |
| Term certificate | The term's certificate: VERIFIED, DRAFT, or NONE for a term with no certificate |
| Asset, Asset type, Connector | The asset's path, its type, and where it lives |
| Action | What happens to the pair: link, review, denied, gated, or over cap, not written |
| Stage | What decided it: explicit reference, decision model, agent review, hard gate, policy, or no model answer |
| Confidence | The decision model's confidence that the asset implements the term. Blank where no model was involved |
| Reason | Why the pair ended where it did |
| Term GUID, Asset GUID, Run ID | Identifiers, so you can find a pair in Atlan or trace a link back to the run that wrote it |
Export CSV exports the rows in the current filter only. Select All before exporting if you want the full list.
Keep the CSV. It's your record of what a publish wrote and why, and the GUIDs and run ID are what you need if a link ever has to be removed.
Read the sample in this order:
- Counts. How many links, reviews, and denials. A run with almost everything in review usually means your glossary is thin on definitions.
- Scope. Check that every term's certificate is one you chose under Terms to link. If you widened it, read the links to draft and uncertified terms closely: those terms haven't been reviewed, and their links are written like any other. If a term outside the setting appears, stop and contact support.
- Every link row. Check the grain and the unit: a component term isn't linked to a total, an entity term isn't linked to an ID column, and a link isn't on a copy you didn't mean to link, such as a staging table.
- Review rows. These must be the genuinely uncertain pairs. A correct pair here is usually a policy at work, such as a generic term or a per-row flag for a count term.
- Denied rows with a gate. The reason names the dimension that blocked the pair. A correct pair that was blocked is worth reporting.
- Missing links. If a link you expected isn't there, search for the term. It may be denied, or it may never have become a candidate because the term and the asset share too few words.
The list holds every proposed link, plus the strongest of the review and denied pairs. A pair that isn't listed wasn't proposed as a link.
Publish the links
When every link row is right, publish. From the sample run, under Happy with these links?, click Publish. The button shows how many links are written.
Publishing writes every link the sample proposed, without deciding again. It runs as a new run on the Runs tab. Each link is checked once more first: the term's certificate must still be one the agent links, the asset must still be in the collection, and the pair must not already be linked. A link that fails a check is skipped.
Publishing is refused if:
- The sample failed, or proposed nothing
- The agent's glossaries, collection, or Terms to link changed after the sample ran
- The sample's list couldn't be read in full. Hover over the disabled button to see why, then run a new sample
- The sample is more than seven days old
When the run finishes, Published links lists what was written. Each link appears on the asset's profile alongside the terms already there.
You don't approve links one by one. At the scale this template runs, reviewing every link by hand isn't practical, so the CSV is your audit instead. If links shouldn't be written, exclude them before publishing, through your run instructions or the glossaries and collection you selected, and run a new sample. If a few unwanted links were already published, remove them from the asset by hand.
Change glossaries or collection
You can change which glossaries, which terms, and which collection an agent links after it's created, without creating a new agent.
- Open the agent and select the Settings tab.
- Under Terms and assets, add or remove glossaries, change Terms to link, or select a different Asset collection. The same limits apply as at creation: up to 10 glossaries and one collection.
- Click Save. The Save and Discard buttons appear once you change something.
Saving creates a new version of the agent, which then serves every run. Only the part you changed is saved, so if you change the glossaries, the collection stays as it was. An agent always needs at least one glossary and a collection, so a scope with either missing can't be saved.
After saving, run a new sample before you publish. A sample from before the change can't be published.
Iterate
If a sample isn't right, change one thing at a time and sample again:
| What you see | What to change |
|---|---|
| A term linked to several copies of the same value, such as a gold table and a mart table | Run instructions: say which schemas are authoritative |
| Links at the wrong grain, such as a table instead of a column | The glossary: name the exact column in the term's README or custom metadata |
| A correct pair never shows up | The glossary: add the source column to the term's README or custom metadata |
| A one-word term always in review | The glossary: give the term a fuller definition |
| A count term in review on a 0/1 flag column | Nothing, if the flag is right: a count term belongs on the column that sums the flag. If that column never shows up, check you can see its lineage in Atlan, and that the term's definition says what it counts |
| A count term in review on a column that totals several flags | Nothing: the term is one of those flags under a filter on that column, so a person confirms it. The reason names the filter when the SQL shows it |
| A term you expected isn't in the output | Check its certificate is one Terms to link includes, and its glossary is selected on the agent. Verify the term, or change either in Settings |
Links on raw or staging copies you don't want | The collection: leave those tables out. Or say in the run instructions which schemas to skip |
Run a new sample after any change to your glossaries, collection, or instructions. A sample reflects the state of both at the moment it ran.
Need help
If you need assistance after reviewing this page, contact Atlan support.
See also
- Understand Asset ↔ Term Linker: how links are decided
- Asset ↔ Term Linker limits: what one run and one agent can do
- FAQ - Asset ↔ Term Linker: common questions
- Write run instructions: the field that steers every template
- Set up glossaries: create glossaries, add terms, and verify them
- Link terms to assets by hand: link or unlink a term from the term or the asset