Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or Docker Desktop.
- To connect DataStax to MindsDB, install the required dependencies following this instruction.
- Create an Astra DB database.
Implementation
DataStax Astra DB is API-compatible with Apache Cassandra and ScyllaDB. Therefore, its implementation extends the ScyllaDB handler and is using thescylla-driver Python library.
The required arguments to establish a connection are as follows:
user: The literal stringtokenpassword: An Astra application tokensecure_connect_bundle: The path to your database’s Secure Connect Bundle zip file