# Raise PineconeConfigurationError: You haven't specified an Api-Key

**URL:** https://community.pinecone.io/t/raise-pineconeconfigurationerror-you-havent-specified-an-api-key/6548
**Category:** Support
**Tags:** embeddings
**Created:** [September 10, 2024, 6:49pm UTC](https://community.pinecone.io/t/raise-pineconeconfigurationerror-you-havent-specified-an-api-key/6548 "2024-09-10T18:49:37Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ZacharyProser](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/zacharyproser/32/1146_2.png) [@ZacharyProser](https://community.pinecone.io/u/ZacharyProser)
#### Post date: [September 11, 2024, 3:16pm UTC](https://community.pinecone.io/t/raise-pineconeconfigurationerror-you-havent-specified-an-api-key/6548/2 "2024-09-11T15:16:33Z")

</div>

Hi @krroopeshbharatwaj1 and thanks for your question!

Please have a look at [our official guide for using LangChain with Pinecone](https://docs.pinecone.io/integrations/langchain).

Most of the time when users report this issue, they need to create an environment variable named `PINECONE_API_KEY` that contains their API key from [https://app.pinecone.io](https://app.pinecone.io).

The LangChain library wraps Pinecone’s client, so is expecting that env var by default.

Hope this helps!

Best,  
Zack

---

_[View the full topic](https://community.pinecone.io/t/raise-pineconeconfigurationerror-you-havent-specified-an-api-key/6548)._
