# Licensing

{% hint style="info" %}
Click [Here ](https://docs.recognito.vision/license-option)to get details about RECOGNITO license option

[license-option](https://docs.recognito.vision/license-option "mention")
{% endhint %}

## Get your Bundle ID

To activate SDK, you have to first get your Bundle ID:

<figure><img src="https://3902005046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxiEW2bRNeDz3JZIL41gD%2Fuploads%2FqXX7OJq0MWCcCY0Ikrbs%2FBundleID.png?alt=media&#x26;token=b78c2616-7280-44a1-9a70-cd8926ce2a4e" alt=""><figcaption></figcaption></figure>

## Request License

Share your Bundle ID with us for license key.

[**Contact us**](https://docs.recognito.vision/contact-and-support)

## Activate SDK

[Activate](https://docs.recognito.vision/face-recognition-sdk/integration-guide/api-reference#setactivation) the SDK with license key. Should be called before using of any other functions.

```swift
override func viewDidLoad() {
    super.viewDidLoad()
    var ret = SDK_LICENSE_KEY_ERROR.rawValue
    if let filePath = Bundle.main.path(forResource: "license", ofType: "txt") {
        do {
            let license = try String(contentsOfFile: filePath, encoding: .utf8)
            ret = FaceSDK.setActivation(license)
        } catch {
            print("Error reading file: \(error)")
        }
    } else {
        print("File not found")
    }
    
    if(ret == SDK_SUCCESS.rawValue) {
        ret = FaceSDK.initSDK()
    }
```
