> 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/espanol/documentacion-oficial/integraciones/langchain/vector-stores/astradb.md).

# AstraDB

## Configuración

1. Registra una cuenta en [AstraDB](https://astra.datastax.com/)
2. Inicia sesión en el portal. Crea una Base de Datos

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

3. Elige Serverless (Vector), completa el nombre de la Base de Datos, Proveedor y Región

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

4. Después de que la base de datos haya sido configurada, obtén el API Endpoint y genera un Application Token

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

5. Crea una nueva collection, selecciona la dimensión deseada y la métrica de similitud:

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

6. De vuelta al canvas de Flowise, arrastra y suelta el nodo Astra. Haz clic en **Create New** en el menú desplegable de Credentials:

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

7. Especifica el API Endpoint y el Application Token:

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

8. Ahora puedes hacer upsert de datos a AstraDB

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

9. Navega de vuelta al portal de Astra, y en tu collection, podrás ver todos los datos que se han insertado:

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

10. ¡Comienza a realizar consultas!

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.flowiseai.com/espanol/documentacion-oficial/integraciones/langchain/vector-stores/astradb.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
