https://discord.gg/botpress logo
I have installed the OpenAI integration
# 💻developers
b
I have installed the OpenAI integration (v16.0.0) in my Botpress Cloud workspace, but I don’t see any field to enter my API Key. Here’s what I did: I installed the OpenAI integration from the Hub. The integration shows as enabled, but the configuration screen only has a webhook URL and "Save Configuration". There is no input field for the API key (see attached screenshot). Because of this, I cannot finish the setup and connect my OpenAI account. I have already created a valid API key in the OpenAI dashboard. Could you please advise how I can enable the API key configuration? Is there an update or setting I need to apply? https://cdn.discordapp.com/attachments/1121494527727902891/1417568290292895844/content.png?ex=68d4d819&is=68d38699&hm=53425d1d3c9a1ab0f92a012978d3a9745d1a06d93232debbe3325f8bc2ef2c18&
w
hi @breezy-account-98643 , In Botpress you can use different models with the Hub extension and pay for AI via [Botpress AI credits](https://botpress.com/docs/learn/get-started/dashboard/workspace/usage#ai-spend) at the same cost as the provider. Botpress uses its own API key for its cards — autonomous nodes and [AI cards](https://botpress.com/docs/learn/reference/cards/ai/introduction) — even when you select a specific provider card . All "Generate Content" cards have a field for a variable where the result is saved. In the picture, you can see my OpenAI Generate Content settings. At the bottom of the settings you can either choose an existing variable or type a new variable name to create it in workflow [scope](https://botpress.com/docs/learn/reference/variables/overview#variable-scopes). https://cdn.discordapp.com/attachments/1417568290628174016/1420415935155798017/image.png?ex=68d550ec&is=68d3ff6c&hm=aa9a568553f73d88cf7e361c57f15c59cf8ab5d89bd40fe123c97691b4e626c1&
Another solution is use [your own LLM](https://botpress.com/docs/for-developers/sdk/integration/use-your-own-llm#use-your-own-llm), you need the Enterprise plan😔