Cloud

How to Connect Graphlytic to Memgraph

31.08.2023
How to Connect Graphlytic to Memgraph

Memgraph provides flexible deployment options to suit different needs. It can be deployed on your own infrastructure using MemgraphDB, on a laptop for a seamless developer experience via Memgraph Labs, or as a managed service through Memgraph Cloud.

In this post, we will show how easy is to create a Memgraph Cloud instance and connect your Graphlytic Cloud instance.

 

1. Create a Memgraph instance

There are two main options for how to install Memgraph: Cloud or Docker. See the Getting Started page in Memgraph documentation for more information.

 

1.1. Memgraph Cloud

Memgraph Cloud is the easiest option to create a Memgraph instance without the need to install or configure anything. There is a 14-day free trial which makes things even easier.

Go to Memgraph Cloud and sign up for a free account. Create a new project* (cloud database). After a few minutes, your new Memgraph Cloud project will be up and ready to be used. 

*With Memgraph v2.10 and lower please do not forget to set the bolt-server-name-for-init to "Neo4j", otherwise Graphlytic won't be able to connect:

Memgraph new project configuration

Find connection details

To find the connection details that you'll need in Graphlytic open the project, go to "Connect via Driver" and select "JAVA" as the preferred language:

Memgraph connection options and languages

At the bottom of the Java code example is the Bolt URL and username that you need to create the connection. Store this information for later use in Graphlytic.

Memgraph connection example in Java

 

1.2 Local Memgraph Installation with Docker

If you prefer to install Memgraph locally the Docker option is the way to go. Simply run one of these commands:

Memgraph Platform

docker run -it -p 7687:7687 -p 7444:7444 -p 3000:3000 -e MEMGRAPH="--bolt-server-name-for-init=Neo4j" memgraph/memgraph-platform

*With Memgraph v2.10 and lower please do not forget to add the -e MEMGRAPH="--bolt-server-name-for-init=Neo4j" part, otherwise Graphlytic will be not able to connect.

Memgraph DB

docker run -it -p 7687:7687 -p 7444:7444 -p 3000:3000 memgraph/memgraph --bolt-server-name-for-init=Neo4j

*With Memgraph v2.10 and lower please do not forget to add the "--bolt-server-name-for-init=Neo4j" part, otherwise Graphlytic will be not able to connect.

 

2. Create a Graphlytic Instance

Any Graphlytic installation can be used, even the free LITE edition to connect to Memgraph. Graphlytic Cloud is the fastest option that can be created in a few minutes and starts at 19 EUR/month. You can start with the smallest instance and upgrade later, just follow the instructions in our Cloud Configurator.

 

3. Connect Graphlytic to Memgraph Cloud

After the first login to Graphlytic, you'll be presented with a graph connection form. Enter the connection details of your Memgraph instance here and click "Save". The connection will be validated and you be redirected to the Projects page if the connection is valid. Here's an example of the configuration in Graphlytic:

Memgraph connection information in Graphlytic

Connection information that needs to be filled:

  • Name: give your connection a name
  • Graph type: choose Memgraph
  • Bolt URL: use the URL from Memgraph's Java example mentioned above
  • Username: email address also from Memgraph's Java example
  • Password: password used to create your Memgraph project

More information about graph connections in Graphlytic.

4. Turn on auto-refresh in Graphlytic

Memgraph is a great tool for streamed graph data. Together with the auto-refresh functionality in Graphlytic, you can make an interactive live dashboard in no time.

Auto-refresh can be configured on the Project Settings page.

Auto-refresh configuration in Graphlytic

  • Show auto refresh: Show/hide the auto-refresh button in visualization.
  • Enabled: Turn on/off the autorefresh by default in new visualizations.
  • Interval: The interval in seconds between automatic refresh cycles.

Now you are ready to create your first Memgraph data visualization in Graphlytic. Contact us at support@graphlytic.com if you have any questions or issues with the integration.

Example of outage propagation in IT network:

Graphlytic visualization of an IT network with outage propagation

Example of fulltext search and query templates:

Search in Memgraph and visualize with Graphlytic

 

Blog subscription

We'll send you a notification email when a new blogpost is published. Emails may contain also commercial informations. Your email is safe with us, we will not spam you, and you will be able to unsubscribe anytime.

Thank you, your subscription has been received!
    Oops! Something went wrong while submitting the form.

    Popular posts

    Cloud

    What's New in Graphlytic 4.1

    13.04.2023
    Cloud

    Introducing Graphlytic LITE Server

    05.10.2021
    Cloud

    How to embed Graphlytic visualization into your app using iframe

    19.10.2021