---
title: Step 1. Adding core dependencies
description: Install the rn-core, rn-external-idp, and rn-davinci packages and prepare your Android and iOS projects to support social sign-on with external IdPs in DaVinci flows
component: orchsdks
page_id: orchsdks:davinci:use-cases/external-idp/react-native/01_adding_core_dependencies
canonical_url: https://developer.pingidentity.com/orchsdks/davinci/use-cases/external-idp/react-native/01_adding_core_dependencies.html
llms_txt: https://developer.pingidentity.com/orchsdks/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: Thu, 4 Sep 2026 00:00:00 +0000
keywords: ["PingOne", "DaVinci", "Flows", "Setup &amp; Configuration", "Source Code", "Integration", "SDK", "IdP", "React Native"]
section_ids:
  installing_dependencies: Installing dependencies
  preparing_the_android_project: Preparing the Android project
  preparing_the_ios_project: Preparing the iOS project
---

# Step 1. Adding core dependencies

[icon: circle-check, set=far]PingOne [icon: react, set=fab]React Native

## Installing dependencies

1. Add the core dependencies.

   The **External IdP** module requires the **Core** module. If you have not already installed it, add both packages at the same time:

   * yarn

   * npm

   Installing the Core, External IdP, and DaVinci packages with yarn

   ```shell
   yarn add @ping-identity/rn-core
   yarn add @ping-identity/rn-external-idp
   yarn add @ping-identity/rn-davinci
   ```

   Installing the Core, External IdP, and DaVinci packages with npm

   ```shell
   npm install @ping-identity/rn-core
   npm install @ping-identity/rn-external-idp
   npm install @ping-identity/rn-davinci
   ```

2. Optionally, add the **Logger** module:

   * yarn

   * npm

   ```shell
   yarn add @ping-identity/rn-logger
   ```

   ```shell
   npm install @ping-identity/rn-logger
   ```

|   |                                                                                                           |
| - | --------------------------------------------------------------------------------------------------------- |
|   | Only pass a logger to the **External IdP** client when the **Logger** module is installed and configured. |

## Preparing the Android project

Android requires no additional linking steps. The native module resolves automatically at build time.

## Preparing the iOS project

After installing, link the native iOS dependencies by running `pod install` in your `ios/` directory:

```shell
cd ios && pod install
```
