---
title: Step 1. Adding core dependencies
description: These dependencies provide core support for social sign-on. These are the minimum required dependencies for using the redirect method to send users to the IdP for authentication.
component: sdks
version: latest
page_id: sdks:davinci:use-cases/social-login/android/01_adding_core_dependencies
canonical_url: https://docs.pingidentity.com/sdks/latest/davinci/use-cases/social-login/android/01_adding_core_dependencies.html
revdate: Tue, 25 Mar 2025 11:00:37 +0100
keywords: ["DaVinci", "Flows", "Tutorial", "Source Code", "Integration", "SDK", "Android"]
---

# Step 1. Adding core dependencies

These dependencies provide core support for social sign-on. These are the minimum required dependencies for using the redirect method to send users to the IdP for authentication.

|   |                                                                                                                                                          |
| - | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | If you want to use an IdP's native libraries for an embedded experience you can add additional dependencies and configuration in an optional step later. |

To add the code dependencies for social sign-on:

1. In the **Project** tree view of your Android Studio project, open the `build.gradle.kts` file.

2. In the `dependencies` section, add the following:

   ```gradle
   // Ping (ForgeRock) SDK social sign-on dependencies
   implementation("com.pingidentity.sdks:davinci:1.3.0")
   implementation("com.pingidentity.sdks:external-idp:1.3.0")
   ```
