Dark Mode
Connecting to Astra

Using a Cassandra driver to connect to a DataStax Astra database is almost identical to using the driver to connect to any Apache Cassandra® database. The only differences are in how the driver is configured in an application and that you will need to obtain a secure connect bundle.


Connecting to the database

Using a combination of the secure bundle file and its associated credentials, connect to your Astra database.

Retrieving metadata

After connecting to the database, get a metadata object and retrieve information about the nodes that make up the cluster.