Import the SDK
Add the Nexconn Chat SDK to your Android project with a Gradle dependency.
Requirements
Android 5.0 (API level 21) or higher.
Find the latest version
Before you import the SDK, find the latest version in the [Maven repository].
Gradle (recommended)
Add the Nexconn Chat SDK as a remote dependency with Gradle. The setup depends on your Gradle plugin version.
Step 1: Add the Maven repository
- Gradle plugin < 8.0
- Gradle plugin 8.0+
Open the root build.gradle file and add the Nexconn Maven repository:
Groovy
allprojects {
repositories {
...
mavenCentral()
}
}
Open settings.gradle in the root directory:
Groovy
dependencyResolutionManagement {
repositories {
...
mavenCentral()
}
}
Step 2: Add the SDK dependency
In your app-level build.gradle, add the Chat SDK:
Groovy
dependencies {
...
implementation 'ai.nexconn.chat:chat:x.y.z'
}
tip
Replace x.y.z with the actual version number. Some versions use the format x.y.z.h. See the Maven repository for the latest version.
What's next
- Initialize the SDK — Configure and initialize the SDK
- Send your first message — Complete quickstart tutorial