# Pinecone

## Prerequisite

1. Register an account for [Pinecone](https://app.pinecone.io/)
2. Click **Create index**

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

3. Fill in required fields:
   * **Index Name**, name of the index to be created. (e.g. "flowise-test")
   * **Dimensions**, size of the vectors to be inserted in the index. (e.g. 1536)

<figure><img src="/files/sBO7qYeSlwyrTN0i7EpP" alt="" width="527"><figcaption></figcaption></figure>

4. Click **Create Index**

## Setup

1. Get/Create your **API Key**

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

2. Add a new **Pinecone** node to canvas and fill in the parameters:
   * Pinecone Index
   * Pinecone namespace (optional)

<figure><img src="/files/m91K8CHtmiWN42v8kjIC" alt="" width="301"><figcaption><p>Pinecone Node</p></figcaption></figure>

3. Create new Pinecone credential -> Fill in **API Key**

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

4. 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

     <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Document loaders and text splitters for LlamaIndex are not yet available, but using one of the ones available under LangChain will still allow querying with LlamaIndex as normal.</p></div>

\- \*\*Embeddings\*\* can be connected with any node under \[\*\*Embeddings\*\* ]\(../embeddings/)category

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

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

5. Verify on [Pinecone dashboard](https://app.pinecone.io) that data has been successfully upserted:

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


---

# Agent Instructions: 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:

```
GET https://docs.flowiseai.com/integrations/llamaindex/vector-stores/pinecone.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
