# How can I connect OpenAi's Api to Thunkable

**URL:** <https://community.thunkable.com/t/how-can-i-connect-openais-api-to-thunkable/2240424>\
**Category:** Web API's\
**Created:** [January 25, 2023, 10:46am UTC](https://community.thunkable.com/t/how-can-i-connect-openais-api-to-thunkable/2240424 "2023-01-25T10:46:03Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [January 28, 2023, 2:14am UTC](https://community.thunkable.com/t/how-can-i-connect-openais-api-to-thunkable/2240424/16 "2023-01-28T02:14:58Z")

</div>

you can also start reading this post by @matt_conroy,describing how to connect to openai:

> [@OpenAI ChatGPT Now Available in Thunkable with Our New Integration](https://community.thunkable.com/t/openai-chatgpt-now-available-in-thunkable-with-our-new-integration/2209360):
>
> Hey Thunkers! We’ve just introduced a new integration with OpenAI’s ChatGPT model. It’s very easy to use and add into your own apps! Take a look at our latest blog post below and let us know what you think! We’d love it if you could share some of the apps you create using ChatGPT. I’ve created a demo app [here](https://x.thunkable.com/projectPage/63b47ece8af02c021ac5e2c4) that you are welcome to remix and play around with. We also have a new set of [docs](https://docs.thunkable.com/openai-chatgpt-integration) on how to use Chat GPT.

read the thread from top to bottom, also read the link above for details.  
i posted a working model based on this discussion here:

> [@OpenAI ChatGPT Now Available in Thunkable with Our New Integration](https://community.thunkable.com/t/openai-chatgpt-now-available-in-thunkable-with-our-new-integration/2209360/14):
>
> it’s nice to know that we can connect to openAI via a thunkable block designed for that purpose. first i asked “Tell me, in a poem, why python rocks” and it came back with this: it seemed to have problems in handling newlines (\n) though, so i split the returned response by hand: Python’s great for all your coding needs It’s easy to learn and a great tool to please It’s open source, and it’s ever so flexible And it’s got a huge library to explore and collect Python’s great for …

---

_[View the full topic](https://community.thunkable.com/t/how-can-i-connect-openais-api-to-thunkable/2240424)._
