> For the complete documentation index, see [llms.txt](https://docs.ins-pi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ins-pi.com/freelucy/configuration/form-view.md).

# Add Freelucy to a form view

After installation, every `cmdb_ci` base table and its extended tables already show an **Edit Relationships** button. For other tables, including custom CI tables, you decide how YouDesign Freelucy appears on the form.

Freelucy ships with two UI Formatters and one UI Action. Use whichever combination matches your users' workflow.

| Component                          | What it does                                                           |
| ---------------------------------- | ---------------------------------------------------------------------- |
| **Freelucy Edit Button** formatter | Adds a button to the form that opens Freelucy.                         |
| **Freelucy Viewer** formatter      | Embeds a relationship view directly inside the form.                   |
| **Edit Relationships** UI Action   | Adds an action item to the form's UI Actions menu that opens Freelucy. |

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

{% hint style="info" %}
**The embedded viewer has a fullscreen toggle.** The Freelucy Viewer shows the relationships inline on the form. Users can expand it to fullscreen for room to work, then collapse it back into the form.
{% endhint %}

***

## Add a UI Formatter to a form

Use this when you want Freelucy embedded in the form, or a button placed exactly where you want it.

1. Open a record on the table you are configuring.
2. Right-click the form header and select **Configure → Form Layout**.
3. Add **Freelucy Edit Button**, **Freelucy Viewer**, or both, depending on what you want.
4. Save the layout.

***

## Add the Edit Relationships UI Action to a table

Use this when you want Freelucy in the standard UI Actions menu rather than embedded in the form.

1. Open **All → System UI → UI Actions**.
2. Filter for **Edit Relationships** and open the record.
3. Configure the action so it appears on the tables you want, typically by editing the table name or adding the table to the conditions.
4. Save.

***

## What's next

Configuration is complete. Walk your users through [How relationships work in Freelucy](/freelucy/work-in-the-app/usage.md).


---

# 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.ins-pi.com/freelucy/configuration/form-view.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.
