# Import & Run Sample Scenes

## Introduction

Sample scenes are the fastest way to verify your installation and API setup end-to-end.

## Prerequisites

* Convai SDK installed
* API key configured successfully

## Step-by-step

{% stepper %}
{% step %}

### Open Package Manager

In Unity, go to **Window → Package Manager**.
{% endstep %}

{% step %}

### Find the Convai package

* Select **In Project** (left panel).
* Click **Convai SDK** (or the installed Convai package).
  {% endstep %}

{% step %}

### Import Samples

* Open the **Samples** section in the package details.
* Click **Import** next to a sample (example: `<SAMPLE_NAME>`).
* **Expected result:** A **Samples** folder appears under **Assets**, containing the imported sample content.
  {% endstep %}

{% step %}

### Open the sample scene

* Navigate to:
  * `Assets/Samples/Convai SDK for Unity/x.x.x/<SAMPLE_NAME>/Scenes`
* Open the scene:
  * `<SCENE_NAME>`
    {% endstep %}

{% step %}

### Run the conversation test

* Click **Play**.
* Speak using your microphone **or** type into the Chat UI input field.
* **Expected result:** The character responds. Microphone conversation is **hands-free** (no push-to-talk required).
  {% endstep %}
  {% endstepper %}

## Troubleshooting

* **Sample doesn’t appear after import**
  * Confirm you imported the sample and check the **Assets/Samples** folder.
* **No voice input detected**
  * Check OS microphone permissions for Unity.
  * Confirm the correct microphone device is selected.
* **No response from character**
  * Confirm API key is set and valid.
  * Check Console for authentication/network errors.

## Conclusion

You’ve successfully imported a sample scene and verified a working conversation. Next, you can integrate Convai into your own scene via **Custom Scene Setup**.

{% 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/import-and-run-sample-scenes.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.
