The first step is to set the connection parameters to Neo4j:
var driver = neo4j.driver(
// update the next two lines depending on your configuration
'bolt://127.0.0.1:7687',
neo4j.auth.basic('user', 'password')
);
var session = driver.session();
You can find the bolt port in the active graph management window as illustrated in the following screenshot: