# Build - Integration Level

We have been running the Build process at the Message level so as 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 in '[CreateIncidentResponse Fields](/unifi/2.2/integration-guides/outbound-incident-guide/create-scenario/createincidentresponse-fields.md#build)', 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/-MQrA5i-MSLDgL5v8kLB)

1\) 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/-MQrBmTxGN7ZBfBSP02F)

1\) Click **Build Integration**.
{% endtab %}
{% endtabs %}

![](/files/-MQrCECgjSQLUvStaIhA)

2\) On the Build Integration modal, click **Build**.

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

![](/files/-MQrCOQ89NvF1Kike03s)

3\) Click **Done**.

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

![](/files/-MQrC_s-vOcC1VJtlF9a)

{% hint style="success" %}
**Feature Alert**: At the bottom right of the window you will see a widget that displays whether the Integration is Active and when 'Build' was last run.
{% endhint %}

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

We have now built and tested the Outbound Incident Integration.


---

# 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/2.2/integration-guides/outbound-incident-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.
