Neo4j Server
On a standalone Neo4j Server, GDS will need to be installed and configured manually.
-
Download
neo4j-graph-data-science-[version].zip
from the Neo4j Download Center -
Unzip the archive and move the
neo4j-graph-data-science-[version].jar
file into the$NEO4J_HOME/plugins
directory. -
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.
-
Check if the procedure allowlist is enabled in the
$NEO4J_HOME/conf/neo4j.conf
file and add the GDS library if necessary:dbms.security.procedures.allowlist=gds.*
-
Restart Neo4j
1. Verifying installation
To verify your installation, print the version of Graph Data Science by opening Neo4j Browser and running the gds.version()
function:
RETURN gds.version();
To list all available procedures, run the gds.list()
procedure:
CALL gds.list();
Was this page helpful?