> For the complete documentation index, see [llms.txt](https://cartoonmango-1.gitbook.io/vida-ekyc-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cartoonmango-1.gitbook.io/vida-ekyc-integration/integration-methods/sdk/ios-sdk/getting-started.md).

# Getting Started

## **Prerequisites**

Getting Activation Key

In order to access the VIDA SDK, you will need a Activation Key

{% hint style="info" %}
**Contact Vida Support**

If you haven't got the Activation Key, you can reach out to [<mark style="color:blue;">VIDA support team.</mark>](mailto:support@vida.id)
{% endhint %}

### **Add the Required Permissions**

To access camera features, add the following key to your app's Info.plist file

```xml
<key>NSCameraUsageDescription</key>
<string>Description of why your app needs camera access</string>
```

### **Add the Vida Repository**

To include VIDA's repository and credentials in your iOS project, add the following code to your project's Podfile

```ruby
source 'https://github.com/CocoaPods/Specs.git'
source 'https://sdk-repo.dev.vida.id/ios'

platform :ios, '10.0'

target 'YourTargetName' do
  pod 'VIDA-Liveness', '1.0.XX'
end
```

Replace `'YourTargetName'` with the appropriate target name in your project.

### **Add the Vida Liveness Detection SDK Dependency**

In your Podfile, add the following code to include the SDK dependency

```groovy
pod 'VIDA-Liveness', '1.0.XX'
```

Then run `pod install` to install the dependency in your project.

### **Add SDK Activation Key**

To add the SDK activation key, open your app's AppDelegate.swift file and add the following code to the `application(_:didFinishLaunchingWithOptions:)` method

```swift
import VidaLiveness

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    VidaLiveness.shared.activate(withKey: "VIDA-ACTIVATION_KEY")
    return true
}
```

Replace `VIDA-ACTIVATION_KEY` with the activation key provided by Vida.
