# OpenAI tools in thunkable?

**URL:** <https://community.thunkable.com/t/openai-tools-in-thunkable/3107778>\
**Category:** Questions about Thunkable X\
**Tags:** ai\
**Created:** [July 21, 2024, 8:46pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778 "2024-07-21T20:46:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruhaan.j140u](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@ruhaan.j140u](https://community.thunkable.com/u/ruhaan.j140u)\
**Post date:** [July 21, 2024, 8:46pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/1 "2024-07-21T20:46:23Z")

</div>

do you need a gpt 4 api key for the ai tools?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [July 23, 2024, 4:21pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/2 "2024-07-23T16:21:45Z")

</div>

Hello @ruhaan.j140u  
Welcome to the community  
The Open AI blocks we have don’t use the GPT 4. You can use a regular Open AI API key.  
If you need GPT 4 you can check this post here: [GPT-4o vision capability - Questions about Thunkable / Web API’s - Community](https://community.thunkable.com/t/gpt-4o-vision-capability/3099145)

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 23, 2024, 4:24pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/3 "2024-07-23T16:24:03Z")

</div>

Hi thank you I am using the regular api key for image generation it is not working

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [July 23, 2024, 4:56pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/4 "2024-07-23T16:56:45Z")

</div>

Hello @shriti.shahsi6  
Do you receive any errors?  
Could you please share the specific project URL with us so we can investigate it further?

![](https://downloads.intercomcdn.com/i/o/759644115/d4a89684a0bda74ab75c59e6/Screenshot+2023-06-08+at+4.13.55+PM.png)

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 23, 2024, 5:16pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/5 "2024-07-23T17:16:41Z")

</div>

yes [Thunkable](https://x.thunkable.com/copy/3830a477243bb5dd78be8c9cd1e262bc)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [July 23, 2024, 5:36pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/6 "2024-07-23T17:36:06Z")

</div>

Hello @shriti.shahsi6  
Thank you for sharing your project  
The issue is the API key.  
To generate a personal Open AI API key the steps are:

1. Navigate to [https://openai.com/api/](https://openai.com/api/)
2. Click **Sign Up**.
3. On the Overview page, click your avatar to show the menu and select **View API Keys**.
4. Select **Create new secret key**.
5. Copy the secret key that is provided in the popup window. You will need to paste this into your Thunkable project.

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 23, 2024, 6:00pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/7 "2024-07-23T18:00:28Z")

</div>

I have done this for the secret key in the project. Do you need to buy gpt4 for this? And i clicked the [https://openai.com/api/](https://openai.com/api/) that link brings me somewhere else

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [July 23, 2024, 6:58pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/8 "2024-07-23T18:58:36Z")

</div>

Hi @shriti.shahsi6  
On the project you shared, you where adding a URL.  
API key is not a URL  
You can find it here: [https://platform.openai.com/settings/profile?tab=api-keys](https://platform.openai.com/settings/profile?tab=api-keys)

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 23, 2024, 7:20pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/9 "2024-07-23T19:20:35Z")

</div>

Thank you, When I preview it this error message is showing up BLE functionality can’t be tested with the [Thunkable Live](https://docs.thunkable.com/get-started/live-test) app on iOS.  
To test the BLE functionality in your app on iOS, please [download](https://docs.thunkable.com/download#download-and-install-ios-app) your app.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [July 23, 2024, 7:36pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/10 "2024-07-23T19:36:38Z")

</div>

@shriti.shahsi6 In the advanced block drawer, a BLE component has been added to your app. If your app is not intending to use BLE, you’ll want to remove the component (click on the gear icon and the click the delete button when the BLE modal is visible) or yes, you’ll see this message. BLE cannot be tested on iOS via the Thunkable Live app.  
 ![Screenshot 2024-07-23 at 3.34.29 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/c/bc0d5880ff01aef9867d32fc232b9810bcc54265.png)

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 23, 2024, 8:58pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/11 "2024-07-23T20:58:16Z")

</div>

Thank you for that catch. When I test it it still isn’t generating the image or the text

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [July 23, 2024, 9:29pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/12 "2024-07-23T21:29:01Z")

</div>

An Open AI API key will be an alphanumeric string. The API key set in the project linked a few replies ago is set as a URL starting with https://. Remove the https:// and it should work.

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 23, 2024, 10:11pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/13 "2024-07-23T22:11:23Z")

</div>

its not. could you fix the project and preview it and get back to me?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [July 24, 2024, 12:18pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/14 "2024-07-24T12:18:59Z")

</div>

Hello @shriti.shahsi6  
Unfortunately, we can’t do it for you. You have to generate and set your own API key

---

<div class="post-metadata">

**Author:** ![ruhaan.j140u](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@ruhaan.j140u](https://community.thunkable.com/u/ruhaan.j140u)\
**Post date:** [July 24, 2024, 1:22pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/15 "2024-07-24T13:22:05Z")

</div>

Could you at least check it and preview it?

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 24, 2024, 1:28pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/16 "2024-07-24T13:28:22Z")

</div>

Yes that’s what im asking

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 24, 2024, 1:28pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/17 "2024-07-24T13:28:47Z")

</div>

it is ok can you just check it?

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 24, 2024, 4:48pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/19 "2024-07-24T16:48:29Z")

</div>

hello @ioannis is this topic closed on your side

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [July 24, 2024, 5:22pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/20 "2024-07-24T17:22:28Z")

</div>

Hello @shriti.shahsi6  
After reviewing your project, I have identified the potential root cause issue and shared it with you.

---

<div class="post-metadata">

**Author:** ![shriti.shahsi6](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shriti.shahsi6](https://community.thunkable.com/u/shriti.shahsi6)\
**Post date:** [July 24, 2024, 5:24pm UTC](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778/21 "2024-07-24T17:24:40Z")

</div>

where have you shared it?

[Next page](https://community.thunkable.com/t/openai-tools-in-thunkable/3107778.md?page=2)
