> For the complete documentation index, see [llms.txt](https://help.smallbuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smallbuilder.com/smallbuilder-line-items/builder/builder-setup-steps.md).

# Builder Setup Steps

To implement the Line Item Editor, follow these steps:

{% stepper %}
{% step %}
[**Relate Objects**](/smallbuilder-line-items/builder/builder-setup-steps/relate-objects.md)

The first step in the builder is to define the relationship between objects that will be used in the Line Item Editor. This relationship must follow a junction structure, and you need to configure the Parent, Line Item, and Lookup objects.
{% endstep %}

{% step %}
[**Setup Lookup Selector**](/smallbuilder-line-items/builder/builder-setup-steps/setup-lookup-selector.md)

To register line items, first search for a lookup object (e.g., product), select the desired record from the search results, and set quantities or other attributes to create line items. The search configuration allows you to define the layout of search results for lookup objects.
{% endstep %}

{% step %}
[**Setup Line Item Editor**](/smallbuilder-line-items/builder/builder-setup-steps/setup-line-item-editor.md)

Configure the properties of line item fields. Define attribute fields such as price, discount rate, and quantity based on the selected lookup records.
{% endstep %}

{% step %}
[**Preview**](/smallbuilder-line-items/builder/builder-setup-steps/preview.md)

Review the configured line item fields using the preview function. This helps validate that the defined properties work as expected.
{% endstep %}

{% step %}
[**Activate**](/smallbuilder-line-items/builder/builder-setup-steps/activate.md)

Once the setup is complete, activate the builder. Activation applies the editor settings and enables you to create a button for executing the editor.
{% endstep %}

{% step %}
[**Create a Button**](/smallbuilder-line-items/builder/builder-setup-steps/create-button-and-add-to-page-layout.md)

After completing the setup, create a button and add it to the parent object’s page layout. Users can click this button to launch the editor.
{% endstep %}
{% endstepper %}


---

# 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://help.smallbuilder.com/smallbuilder-line-items/builder/builder-setup-steps.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.
