# How to set the OpenAI API Key in the header of Weaviate Cloud Console?

**URL:** https://forum.weaviate.io/t/how-to-set-the-openai-api-key-in-the-header-of-weaviate-cloud-console/109
**Category:** Support
**Created:** [May 31, 2023, 10:35am UTC](https://forum.weaviate.io/t/how-to-set-the-openai-api-key-in-the-header-of-weaviate-cloud-console/109 "2023-05-31T10:35:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![noovil](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/noovil/32/106_2.png) [@noovil](https://forum.weaviate.io/u/noovil)
#### Post date: [May 31, 2023, 10:35am UTC](https://forum.weaviate.io/t/how-to-set-the-openai-api-key-in-the-header-of-weaviate-cloud-console/109/1 "2023-05-31T10:35:30Z")

</div>

Hi, I’m querying the db from Weaviate Cloud Console, how do I set the OpenAI API Key in the header?

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/weaviate/original/1X/cf9beaa4f5d3bb7cc52d1ebe01daf9f761a7d944.png)

---

<div class="post-metadata">

### Author: ![noovil](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/noovil/32/106_2.png) [@noovil](https://forum.weaviate.io/u/noovil)
#### Post date: [May 31, 2023, 10:36am UTC](https://forum.weaviate.io/t/how-to-set-the-openai-api-key-in-the-header-of-weaviate-cloud-console/109/2 "2023-05-31T10:36:11Z")

</div>

Got the solution: [GraphQL console | Weaviate - vector database](https://weaviate.io/developers/wcs/guides/console#inference-keys)

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/weaviate/original/1X/b88b539de80f7d584a9fa0583de6471043a1aa1a.png)
