# Add Chat UI (Transcript UI)

## Introduction

Chat UI is optional, but it’s extremely useful for debugging, testing without voice, and demonstrating text-based conversations.

## Prerequisites

* Convai SDK installed
* A scene with Convai setup

## Step-by-step

{% stepper %}
{% step %}

### Locate the Transcript UI prefab

* In the Project window search bar, search:
  * `TranscriptUI_Chat`
* Make sure your search scope includes **In Packages** or **All**.

<figure><img src="/files/3Xagf02gQjFFYgZncKUJ" alt=""><figcaption></figcaption></figure>

* Alternatively, you can use the package path:
  * `Packages/com.convai.convai-sdk-for-unity/Prefabs/TranscriptUI/TranscriptUI_Chat.prefab`
    {% endstep %}

{% step %}

### Add the prefab to your scene

* Drag and drop **TranscriptUI\_Chat.prefab** into the scene.
* **Expected result:** The UI appears in the Hierarchy and is visible in Game view (Play Mode).
  {% endstep %}

{% step %}

### Ensure an Event System exists

* If your scene does not have an EventSystem:
  * Right-click in Hierarchy → **UI → Event System**
* **Expected result:** An EventSystem exists and UI input works in Play Mode.

<figure><img src="/files/vhsXpa5AffL0HftCYBqg" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Troubleshooting

* **UI doesn’t respond to clicks/typing**
  * Confirm there is exactly one EventSystem in the scene.
* **Prefab not found**
  * Confirm the package is installed correctly.
  * Confirm your Project window search includes “In Packages” or “All”.

## Conclusion

You’ve added the Transcript UI to your scene, enabling text input and readable conversation logs. You can now test conversations via keyboard or microphone.

{% hint style="info" %}
**Need help?** For questions, please visit the [**Convai Developer Forum**](https://forum.convai.com/).
{% endhint %}


---

# 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.convai.com/api-docs/plugins-and-integrations/unity-plugin-beta-overview/getting-started/setup/add-chat-ui-transcript-ui.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.
