Connecting to your instance

In the previous lesson, you learned about different ways to back up and restore your Aura instance, and how to plan your backup strategy.

In this lesson you will learn how to:

  • Connect to your Aura instance

  • Use different tools to interact with your database

  • Ensure connection security

Connecting to your instance

To connect to your Aura instance, you will need the connection details provided in the Inspect section of your instance management options, as well as the credentials file you downloaded when creating the instance, for example:

Entry Value

NEO4J_URI

neo4j+s://<instanceid>.databases.neo4j.io

NEO4J_USERNAME

neo4j

NEO4J_PASSWORD

<your password>

NEO4J_DATABASE

neo4j

AURA_INSTANCEID

<instanceid>

AURA_INSTANCENAME

Instance01

To view the connection details, navigate to your instance in the Aura console and click on the three dots on the right side of the instance card. Select Inspect from the dropdown menu.

inspect_connection

For example, this is how you can connect to your Professional instance through the integrated Importing tool: :

The connection details include:

  • ID: The unique identifier for your database instance.

  • Connection URI: The connection string used to connect to your database.

Also, you will need the username and password you set when creating the instance, which are not shown in the inspect panel for security reasons. To retrieve the connection password, review the document downloaded when you created the instance.

Once you have these details, you can use them to connect through the integrated tools; Query, Explore, or Dashboards, or any external application that supports Neo4j connections.

Connect with Credentials][credentials_prompt

Overview of interaction methods

In Aura, there are several ways to interact with your database instance, each suited for different use cases and user preferences. The primary tools include:

  • The integrated Query tool: A web-based interface within the Aura console that allows you to run Cypher queries directly against your database without needing any external tools.

  • The explore tool: A graph visualization and exploration tool that provides an intuitive way to interact with your data through visual representations. It is ideal for business users and analysts who prefer a more visual approach, as well as developers who want to quickly prototype queries.

  • Integrated Dashboards: Enable you to create visual representations of your data, making it accessible to business users and stakeholders without requiring them to write Cypher queries.

Check your understanding

Connecting to Aura

Which details do you need to connect to your Aura instance?

  • ✓ Connection URI

  • ✓ Username

  • ✓ Password

  • ✓ Database name

  • ❏ Cloud Provider

Hint

Think of the essential details needed when connecting to a database.

Solution

To connect to your Aura instance, you need the following details: * Connection URI: The connection string used to connect to your database. * Username: The username for your database instance. * Password: The password associated with your username. * Database name: The name of the specific database you want to connect to within your Aura instance.

You do not need to know the cloud provider to connect to your Aura instance, as this information is abstracted away by the service.

Summary

In this lesson, you learned how to connect to your instance, including the information you need from your instance in order to connect. You are also now familiar with the integrated tools you can use to interact with your data.

Chatbot

How can I help you today?