# Build - Integration Level

We have been running the Build process at the Message level in order to see the changes in our Message Scripts as we go. This may be considered good practice (particularly when first starting out) as any discrepancies can be discovered & rectified as you go (in potentially fewer, smaller batches). Once you are more practiced and confident in the accuracy of your configurations, you can run the Build process at the Integration level. This means that the process will cycle through all the Field records on each of the Messages on the Integration in turn & auto-generate all the relevant Message Script code.

As mentioned on the ['CreateIncidentInboundReceipt Fields'](/unifi/4.0/integration-guides/incident-create-poller-guide/messages/createincidentinboundreceipt-fields.md#field-incident-number) page, we saw that a 'Build Integration' button had appeared in the banner at the top of the page. This was because, whenever a change is made to a Field record that is associated to a Message *(whether that is being created, updated, or deleted)* the button will be available and act as a visual reminder that changes have been made and Message Script(s) need to be built.

To run the Build Process at the Integration level we have two choices. We can either either run it from the Integration record, or we can use the 'Build Integration' button which appears in the banner at the top of the page.

{% tabs %}
{% tab title="Integration Record" %}
To run it from the Integration record. In **Unifi Integration Designer**, navigate to: **'Integration' icon**.

![](/files/nJXI5aYOlbKqoLJsorI2)

Click **Build**.
{% endtab %}

{% tab title="Banner UI Action" %}
\
To run it from the 'Build Integration' button which appears in the banner at the top of the page.​

![](/files/HxJty9hTsrMSOLUme8Tj)

Click **Build Integration**.
{% endtab %}
{% endtabs %}

![](/files/vSRoZyIDb0QZ5NbarMsn)

On the Build Integration modal, click **Build**.

*When complete, you will see the following Integration Build Worker modal:*

![](/files/pQVlRZcU9VqMeJlccGtN)

Click **Done**.

{% hint style="info" %}
Running Build on the Integration has processed all 9 Messages (i.e. all the Messages created following the Outbound Incident Guide, Incident Update Poller Guide & Incident Multiple Message Guide as well as this Guide)
{% endhint %}

Navigate to: **'Messages' icon**.

![](/files/jnEYE4GP4mzJ7MF3FXwx)

{% hint style="success" %}
**Feature Alert**: The widget at the bottom of the page also shows when 'Build' was last run.
{% endhint %}

Click through each of the relevant Messages in turn, navigating to **Advanced > Script Editor** to view the auto-generated code in the Message Scripts.

We are now ready to move on and **Test the Create Poller**.


---

# 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://docs.sharelogic.com/unifi/4.0/integration-guides/incident-create-poller-guide/build-integration-level.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.
