Installation

The SurrealDB SDK for Java is available on the Maven Central repository. You can add it to your project using Gradle or Maven.

Install the SDK

Install the SurrealDB SDK from Maven Central using Gradle or Maven.

ext {
surrealdbVersion = "3.0.0-ALPHA.1"
}

dependencies {
implementation "com.surrealdb:surrealdb:${surrealdbVersion}"
}

Import the SDK

After installing, you can access the SDK by importing from the com.surrealdb package.

import com.surrealdb.Surreal;

Next steps