# 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](/guides/getting-started.md#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](/guides/getting-started.md).
{% 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](/guides/getting-started.md).
{% endhint %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sudoplatform.com/guides/decentralized-identity/decentralized-identity/edge-agent-sdk/integrate-the-wallet-sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
