Load and retrieve data

You can load and retrieve data in your Astra DB database. This example uses the Stargate Document API.

Prerequisites

Get an application token

Use the Astra Portal or the DevOps API to create an application token.

  1. In the Astra Portal, go to Tokens.

  2. Select the role you want to attach to your token. The permissions for the selected role are shown.

  3. Select Generate Token to generate a Client ID, Client Secret, and Token.

  4. Download your Client ID, Client Secret, and Token, and then store them securely.

After you exit this page, you can’t access the Client ID, Client Secret, and Token again.

These tokens never expire, but you can delete tokens that are compromised or no longer needed.

Load data into your database

You can load data into your Astra DB database with any of these methods:

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com