See the .NET SDK documentation for full installation instructions and usage examples.

Install

Ensure that your project is targeting one of the following:

  • .NET Standard 2.0+
  • .NET Core 3.0+
  • .NET Framework 4.6.2+
  • .NET 6.0+

To add the latest version of the .NET SDK to your project, run the following command:

To add a specific version of the .NET SDK to your project, run the following command:

To check your SDK version, run the following command:

Upgrade

If you are already using Pinecone.Client in your project, upgrade to the latest version as follows:

Initialize

Once installed, you can import the SDK and then use an API key to initialize a client instance:

C#
using Pinecone;

var pinecone = new PineconeClient("YOUR_API_KEY");

Was this page helpful?