# IBM Cloud Databases for DataStax connection #

To access your data in IBM Cloud Databases for DataStax, create a connection asset for it\.

Important: The IBM Cloud Databases for DataStax connector is deprecated and will be discontinued in a future release\.

IBM Cloud Databases for DataStax is a scale\-out NoSQL database in IBM Cloud that is built on Apache Cassandra\. It’s designed to power real\-time applications with high availability and massive scalability\.

## Create a connection to IBM Cloud Databases for DataStax ##

To create the connection asset, you need these connection details:

<!-- <ul> -->

 *  Host name
 *  Port number
 *  Username and password
 *  Keyspace
 *  SSL certificate (if required by the database server)

<!-- </ul> -->

Recommended values to insert into "SSL certificate", "Key certificate" and "Private key" fields can be found in `secure-connect-bundle.zip`\. It can be downloaded from the Databases for DataStax instance (tab `Overview`)\. After downloading secure connect bundle, unzip it, and you'll find the following:

<!-- <ul> -->

 *  SSL certificate property: contents of `ca.crt`
 *  Private key property: contents of `key`

<!-- </ul> -->

In order to paste contents of `key` into Private key property, it has to be parsed to one\-line\. It can be done for example by executing following in the console: `tr -d '\n' < key`\. The output from this command can be put into `Private key` property\.

<!-- <ul> -->

 *  Key certificate property: contents of `cert`

<!-- </ul> -->

For **Private connectivity**, to connect to a database that is not externalized to the internet (for example, behind a firewall), you must set up a [secure connection](https://dataplatform.cloud.ibm.com/docs/content/wsj/manage-data/securingconn.html)\.

### Choose the method for creating a connection based on where you are in the platform ###

**In a project** : Click **Assets > New asset > Connect to a data source**\. See [Adding a connection to a project](https://dataplatform.cloud.ibm.com/docs/content/wsj/manage-data/create-conn.html)\.

**In a deployment space** : Click **Add to space > Connection**\. See [Adding connections to a deployment space](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/ml-space-add-assets.html)\.

**In the Platform assets catalog** : Click **New connection**\. See [Adding platform connections](https://dataplatform.cloud.ibm.com/docs/content/wsj/manage-data/platform-conn.html)\.

### Next step: Add data assets from the connection ###

<!-- <ul> -->

 *  See [Add data from a connection in a project](https://dataplatform.cloud.ibm.com/docs/content/wsj/manage-data/connected-data.html)\.

<!-- </ul> -->

## Where you can use this connection ##

**Projects**

<!-- <ul> -->

 *  Data Refinery
 *  Decision Optimization
 *  SPSS Modeler
 *  Synthetic Data Generator

<!-- </ul> -->

**Catalogs**

<!-- <ul> -->

 *  Platform assets catalog

<!-- </ul> -->

## IBM Cloud Databases for DataStax setup ##

[Getting Started with IBM Cloud Databases for DataStax](https://cloud.ibm.com/docs/databases-for-cassandra)

## Learn more ##

[IBM Cloud Databases for DataStax Documentation](https://cloud.ibm.com/databases/databases-for-cassandra/create)

**Parent topic:**[Supported connections](https://dataplatform.cloud.ibm.com/docs/content/wsj/manage-data/conn_types.html)

<!-- </article "role="article" "> -->