First, set up tracker access: account menu → Ticket Sources. Redmine needs an API access key (My account → API access key). GitHub needs a fine-grained personal access token. A project reads tickets from one tracker: one Redmine server or one GitHub repository.
Each ticket becomes a digest: what kind of ticket it was (an investigation, a code change, a rejection) and a coherent account of what happened. The agent gets the digest instead of reading the tracker, and the What this ticket touched block shows the linked code entities. The distillation model and daily limit are set in Settings → Ticket distillation.