# Integrate the Edge Agent SDK

## Get Started <a href="#get-started" id="get-started"></a>

* [​Integrate the iOS SDK​](#integrate-the-ios-sdk)
* [​Integrate the Android SDK​](#integrate-the-ios-sdk-1)

## Integrate the iOS SDK <a href="#integrate-the-ios-sdk" id="integrate-the-ios-sdk"></a>

{% hint style="success" %}
To gain access to the iOS SDK and sample app providing a reference for integrating the SDK, please [contact us](https://sudoplatform.com/#lets-chat).
{% endhint %}

Add this line to your [Podfile](https://docs.sudoplatform.com/getting-started#ios-only-setup-cocoapods-in-a-project):

```
pod 'SudoDIEdgeAgent'
```

Install pod dependencies by running the following command in your project directory:

```
pod install --repo-update
```

This will update the local CocoaPods repository and install the latest version of the **Edge Agent SDK**.

{% hint style="info" %}
In order to instantiate an Agent, make sure you have followed the instructions for [Getting Started](https://docs.sudoplatform.com/guides/getting-started).
{% endhint %}

## Integrate the Android SDK <a href="#integrate-the-ios-sdk" id="integrate-the-ios-sdk"></a>

{% hint style="success" %}
To gain access to the Android SDK and sample app providing a reference for integrating the SDK, please [contact us](https://sudoplatform.com/#lets-chat).
{% endhint %}

The Android SDK is compatible with Android 8 (API level 26) and above.

{% tabs %}
{% tab title="Gradle" %}
Add this line to the dependencies section of the app module `build.gradle` and synchronize your project with Android Studio.

```groovy
dependencies {
    implementation 'com.sudoplatform:sudodiedgeagent:$latest_version'
    // required transitive dep of Edge Agent SDK
    implementation("net.java.dev.jna:jna:5.14.0@aar")
}
```

{% hint style="info" %}
In order to instantiate an Agent, make sure you have followed the first page of instructions for [Getting Started](https://docs.sudoplatform.com/guides/getting-started).
{% endhint %}
{% endtab %}
{% endtabs %}
