# Looking to integrate ChatGPT

**URL:** <https://community.hubspot.com/t/looking-to-integrate-chatgpt/108986>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [June 8, 2024, 6:13pm UTC](https://community.hubspot.com/t/looking-to-integrate-chatgpt/108986 "2024-06-08T18:13:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IManji](https://avatars.discourse-cdn.com/v4/letter/i/278dde/32.png) [@IManji](https://community.hubspot.com/u/IManji)\
**Post date:** [June 8, 2024, 6:13pm UTC](https://community.hubspot.com/t/looking-to-integrate-chatgpt/108986/1 "2024-06-08T18:13:27Z")

</div>

Good aftenroon! I am looking to integrate chatGPT into my blogs in order to allow readers to interact real time. Has anyone had any success or have any insight on the best way to do this?

---

<div class="post-metadata">

**Author:** ![daveroma](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/daveroma/32/82727_2.png) [@daveroma](https://community.hubspot.com/u/daveroma)\
**Post date:** [June 10, 2024, 2:07pm UTC](https://community.hubspot.com/t/looking-to-integrate-chatgpt/108986/2 "2024-06-10T14:07:52Z")

</div>

I’ve integrated [OpenAI API](https://platform.openai.com/) calls into a HubSpot chat window using [custom coded actions](https://knowledge.hubspot.com/chatflows/a-guide-to-bot-actions), effectively turning the HubSpot chat window into a portal to OpenAI. You could do something like that but would need a good dev, as well as Ops Hub Pro/Enterprise to access the chatbot “coded snippets” feature.  
Another approach is to have a dev build a custom blog post [module](https://developers.hubspot.com/docs/cms/guides/getting-started-with-modules) that facilitates the interactions you’re looking for: receiving user input, interacting with OpenAI’s API, returning responses to the UI, etc.  
Both approaches may be relatively labor intensive, but will also be very awesome.
