Install the Android SDK
Follow these steps to add the required dependencies to your Android project.
Configure your top-level settings.gradle.kts file as shown:
In your app-level build.gradle.kts file, add the dependencies for the integration path you choose. The agentforcesdk artifact is for the Full UI experience, while agentforce-service is for the Headless approach.
Always pin to the latest available SDK version. Check the Android SDK releases on GitHub for the current version and release notes, and replace 15.136.5 in the example below with that version.
After adding the dependencies, sync your project with the Gradle files.
- Integration: See Integration Guide for implementation
- Requirements: Review Requirements if you encounter issues