Pinecone clients
Official Pinecone clients provide convenient access to the Pinecone REST API.
Python client
Install
To install the newest version of the Python client, run the following command:
If you already have the Python client, run the following command:
To check your client version, run the following command:
Initialize
Once installed, you can import the library and then use an API key to initialize a client instance:
When creating an index, import the ServerlessSpec
or PodSpec
class as well:
Node.js client
Install
To install the newest version of the Node.js client, written in TypeScript, run the following command:
If you already have the Node.js client, run the following command:
To check your client version, run the following command:
Initialize
Once installed, you can import the library and then use an API key to initialize a client instance:
Was this page helpful?