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.

After adding the dependencies, sync your project with the Gradle files.