> For the complete documentation index, see [llms.txt](https://docs.nlx.ai/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nlx.ai/platform/nlx-platform-guide/applications/builds-and-deployments.md).

# Builds & deployments

## **Building & deploying applications**

Builds and deployments are related but are not the same thing.

In agentic CX designer, a **build** packages the current version of your application into a deployable snapshot. A **deployment** makes a selected build available for use through a Flow in Connect Customer.

***

### **What a build includes**

A build assembles the current application configuration into a package.

This includes:

* Attached flows
* Routing descriptions
* Default behavior
* Guardrails
* Slots
* Language settings
* Application settings
* Other configuration available at the time the build is created

Because a build captures the application at a specific moment, edits made after the build are not included in a deployment until you create another build.

***

### **Why builds matter**

Builds are required before application changes can be tested or released through the application experience.

A build is especially important when you change anything that affects how the application understands, routes, or responds to users.

At least one build is also needed for test chats to work when testing from a Canvas flow or on the application's Test tab.

***

### **Create a build**

From your application's **Deploy** tab, you can create a new build, review build history, deploy a build or roll back to a previous build.

To create or manage builds:

1. Open **Applications**.
2. Select the application you want to build.
3. Open the **Deploy** tab.
4. Choose whether the build is for a development or production environment.
5. Select **Build & deploy** to start the build process.

When you start a build, agentic CX designer walks you through the build process:

5. Review **validation checks,** such as disconnected flow paths, incomplete configurations, etc.&#x20;

   Critical errors appear in red and should be resolved before creating the build, as they are more likely to cause a failed build. Warnings appear in yellow and should also be reviewed, so you understand the possible impact on the user experience.
6. Add a **build description** as a simple changelog.
7. Select **Build**.

When the build completes, it appears in the builds table. From there, you can review the build version, description, status, and environment usage.

For failed builds, select the build from the table to review the full failure message.

***

### **When to create a new build**

Create a new build whenever you want to test or release meaningful application changes.

Examples:

* You added or removed a flow from the application.
* You updated the application’s default flows.
* You changed custom slot configuration or values.
* You updated routing descriptions.
* You added languages or translations.
* You changed guardrails.

You can create builds as often as needed while developing. Creating a build does not automatically push changes to an external environment unless you continue through deployment or promotion.

***

### **Test after building**

After a build is created, you may use the test chat from a flow's Canvas or use the **Test** tab on the application.

***

### **Deployment**

Once you are satisfied with testing in your agentic CX designer workspace, you can deploy your application for use in a flow in Connect Customer.

From the application’s **Deploy** tab, use the builds table to manage which build becomes active. Only one build can be active in an environment at a time.

To deploy a build:

* Open an application and select the **Deploy** tab.
* From the builds table, hover over the selected build’s status.
* Choose **Deploy**.

A deployment may take a few minutes. A successful deployment is indicated by a **Live** status.

After deployment, review the application’s **Access** details in the application settings. Your frontend or implementation team may need connection values such as the application URL and API key when configuring the application for the intended frontend experience.

You can also return to a previous build version by hovering over a past build and choosing **Rollback**.

Select a build from the builds table to review additional details, such as the build ID, deployment key, and deployment management options. If needed, you can delete a deployment to take the application offline until another build is deployed.

***

### **Initial setup in Connect Customer**

After your agentic CX designer application has been deployed for the first time, configure Amazon Connect Customer to route conversations through it.

#### **1. Create or choose a contact flow**

In Connect Customer, create or choose the contact flow that will route incoming calls or chats to your agentic CX designer application.

This contact flow should include the routing logic needed to connect the customer entry point to your deployed application.

#### **2. Choose a voice persona**

For voice-enabled conversations, use a **Set voice** block in the Connect Customer flow.

To configure voice:

1. Add a **Set voice** block.
2. Select the block.
3. Choose the voice provider.
4. Choose the language and voice persona.
5. Listen to available samples, if needed.
6. Confirm the selection.

#### **3. Add the Agentic CX block**

After your routing and voice setup is in place, add an **Agentic CX** block to the contact flow.

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

Configure the block by selecting:

1. The workspace where your application lives.
2. The name of the agentic CX designer application.
3. The deployed environment alias, such as **Development** or **Production**.
4. Any required block pathways, including escalation, error, or timeout handling.

The block tells Connect Customer which agentic CX designer application and environment to invoke during the conversation.

Depending on whether the contact is voice or chat, you may also configure additional settings on the Agentic CX block.

**Speech recognition**

For voice interactions, configure **Speech recognition**. This setting determines which engine transcribes the customer’s voice input before it is processed by the agentic CX designer application.

You can set speech recognition in two ways:

| Setting             | Use when                                                                                                                                            |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Set manually**    | The flow should always use the same speech recognition engine.                                                                                      |
| **Set dynamically** | The flow should choose the speech recognition engine based on contact flow logic, contact attributes, language, region, or another available value. |

**Audio filler**

For voice interactions, you can enable **Audio filler**. This can make voice conversations feel more natural when the application needs a moment to generate an output, retrieve or send data, or complete a tool call.

**Idle chat timeout**

For chat interactions, you can enable **Idle chat timeout**. This setting controls how long a chat contact can remain inactive before it is considered idle.

Use idle timeout when you want to handle abandoned or inactive chats consistently. For example, after a period of inactivity, the Connect Customer flow exits the Agentic CX block from the Idle timeout edge where the conversation can provide a final message before ending the session.

When using timeout behavior, make sure the all timeout paths from the Agentic CX block are connected to the appropriate next step in the Connect Customer flow.

#### **4. Publish the contact flow**

Publish the Connect Customer flow to make it active and available for use with the appropriate phone numbers or chat endpoints.

Once the contact flow has been published, you do not need to republish it every time you update the agentic CX designer application. The Agentic CX block continues to point to the selected application and environment. Any newly deployed build for that environment becomes the version used in live conversations.

If you change the contact flow itself, or any configuration on the Agentic CX block, publish the contact flow again.


---

# 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.nlx.ai/platform/nlx-platform-guide/applications/builds-and-deployments.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.
