> For the complete documentation index, see [llms.txt](https://tailwindsdocs.innovativesol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailwindsdocs.innovativesol.com/readme/chatflows/llamaindex/vector-stores/pinecone.md).

# Pinecone

## Prerequisite

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

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

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

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

4. Click **Create Index**

## Setup

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

<figure><img src="/files/wzODPtVThj84rEhofH9u" 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/tft1ssPAhrfnVbEDbUaK" alt="" width="301"><figcaption><p>Pinecone Node</p></figcaption></figure>

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

<figure><img src="/files/f77ioXkl0Vih8kJy6kGn" 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**](/readme/chatflows/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/DX9GKFVaviCMX4iBs5rs" alt=""><figcaption></figcaption></figure>

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

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

<figure><img src="/files/EGpp7Nw7FkGEnNUbRAU3" 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://tailwindsdocs.innovativesol.com/readme/chatflows/llamaindex/vector-stores/pinecone.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.
