# Add Line Item Action

If the SmallBuilder Line Items package is installed, you can add a Line Item Action to your list actions.

{% hint style="warning" %}
To use this feature, you must have the appropriate license and permissions for the SmallBuilder Line Items package.
{% endhint %}

***

#### :small\_orange\_diamond: How to Configure

1. In the Action settings, click Add Line Item Action.

<figure><img src="/files/14qtMajnr5la2QXeXhE7" alt=""><figcaption></figcaption></figure>

2. Enter a button label, then select the Line Item Configurator you want to use.

{% hint style="warning" %}
Line Item Actions do not appear in regular lists. They are only available when the list is used as a Related List on a record page.
{% endhint %}

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

3. Click Save to complete the configuration.

***

#### :small\_orange\_diamond: Example: Display Opportunity Product List on Opportunity Record Page

{% hint style="info" %}
This example demonstrates the configuration of a Line Item Editor for Opportunity Products:

* **Parent:** Opportunity
* **Line Item:** OpportunityLineItem
* **Lookup:** PricebookEntry
  {% endhint %}

1. Add the Related List Configurator to the Opportunity record page.

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

2. The configured Line Item button will appear in the related list section.

{% hint style="info" %}
The Line Item button may initially appear as disabled when the list is first loaded. This indicates that the Line Item Configurator is still loading. Once loading is complete, the button will become active.
{% endhint %}

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


---

# Agent Instructions: 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:

```
GET https://help.smallbuilder.com/smallbuilder-lists/builder-setup-steps/action-setup/add-line-item-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
