Set Up Agentforce Voice for Android (Beta)

Agentforce Voice lets you build voice-enabled agents that manage complex conversations in real time. Set up Agentforce Voice for your Android mobile app with these steps.

Before you set up Agentforce Voice for your mobile app, create a voice-enabled service agent in the legacy builder and connect it to telephony.

To enable Agentforce Voice for Android in your AgentforceConfiguration, use setFeatureFlagSettings.

To set your permissions manager, use setPermission.

To set your voice manager, use setVoiceManaging.

To initialize the AgentforceClient, use the configuration object you created.

To wire the permission manager in your app, add handlePermissionResult from AgentforceDefaultPermissions.

To create a chat container with voice enabled, pass agentforceConversation into the AgentforceConversationContainer.