Katacoda scenarios

Katacoda scenarios can help guide you through various ways to use DataStax Astra DB.

Using the REST API

If you are using the Astra DB REST API, this scenario will walk you through the following parts:

  • Setting up environment variables

  • Creating a table with the REST API

  • Adding a row to your table with the REST API

  • Retrieving rows using the REST API

Katacoda Icon
Figure 1. Using the Astra DB REST API service

Using the GraphQL API

If you are using the Astra DB GraphQL API, this scenario will walk you through the following parts:

  • Getting a token

  • Inserting a record with cURL

  • Querying a record using GraphQL and JavaScript

  • Adding a record with GraphQL and JavaScript

Katacoda Icon
Figure 2. Using the Astra DB GraphQL API

Connecting with CQL shell

If you are using the CQL shell, this scenario will walk you through the following parts:

  • Installing and configuring the CQL shell

  • Creating a table

  • Inserting data

  • Querying data

Katacoda Icon
Figure 3. Connecting to Astra DB with CQL Shell

Connecting with CQL shell using Docker

If you are using the CQL shell using Docker, this scenario will walk you through the following parts:

  • Creating a CQL shell container

  • Creating a table

  • Inserting data

  • Querying data

Katacoda Icon
Figure 4. Connecting to Astra DB with CQL Shell using Docker