Set Up Agentforce Voice for Android

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 and configure a voice-enabled service agent in Agentforce Studio.

Voice settings are configured at the agent level and apply across all supported connections. For current mobile GA implementations, connect your service agent to telephony.

Starting with SDK version 260.4, Agentforce Voice is a separate optional module. To use Agentforce Voice, add the agentforce-sdk-voice dependency to your build.gradle file alongside the core SDK.

Then, register the voice module in your configuration:

If you don’t use Agentforce Voice, no changes are needed — voice is no longer bundled with the core SDK by default.

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.