# Build the Chat Channel Sample

> Build and run the Chat Channel Sample in your development environment.

**Prerequisite**: [Import the Chat Channel Sample](./import-chat-channel-sample.md).

To set up an environment for building the Chat Channel Sample, complete the following steps:

1. Open your Unity project.

2. Select **Edit** > **Project Settings**. Select **Vivox** and update the **Server**, **Domain**, **Token issuer**, and **Token key** fields with the credentials for your application.

   For information on generating credentials, refer to [Unity Package Manager Vivox package](../developer-guide/implement-vivox-unity/unity-package-manager-vivox).

   > **Note:**
   >
   > If a project is bound to the **Services** page, then you can change the **Environment** menu to Automatic to automatically pull the project’s credentials from the Unity Dashboard.

3. Add the MainScene from `.../Samples/Vivox/{Version}/Chat Channel Sample/` to the Build Settings.
