ArangoDB v3.11 is under development and not released yet.

This documentation is not final and potentially incomplete.

Spring Data ArangoDB - Getting Started

Supported versions

Spring Data ArangoDB is compatible with all supported stable versions of ArangoDB server, see Product Support End-of-life Announcements.


To use Spring Data ArangoDB in your project, your build automation tool needs to be configured to include and use the Spring Data ArangoDB dependency. Example with Maven (substitute x.x.x with the latest Spring Data ArangoDB version):


There is a demonstration app, which contains common use cases and examples of how to use Spring Data ArangoDB’s functionality.


You can use Java to configure your Spring Data environment as show below. Setting up the underlying driver (ArangoDB.Builder) with default configuration automatically loads a properties file, if it exists in the classpath.

@EnableArangoRepositories(basePackages = { "" })
public class MyConfiguration implements ArangoConfiguration {

  public ArangoDB.Builder arango() {
    return new ArangoDB.Builder();

  public String database() {
    // Name of the database to be used
    return "example-database";


The driver is configured with some default values:

property-key description default value ArangoDB host
arangodb.port ArangoDB port 8529
arangodb.timeout socket connect timeout(millisecond) 0
arangodb.user Basic Authentication User  
arangodb.password Basic Authentication Password  
arangodb.useSsl use SSL connection false

To customize the configuration, the parameters can be changed in the Java code.

public ArangoDB.Builder arango() {
  ArangoDB.Builder arango = new ArangoDB.Builder()
  return arango;

In addition you can use the or a custom properties file to supply credentials to the driver.

Properties file


Custom properties file

public ArangoDB.Builder arango() {
  InputStream in = MyClass.class.getResourceAsStream("");
  ArangoDB.Builder arango = new ArangoDB.Builder()
  return arango;