---
title: Step 1. Installing dependencies
description: Explains how to install the PingOne Protect dependencies for the DaVinci Client in your Android, iOS, or JavaScript project.
component: orchsdks
page_id: orchsdks:davinci:use-cases/protect/ios/01-dependencies
canonical_url: https://developer.pingidentity.com/orchsdks/davinci/use-cases/protect/ios/01-dependencies.html
keywords: ["DaVinci", "PingOne Protect", "Dependencies", "Install", "Android", "iOS", "JavaScript"]
section_ids:
  add_dependencies_using_cocoapods: Add dependencies using CocoaPods
  add_dependencies_using_swift_package_manager: Add dependencies using Swift Package Manager
---

# Step 1. Installing dependencies

[icon: circle-check, set=far]PingOne [icon: apple, set=fab]iOS

To capture contextual data and perform risk evaluations, you must add the PingOne Protect module to your DaVinci Client project.

You can use CocoaPods or the Swift Package Manager to add the PingOne Protect dependencies to your iOS project.

## Add dependencies using CocoaPods

1. If you do not already have CocoaPods, install the [latest version](https://guides.cocoapods.org/using/getting-started.html).

2. If you do not already have a Podfile, in a terminal window, run the following command to create a new [Podfile](https://guides.cocoapods.org/syntax/podfile.html):

   ```podfile
   pod init
   ```

3. Add the following lines to your Podfile:

   ```podfile
   pod 'PingOneProtect' // Add-on for PingOne Protect
   ```

4. Run the following command to install pods:

   ```
   pod install
   ```

## Add dependencies using Swift Package Manager

1. With your project open in **Xcode**, select File > Add Package Dependencies.

2. In the search bar, enter the DaVinci Client for iOS repository URL: `https://github.com/ForgeRock/ping-ios-sdk`.

3. Select the `ping-ios-sdk` package, and then click Add Package.

4. In the Choose Package Products dialog, ensure that the `PingProtect` library is added to your target project.

5. Click Add Package.

6. In your project, import the library:

   ```swift
   // Import the PingOne Protect library
   import PingProtect
   ```

After installing the module, you can proceed to [Step 2. Integrating PingOne Protect DaVinci flows in iOS](02-protect-ios-app-davinci.html).
