> For the complete documentation index, see [llms.txt](https://docs.flowiseai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowiseai.com/integrations/langchain/vector-stores/astradb.md).

# AstraDB

## Setup

1. Register an account on [AstraDB](https://astra.datastax.com/)
2. Login to portal. Create a Database

<figure><img src="/files/Mq1q7TZdWrwMUrIcNtTm" alt=""><figcaption></figcaption></figure>

3. Choose Serverless (Vector), fill in the Database name, Provider, and Region

<figure><img src="/files/SKqwXmE5ztosmlD9HcVf" alt="" width="563"><figcaption></figcaption></figure>

4. After database has been setup, grab the API Endpoint, and generate Application Token

<figure><img src="/files/Lnq8VCKbj1UGvdb7lOOh" alt=""><figcaption></figcaption></figure>

5. Create a new collection, select the desired dimenstion and similarity metric:

<figure><img src="/files/lSiLITwTLSpEhzwChJUb" alt=""><figcaption></figcaption></figure>

6. Back to Flowise canvas, drag and drop Astra node. Click **Create New** from the Credentials dropdown:

<figure><img src="/files/NvObOandyZTHUA4RPekL" alt="" width="235"><figcaption></figcaption></figure>

7. Specify the API Endpoint and Application Token:

<figure><img src="/files/0Yyd6lIPGgdlKPfrtEwn" alt="" width="563"><figcaption></figcaption></figure>

8. You can now upsert data to AstraDB

<figure><img src="/files/sBMoYcrMSJ6hLu5kvjQD" alt=""><figcaption></figcaption></figure>

9. Navigate back to Astra portal, and to your collection, you will be able to see all the data that has been upserted:

<figure><img src="/files/4VrxCPuZQ3mrKU7Ga4VH" alt=""><figcaption></figcaption></figure>

10. Start querying!

<figure><img src="/files/qPkrYcHc0U0Z2DrtfFPs" alt=""><figcaption></figcaption></figure>
