# Source: https://docs.squared.ai/guides/destinations/retl-destinations/database/pinecone_db.md

# Source: https://docs.squared.ai/activation/vector-search/pinecone_db.md

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

# Pinecone

## Connect AI Squared to Pinecone

This guide will help you configure the PineconeDB Connector in AI Squared to access and transfer data from your Pinecone database.

### Prerequisites

Before proceeding, ensure you have the required API key, region, index name, and namespace from your Pinecone database.

## Step-by-Step Guide to Connect to your Pinecone Database

## Step 1: Navigate to Pinecone Database

Start by logging into your Pinecone Console.

1. Sign in to your Pinecone account at [Pinecone Console](https://app.pinecone.io/).

## Step 2: Locate Pinecone Configuration Details

Once you're in the Pinecone console, you'll find the necessary configuration details:

1. **API Key:**
   * Click the API Keys tab on the left side the Pinecone Console.
   * If you haven't created an API key before, click on "Create API key" to generate a new one. Make sure to copy the API Key as they are shown only once.
     <Frame>
       <img src="https://res.cloudinary.com/dspflukeu/image/upload/v1746239791/Multiwoven/connectors/Pinecone/Pinecone_API_Key_qmdap5.png" />
     </Frame>

2. **Region, Index Name, and Namespace:**
   * Click on the Database tab then Indexes to see your list of Indexes.
   * Click on your selected Index.
   * The following details, region, index name, namespace will be shown on this page.
     <Frame>
       <img src="https://res.cloudinary.com/dspflukeu/image/upload/v1746239791/Multiwoven/connectors/Pinecone/Pinecone_Index_t2lhyx.png" />
     </Frame>

## Step 3: Configure PineconeDB Connector in Your Application

Now that you have gathered all the necessary details, enter the following information in your application:

* **API Key:** The authentication key used to access your Pinecone project securely.
* **Region:** The region where your Pinecone index is hosted.
* **Index Name:** The name of the Pinecone index where your namespaces are stored.
* **Namespace:** The name of the Pinecone namespace where your vectors will be stored or queried.

## Step 4: Test the PineconeDB Connection

After configuring the connector in your application:

1. Save the configuration settings.
2. Test the connection to Pinecone database from your application to ensure everything is set up correctly.
3. Run a test query or check the connection status to verify successful connectivity.

Your PineconeDB connector is now configured and ready to query data from your Pinecone database.

This guide will help you seamlessly connect your AI Squared application to Pinecone Database, enabling you to leverage your database's full potential.