> For the complete documentation index, see [llms.txt](https://docs.recognito.vision/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.recognito.vision/face-recognition-sdk/integration-guide/ios/licensing.md).

# Licensing

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

[License Option](/license-option.md)
{% endhint %}

## Get your Bundle ID

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

<figure><img src="/files/c8QFrEcQxb2E07icB867" alt=""><figcaption></figcaption></figure>

## Request License

Share your Bundle ID with us for license key.

[**Contact us**](/contact-and-support.md)

## Activate SDK

[Activate](/face-recognition-sdk/integration-guide/ios/api-reference.md#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()
    }
```
