> 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/upstash-vector.md).

# Upstash Vector

## Prequisites

1. Sign up or Sign In to [Upstash Console](https://console.upstash.com)
2. Navigate to Vector page and click **Create Index**

   <figure><img src="/files/zm1m2RIj9uXMIUIwNbv2" alt=""><figcaption></figcaption></figure>
3. Do the necessary configurations and create the index.

   1. **Index Name**, name of the index to be created. (e.g. "flowise-upstash-demo")
   2. **Dimensions**, size of the vectors to be inserted in the index. (e.g. 1536)
   3. **Embedding Model**, the model to be used in [Upstash Embeddings](https://upstash.com/docs/vector/features/embeddingmodels). This is optional. If you enable it, you don't need to provide embeddings model.

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

## Setup

1. Get your index credentials

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

1. Create new Upstash Vector credential and fill in
   1. Upstash Vector REST URL from UPSTASH\_VECTOR\_REST\_URL on console
   2. Upstash Vector Rest Token from UPSTASH\_VECTOR\_REST\_TOKEN on console

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

1. Add a new **Upstash Vector** node to canvas

<figure><img src="/files/R7KQAsUMswF2wmtRI0FI" alt="" width="279"><figcaption></figcaption></figure>

1. Add additional nodes to canvas and start the upsert process
   * **Document** can be connected with any node under [**Document Loader**](/integrations/langchain/document-loaders.md) category
   * **Embeddings** can be connected with any node under [**Embeddings** ](/integrations/langchain/embeddings.md)category

<figure><img src="/files/6e7PrIUFZRy7inYkAhmc" alt=""><figcaption></figcaption></figure>

1. Verify from [Upstash dashboard](https://console.upstash.com) to see if data has been successfully updated:

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