IDE Intellij Plugin - datastaxdevs/awesome-astra GitHub Wiki

🏠 Back to home | Written by Cedrick Lunven, Last Update 2/18/2022

A - Overview

Astra DB is a serverless NoSQL database as a service, built on Apache Cassandra (tm). Navigate, insert and edit data in your Astra DB without coding, directly in your favorite JetBrains IDE using this plugin from DataStax. This plugin also works with open source Apache Cassandra 4.0 once a Stargate Data API gateway has been configured.

B - Prerequisites

C - Installation Guide

Astra DB Explorer Installation Page

  • Open the plugin panel and search for astra
File > Preferences > Plugins
  • Click the [INSTALL] button

my-pic

  • Once the plugin is downloaded and installed you will be asked to restart

my-pic

  • During the first restart you will got an IDE error occured message it is expected we will now configure the plugin

my-pic

my-pic

  • The plugin configuration is defined in a file on disk located at ${user.home}/.astra/config. Fortunately you can do it directly in the IDE

  • In the bottom left hand corner locate the panel astra.explorer and open it

my-pic

  • In the drop down menu select Edit Profiles the configuration file is referred as a profile

my-pic

  • You will be asked if you want to create the file, click [CREATE]

my-pic

  • Also pick the first option in the radio button Edit this file anyway

my-pic

  • The file open and the content should look like. Not that the value used for the bearerToken is the one starting by AstraCS:..... Save the file

[astraProfileFile.profiles]
default = "AstraCS:XXXX"
  • Now on the drop down menu select Reload Profiles

my-pic

  • Et voila you can now list databases on your Astra organization and for each you can see the different keyspaces

my-pic

Usage

my-pic