---
title: Step 1. Adding core dependencies
description: Install the rn-core and rn-external-idp packages and prepare your Android and iOS projects to support external IdP authentication in React Native
component: orchsdks
page_id: orchsdks:journey:use-cases/external-idp/react-native/01_adding_core_dependencies
canonical_url: https://developer.pingidentity.com/orchsdks/journey/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: Tue, 10 Jun 2026 00:00:00 +0000
keywords: ["PingOne Advanced Identity Cloud", "PingAM", "Setup &amp; Configuration", "Source Code", "Integration", "SDK", "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 Advanced Identity Cloud [icon: circle-check, set=far]PingAM [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 and External IdP packages with yarn

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

   Installing the Core and External IdP packages with npm

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

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

   * yarn

   * npm

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

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

## 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
```
