Pinecone API
Pinecone is a managed vector database service that provides high-performance similarity search capabilities for machine learning applications, enabling developers to build and scale AI-powered search, recommendation, and retrieval systems with ease.
Power AI-ready data operations with Pinecone API and Nexla. Our Pinecone API connector makes it simple to ingest, transform, chunk, and deliver structured or unstructured data to Pinecone API — all without coding. Nexla automatically organizes raw text and documents into reusable data products that you can easily prepare for vector search and retrieval-augmented generation (RAG) using our built-in transforms like agentic chunking and incremental loading. With real-time validation, schema checks, and comprehensive monitoring, Nexla keeps your Pinecone API workflows fast, secure, and fully governed for production AI use cases.
Features
Type: Vector Database
- AI-Ready Data Preparation: Automatically chunk, vectorize, and index data from any source into your vector database for fast, contextually relevant search
- Advanced RAG Integration: Query vector databases to power retrieval-augmented generation workflows with query rewriting, re-ranking, and multi-model orchestration
- Enterprise RAG Framework: Build production-ready RAG applications with built-in access controls, evaluation grading, and NVIDIA NIM hardware acceleration
Prerequisites
Before creating a Pinecone credential, you need to obtain your API key and identify your index host URL from your Pinecone account. Pinecone uses API key authentication for all API requests, with the API key sent in the Api-Key header.
Nexla offers two connectors that can be used with Pinecone databases: the Pinecone API connector documented here, and the Pinecone (Native) connector. The Pinecone API connector offers a streamlined process for rapid creation of Pinecone data sources & destinations, while the native Pinecone connector provides the flexibility to apply dynamic metadata filtering.
To obtain your Pinecone API credentials, follow these steps:
-
Sign in to your Pinecone account, or create a new account at Pinecone.
-
Navigate to your Pinecone dashboard or project settings in the Pinecone interface.
-
Look for the API Keys or API section in your account settings or project dashboard.
-
If you don't have an API key yet, click Create API Key or Generate API Key to create a new API key.
-
Configure your API key settings:
- Enter a name for the API key (e.g., "Nexla Integration")
- Review and select the permissions or scopes for the key (if applicable)
-
Click Create or Generate to create the API key.
-
Copy the API key immediately after it's generated, as it may not be accessible again after you navigate away from the page.
-
Navigate to your Pinecone index page to find your index host URL. The index host URL is typically in the format
https://{index-name}-{project-id}.svc.{environment}.pinecone.ioor similar. You can find this in your Pinecone index settings or on the index details page. -
Store both the API key and index host URL securely, as you will need them to configure your Nexla credential. The API key is sensitive information and should be kept confidential.
The API key is sent in the Api-Key header for all API requests to the Pinecone API. The index host URL determines which Pinecone index your API requests will be sent to. The API key authenticates your requests and grants access to your Pinecone index based on your account permissions. If your API key is compromised, you should immediately revoke it in your Pinecone account settings and generate a new one. For detailed information about obtaining API keys, index host URLs, API authentication, and available endpoints, refer to the Pinecone API documentation.
Authenticate
Credentials required
| Field | Required | Secret | Description |
|---|---|---|---|
| Index Host URL | Yes | No | The host URL for your Pinecone index, it can be found at your index page. |
| Pinecone API Key | Yes | Yes | API Key |
Create a credential in Nexla
- After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
New Credential Overlay – Pinecone API

-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter your Pinecone index host URL in the Index Host URL field. This should be the host URL for your Pinecone index, typically in the format
https://{index-name}-{project-id}.svc.{environment}.pinecone.ioor similar. The index host URL determines which Pinecone index your API requests will be sent to. You can find this on your Pinecone index page. -
Enter your Pinecone API key in the Pinecone API Key field. This is the API key you obtained from your Pinecone account settings (API Keys section). The API key is sent in the
Api-Keyheader for all API requests to the Pinecone API. The API key is sensitive information and must be kept confidential.Your Pinecone API key can be found in your Pinecone account settings under the API Keys section. The API key is sent in the
Api-Keyheader for all API requests to the Pinecone API. The index host URL should match your Pinecone index host URL, which can be found on your Pinecone index page.If your API key is compromised, you should immediately revoke it in your Pinecone account settings and generate a new one. The API key provides access to your Pinecone index data and should be treated as sensitive information. Keep your API key secure and do not share it publicly.
For detailed information about obtaining API keys, index host URLs, API authentication, and available endpoints, see the Pinecone API documentation.
-
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Pinecone API connector tile, then select the credential that will be used to connect to your Pinecone account, and click Next; or, create a new Pinecone API credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Pinecone endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
Pinecone API data sources can also be manually configured to ingest data from any valid Pinecone API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, path to data, and pagination.
Pinecone API typically uses GET for retrieving data and POST for querying vectors. For the Response Data Path, use $.matches[*] to extract all matches from the matches array for query endpoints, or $.vectors[*] to extract all vector IDs from the vectors array for list endpoints, depending on which endpoint you're configuring.
Pinecone API uses token-based pagination with paginationToken for endpoints that support it, such as List Vector IDs. When configuring pagination, set the JSONPath expression to the next token to $.pagination.next and the parameter name to paginationToken.
Once all of the relevant settings have been configured, click the Next button to proceed with the rest of the data flow configuration, or click Save to save the data source configuration for later use.
Use as a destination
Click the + icon on the Nexset that will be sent to the Pinecone destination, and select the Send to Destination option from the menu. Select the Pinecone API connector from the list of available destination connectors, then select the credential that will be used to connect to your Pinecone account, and click Next; or, create a new Pinecone API credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common Pinecone endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Manual configuration
Pinecone API destinations can also be manually configured to send data to any valid Pinecone API endpoint. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, and request body.
Pinecone API typically uses POST for upserting vectors, and expects JSON format for all requests. Configure the request body as {message.json} to send the entire Nexset record as JSON, or construct a custom JSON structure with field names matching the Pinecone API's expected format. For batch operations, format the request body to include a vectors array containing multiple vectors.
Each vector must include an ID, vector values, and optional metadata. For detailed information about request body formats and available vector properties, see the Pinecone API documentation.
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To send the data to the configured Pinecone endpoint, open the destination resource menu, and select Activate.
The Nexset data will not be sent to the Pinecone endpoint until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.