> ## Documentation Index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Langflow with Upstash Vector

Langflow provides an intuitive, visual interface to design LLM workflows. You can seamlessly integrate Upstash Vector into your Langflow projects to enable vector-based semantic search and context retrieval.

<Frame>
  <img src="https://mintcdn.com/upstash/EFJsv57gEAWfBXNv/img/vector/integrations/langflow/final-workflow.png?fit=max&auto=format&n=EFJsv57gEAWfBXNv&q=85&s=ea87c9c85e8f1056936977926f733bfa" width="3010" height="938" data-path="img/vector/integrations/langflow/final-workflow.png" />
</Frame>

## Install

To get started, install Langflow and Upstash Vector locally or use the Langflow dashboard from [DataStax](https://www.datastax.com/products/langflow). For local installation, run:

```bash theme={"system"}
pip install langflow upstash-vector
```

## Usage

### Creating an Upstash Vector Index

Visit the [Upstash Console](https://console.upstash.com/vector) to create a vector index. To learn more about index creation, you can check out [this page](https://docs.upstash.com/vector/overall/getstarted).

### Adding Upstash Vector to Langflow

In Langflow, you can integrate Upstash Vector for document indexing and semantic search. Use the following steps:

1. Create a workflow with the **File**, **Split**, and **Upstash** components to process and store documents in the Upstash Vector index.
2. Perform a vector search by connecting the **Upstash** component to your query input.

<Frame>
  <img src="https://mintcdn.com/upstash/EFJsv57gEAWfBXNv/img/vector/integrations/langflow/insert-workflow.png?fit=max&auto=format&n=EFJsv57gEAWfBXNv&q=85&s=a4bc2af35c8ad7c2108ea300dd8c4b43" width="2228" height="1308" data-path="img/vector/integrations/langflow/insert-workflow.png" />
</Frame>

### Example Workflow

Enhance your chatbot by combining Langflow’s OpenAI integration with Upstash Vector. Create a RAG workflow to retrieve relevant context from your index and use it to answer user queries.

<Frame>
  <img src="https://mintcdn.com/upstash/EFJsv57gEAWfBXNv/img/vector/integrations/langflow/final-workflow.png?fit=max&auto=format&n=EFJsv57gEAWfBXNv&q=85&s=ea87c9c85e8f1056936977926f733bfa" width="3010" height="938" data-path="img/vector/integrations/langflow/final-workflow.png" />
</Frame>

## Learn More

For a detailed guide on building a RAG chatbot with Langflow and Upstash Vector, check out this [blog post](https://upstash.com/blog/langflow-upstash-vector).
