Prerequisites
- Download the DataStax JDBC Driver.
Establish the connection
- Open link:https://dbschema.com/[DBSchema^].
- Select *Connect to the Database*.
- Select *Start*.
- In the *Choose your database* menu, select *Cassandra*.
- Select *Next*.
- Select *JDBC Driver* edit option.
- In the *JDBC Driver Manager*, select *New*.
- In the *Add RDBMS* window, enter Astra and select *OK*.
- Select *OK* in the confirmation message.
- Upload the Simba JDBC Driver.
- Select *Open*.
- Once you upload the Simba JDBC Driver, you will see Astra in the *Choose your Database window. Select Next*.
- In the *Astra Connection Dialog*, add JDBC URL as `jdbc:cassandra://;AuthMech=<2>;UID=token;PWD=<ApplicationToken>;SecureConnectionBundlePath=<PATH TO YOUR SECURE CONNECT BUNDLE>;TunableConsistency=<6>` with the following variables:
- Select *Connect*.
- In the **Select Schemas/Catalogs**, select the keyspace to which you want to connect.
- Select *OK*.
Now that your connection is working, you can create tables, introspect your keyspaces, view your data in the DBSchema GUI, and more.
To learn more about DBSchema, see Quick start with DBSchema.