IDE Intellij Plugin - datastaxdevs/awesome-astra GitHub Wiki
🏠 Back to home | Written by Cedrick Lunven, Last Update 2/18/2022
- This content has been built using Reference Documentation
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
- You should have an Astra account
- You should Create and Astra Database
- You should Have an Astra Token
- You should download either Community or ultimate edition of intelliJ from Download Page
C - Installation Guide
- Open the plugin panel and search for
astra
File > Preferences > Plugins
- Click the
[INSTALL]
button
- Once the plugin is downloaded and installed you will be asked to restart
- During the first restart you will got an
IDE error occured
message it is expected we will now configure the plugin
-
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
- In the drop down menu select
Edit Profiles
the configuration file is referred as a profile
- You will be asked if you want to create the file, click
[CREATE]
- Also pick the first option in the radio button Edit this file anyway
- The file open and the content should look like. Not that the value used for the
bearerToken
is the one starting byAstraCS:....
. Save the file
[astraProfileFile.profiles]
default = "AstraCS:XXXX"
- Now on the drop down menu select
Reload Profiles
- Et voila you can now list databases on your Astra organization and for each you can see the different keyspaces