- Create a database using https://astra.datastax.com/register[Astra DB, window="_blank"].
- Download the secure connect bundle to obtain connection credentials for your Astra DB database.
- Get your Client ID_ and _Client Secret by creating your application token for your username and password.
- Download the DataStax C++ driver and dependency packages for your platform using the links in the following table:
DataStax C++ driver download links
Platform | Download links |
---|---|
CentOS 6 | http://downloads.datastax.com/cpp-driver/centos/6/dse[Driver, window="_blank"] | http://downloads.datastax.com/cpp-driver/centos/6/dependencies[Dependencies, window="_blank"] |
CentOS 7 | http://downloads.datastax.com/cpp-driver/centos/7/dse[Driver, window="_blank"] | http://downloads.datastax.com/cpp-driver/centos/7/dependencies[Dependencies, window="_blank"] |
CentOS 8 | http://downloads.datastax.com/cpp-driver/centos/8/dse[Driver, window="_blank"] | http://downloads.datastax.com/cpp-driver/centos/8/dependencies[Dependencies, window="_blank"] |
Ubuntu 14.04 | http://downloads.datastax.com/cpp-driver/ubuntu/14.04/dse[Driver, window="_blank"] | http://downloads.datastax.com/cpp-driver/ubuntu/14.04/dependencies[Dependencies, window="_blank"] |
Ubuntu 16.04 | http://downloads.datastax.com/cpp-driver/ubuntu/16.04/dse[Driver, window="_blank"] | http://downloads.datastax.com/cpp-driver/ubuntu/16.04/dependencies[Dependencies, window="_blank"] |
Ubuntu 18.04 | http://downloads.datastax.com/cpp-driver/ubuntu/18.04/dse[Driver, window="_blank"] | http://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies[Dependencies, window="_blank"] |
Windows | http://downloads.datastax.com/cpp-driver/windows/dse[Driver, window="_blank"] | http://downloads.datastax.com/cpp-driver/windows/dependencies[Dependencies, window="_blank"] |
Other platforms should build the driver from the source code packages.
- Using the packages you downloaded, follow the installation instructions for your platform to install the DataStax C++ driver.
- In your existing DataStax C++ driver code, modify the connection code to use the Astra DB API.
- Build and link your application against the DataStax C++ driver.
_DataStax C++ driver for Apache Cassandra_Link your application against ` cassandra.lib .Your application will also require cassandra.dll to be in your runtime path.
_DSE C++ driver_Link your application against dse.lib .Your application will also require dse.dll to be in your runtime path.