> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-docs-landing-rework.mintlify.site/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-docs-landing-rework/Z3e6H4VEhu5dkYCs/img/vector/integrations/langflow/final-workflow.png?fit=max&auto=format&n=Z3e6H4VEhu5dkYCs&q=85&s=997c1ea45b467784c0ce8bfeaede3635" 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={null}
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-docs-landing-rework/Z3e6H4VEhu5dkYCs/img/vector/integrations/langflow/insert-workflow.png?fit=max&auto=format&n=Z3e6H4VEhu5dkYCs&q=85&s=3ceedd30c497dd0387d5353eb21f9142" 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-docs-landing-rework/Z3e6H4VEhu5dkYCs/img/vector/integrations/langflow/final-workflow.png?fit=max&auto=format&n=Z3e6H4VEhu5dkYCs&q=85&s=997c1ea45b467784c0ce8bfeaede3635" 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).
