Developer Guides Getting Started Getting Started What is a Graph Database? Intro to Graph DBs Video Series Concepts: RDBMS to Graph Concepts: NoSQL to Graph Getting Started Resources Neo4j Graph Platform Graph Platform Overview Neo4j Desktop Intro Neo4j Browser Intro… Read more →
Drivers & Language Guides
To build an application, you want to connect to Neo4j from your technology stack. Fortunately it is very easy using a driver which connects to Neo4j via Bolt or Http.
Starting with Neo4j 3.0 we support a binary protocol called Bolt. It is based on the PackStream serialization and supports the Cypher type system, protocol versioning, authentication and TLS via certificates. For Neo4j Clusters, Bolt provides smart client routing with load balancing and failover.
The binary protocol is enabled in Neo4j by default, so you can use any language driver that supports it.
You can find detailed information about the official drivers in the Neo4j Driver Manual
For more details on the protocol implementation, see the implementers documentation.
Thanks to the Neo4j contributor community, there are additionally drivers for almost every popular programming language, most of which mimic existing database driver idioms and approaches. Get started with your stack now, see the dedicated page for more detail.
If you want to access Neo4j programmatically, you can also use the HTTP-API, which allow you to:
- POST one or more Cypher statements with parameters
- Keep transactions open over multiple requests
- Choose different result formats
Let’s look at one of the underlying remote API endpoint that Neo4j offers to execute queries. These APIs can be then used directly via a HTTP library or a driver for your language.
A simple HTTP Cypher request, executable in the Neo4j Browser would look like this:
Some of the language drivers use the HTTP API under the hood, but make them available in a more convenient way.