Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Attribute usage to your integration

Attribute Pinecone SDK and REST usage to your integration with source tags and User-Agent values so support and analytics can trace traffic to your product.

Once you have created your integration with Pinecone, 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.

Your source tag must follow these conventions:

  • Clearly identify your integration.
  • Use only lowercase letters, numbers, underscores, and colons.

For example, for an integration called "New Framework", "new_framework" is valid, but "new framework" and "New_framework" aren't valid.

Pinecone SDK Required version
Python v3.2.1+
Node.js v2.2.0+
Java v1.0.0+
Go v0.4.1+
Python
# REST client
from pinecone import Pinecone

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

# gRPC client
from pinecone.grpc import PineconeGRPC

pc = PineconeGRPC(
    api_key="YOUR_API_KEY", 
    source_tag="YOUR_SOURCE_TAG"
)
JavaScript
import { Pinecone } from '@pinecone-database/pinecone';

const pc = new Pinecone({ 
    apiKey: 'YOUR_API_KEY', 
    sourceTag: 'YOUR_SOURCE_TAG' 
});
Java
import io.pinecone.clients.Pinecone;

public class IntegrationExample {
    public static void main(String[] args) {
        Pinecone pc = new Pinecone.Builder("YOUR_API_KEY")
                .withSourceTag("YOUR_SOURCE_TAG")
                .build();
    }
}
Go
import "github.com/pinecone-io/go-pinecone/v4/pinecone"

client, err := pinecone.NewClient(pinecone.NewClientParams{
	ApiKey: "YOUR_API_KEY",
	SourceTag: "YOUR_SOURCE_TAG",
})
curl
curl -i -X GET "https://api.pinecone.io/indexes" \
  -H "Accept: application/json" \
  -H "Api-Key: YOUR_API_KEY" \
  -H "User-Agent: source_tag=YOUR_SOURCE_TAG" \
  -H "X-Pinecone-Api-Version: 2025-10"
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu