# Generate table context from a context source

Let Contextflo write table and column descriptions from your dbt models, docs or data dictionary, then review them.

Source: https://contextflo.com/docs/generate-table-context

Connect the material that already describes your data: dbt models, docs or a data dictionary. Contextflo writes descriptions for your connected tables and their columns from it, and you review them.

## What a context source is

Anything that already explains your data in words. There are three kinds:

- **Code sources**: a GitHub repo or a public repo, such as your dbt project.
- **Text sources**: free-text guidance you write or paste, such as a data dictionary.
- **Manual Input + Table Schema**: no source at all. Contextflo infers descriptions from your table and column names, and you can add an optional prompt to steer it.

## What makes a good one

Sources that describe columns in words work best, like dbt `schema.yml` files or a data dictionary that says what a column's values mean (for example, that `status = 2` means paused).

## Generate the descriptions

1. In the left sidebar, open **Admin** > **Generate Context**.
2. Under **Select Tables**, pick your tables.
3. Under **Select Relevant Context Source**, pick a source.
4. Click **Add Context**.
5. Review the descriptions in **Context** > **Review Context**, and fix anything wrong.

![The Generate Context page: pick tables on the left, pick a context source on the right, then Add Context](https://assets.contextflo.com/features/generate-context/generate-context-page.png)

## When to run it again

Run it again when a model changes or a table is added.

Then add the rest of your context: [After connecting your data](https://contextflo.com/docs/after-connecting-data.md).
