Not sure I understand the question, but here's an example of connecting to a neo4j database from a notebook in Binderhub: https://mybinder.org/v2/gh/psychemedia/binder-neo4j/master?filepath=py%2Fneo4j-demo.py
Via: https://blog.ouseful.info/2019/08/13...