Getting Started with the Toolkit’s Building Blocks
To start using Voice SDK, the toolkit provides some basic building blocks.
You’ll need to set up Wit.ai, link it to the scene you’re working on, and then add App Voice Experience and VoiceUXAdapter to the scene.
Setting Up the Wit Configuration File
- Follow the setup steps in the Voice SDK developer docs, as shown in Prerequisites.
- Sign up for a Wit.ai account.
- Create a new Wit app.
- From the Settings tab under Management, copy the Server Access Token.

- Open the Unity editor, and from the menu bar, click Meta > Voice SDK > Settings, and then paste the Server Access Token into the Wit Configuration box.
- Click Link to link your Unity app with your Wit app.
- Save a new Wit Configuration for your Unity app.
- Ensure that internet access is marked as Required in Unity Player project settings.
Setting Up Your Scene for Voice SDK and the Voice SDK Toolkit
- In the Unity editor, select your scene in the Hierarchy window.
- On the menu bar, click Assets > Create > Voice SDK > Add App Voice Experience to Scene.
- In the scene, select App Voice Experience, and then click Add Component.
- In the Search box, search for VoiceUXAdapter.
The
VoiceUXAdapter
script connects the AppVoiceExperience script that you just added to the scene with the toolkit’s building block scripts. It can be found in the Scripts\Runtime\Core\
folder in the downloaded toolkit (…\[Toolkit Package]\Scripts\Runtime\Core\
).