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 Database Neo4j Desktop Intro Neo4j… Read more →
Connect to Neo4j Aura with Neo4j Desktop
In this page, we will learn how to connect the Neo4j Desktop application to an instance in Neo4j Aura. This gives us the opportunity to have a single portal for interacting with all instances of Neo4j, whether local databases or databases located in various clouds.
We should have created and started a Neo4j Aura database instance. If we have not already, we can follow the instructions in the getting started guide to step through the process. We should also have downloaded and installed the Neo4j Desktop application. If you have not already, you can download it and follow the installation instructions that appear once you click to download.
When we create a new graph in Neo4j Desktop, we have the option to create a local graph or a remote graph. Because the Neo4j Aura instance is hosted remotely, we will be connecting to a remote instance. We can do this with a few steps.
- Navigate to the Neo4j Aura Console and confirm your instance is running. Take note of the URL (or use the copy button next to it to copy it to your clipboard), as we will need to use it later.
Choose the Projects tab in Neo4j Desktop , then choose or create a project , and click
Add Database in the right pane.
- Choose the option to connect to a Remote Graph
Enter a name for the database (can match name in cloud or can be different) and copy/paste the URL from the Neo4j Aura console (see Step 1) to the second input. Once complete, click
Now we need to choose an authentication method.
Neo4j Aura instances require username and password authentication, so click the
On this screen, we enter our credentials.
By default, the username for your Neo4j Aura database will be
neo4jand unless you have changed it, the password will be the one generated for you when you created your Aura database. If you have created another user for your Aura database, you can use this instead. Aura databases require an encrypted connection, so ensure the box is checked for
Use encrypted connectionbefore clicking
If the connection succeeds, we will see our database name and url. To activate the connection, click the
Connectbutton in lower right. Once activated, we can disconnect with the same button, open Neo4j Browser with the
Openbutton to the left or open a Graph App using the dropdown menu next to the Open button.
Neo4j Desktop only allows 1 connection at a time to a database (local or remote).
Just as with other databases in Neo4j Desktop, you can install graphapps for monitoring and other functionality. To do this, we can follow the same process to install the graph application that you need and open it from Neo4j Desktop or a web browser with the running and activated Neo4j Aura instance.