> For the complete documentation index, see [llms.txt](https://docs.stackerhq.com/stacker-astra/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackerhq.com/stacker-astra/data-management/edit-your-data-in-the-data-grid/linking-your-data.md).

# Linking your data

Link your tables and records together with linked fields. Linking records together can allow you to use more advanced features in Stacker, such as [**Ownership filters**](/stacker-astra/security/add-user-permissions/create-or-edit-a-permission-rule/ownership-filter.md)**,** [**Related Record Lists**](broken://pages/LOL7nSVcAoKiHXGytz4z#h_01fzg26n0dndvxhn3g2k6kk7sy)**,** and **Lookups.**&#x20;

**Ownership Filter**

Using an ownership filter allows users to only see records related to them, keeping others information private.&#x20;

<figure><img src="/files/OQD3cQDHEk5PIHaRyEFl" alt="" width="563"><figcaption></figcaption></figure>

**Related Record Lists**

Related record lists can be shown on detail pages of records so related information can be viewed from one place.&#x20;

<figure><img src="/files/bqHtXybrbPhqUxN47ue0" alt=""><figcaption></figcaption></figure>

**Lookups**

Use the lookup field to pull information from linked tables.&#x20;

<figure><img src="/files/xnk6Ij0dlZv6Wc9MOJST" alt=""><figcaption></figcaption></figure>

### Link to another record&#x20;

This allows you to link only one record to each other, this is used most often when connecting your users table or Key Contacts to Companies.&#x20;

1. Add a new field&#x20;
2. Choose a name and icon
3. Select **Link to another record**
4. Choose the table you want to link to

### Link to multiple records

This allows you to link many records to each other, for example, a recipe calls for multiple types of ingredients but other recipes can have the same ingredients as well.&#x20;

1. Add a new field&#x20;
2. Choose a name and icon
3. Select **Link to multiple records**
4. Choose the table you want to link to


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.stackerhq.com/stacker-astra/data-management/edit-your-data-in-the-data-grid/linking-your-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
