Neo4j Server

On a standalone Neo4j Server you need to install and configure GDS manually.

  1. Open the Neo4j Deployment Center and head to the Graph Data Science Self-Managed section.

  2. Check that the version of the Neo4j Graph Data Science Library is compatible with your Neo4j Server and download the compressed file.

  3. Decompress the file and move the neo4j-graph-data-science-[version].jar file into the $NEO4J_HOME/plugins directory.

  4. Add the following to your $NEO4J_HOME/conf/neo4j.conf file:

    dbms.security.procedures.unrestricted=gds.*

    This configuration entry is necessary because the GDS library accesses low-level components of Neo4j to maximise performance.

  5. Check if the procedure allowlist is enabled in the $NEO4J_HOME/conf/neo4j.conf file, namely if the dbms.security.procedures.allowlist option is not commented out with a leading # sign. In this case, add the GDS library to the allowlist:

    dbms.security.procedures.allowlist=gds.*

    You can find more information on allow listing in the Operations Manual.

  6. Restart the Neo4j Server.