To help Pinecone associate API activity to your integration, specify a source tag when instantiating clients with Pinecone SDKs, or pass a source tag as part of the User-Agent header when using the API directly.

Pinecone SDKRequired version
Pythonv3.2.1+
Node.jsv2.2.0+
Javav1.0.0+
Gov0.4.1+
# REST client
from pinecone import Pinecone

pc = Pinecone(
    api_key="YOUR_API_KEY", 
    source_tag="YOUR_INTEGRATION"
)

# gRPC client
from pinecone.grpc import PineconeGRPC

pc = PineconeGRPC(
    api_key="YOUR_API_KEY", 
    source_tag="YOUR_INTEGRATION"
)