# Connecting Poe.com API with Cursor to access ChatGPT

**URL:** <https://forum.cursor.com/t/connecting-poe-com-api-with-cursor-to-access-chatgpt/104047>\
**Category:** Help\
**Created:** [June 15, 2025, 3:35pm UTC](https://forum.cursor.com/t/connecting-poe-com-api-with-cursor-to-access-chatgpt/104047 "2025-06-15T15:35:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![CharlesGithinji](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/charlesgithinji/32/63856_2.png) [@CharlesGithinji](https://forum.cursor.com/u/CharlesGithinji)\
**Post date:** [June 15, 2025, 3:35pm UTC](https://forum.cursor.com/t/connecting-poe-com-api-with-cursor-to-access-chatgpt/104047/1 "2025-06-15T15:35:57Z")

</div>

I am based in Hong Kong and there is no access to sadly OpenaI is not compatible however we have [Poe.com](http://Poe.com) which provides access to Chatgpt and other LLMs.

I am trying to connect Cursor to the [Poe.com](http://Poe.com) API from what I have read I need to create a middleware which I have and gone through the steps however it is still not working. I have tried so many different things but I feel I need an expert in this area.

Would anyone be able to help me with this? Happy to jump on a call to discuss further.

Kind regards,  
CG

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [June 15, 2025, 4:47pm UTC](https://forum.cursor.com/t/connecting-poe-com-api-with-cursor-to-access-chatgpt/104047/2 "2025-06-15T16:47:44Z")

</div>

Hey, I totally understand your situation. Indeed, [Poe.com](http://Poe.com) provides access to LLMs like ChatGPT, but unfortunately, they don’t offer an official API for integration with external tools like Cursor. Their API is specifically designed for building bots that run _within_ the Poe platform itself.

Using unofficial wrappers (like `poe-api-wrapper`) can violate Poe’s terms of service and is often unstable and difficult to maintain. These solutions can break at any time, especially if Poe makes changes to their internal system.

However, there’s a much simpler and more reliable alternative — [OpenRouter](https://openrouter.ai). It’s a platform that gives access to many popular LLMs (ChatGPT, Claude, Gemini, etc.) through a unified API. Cursor integration works reasonably well with it, and getting an API key is quick and free (there are even some free models available). As far as I know, it’s accessible from Hong Kong too.

If you’re interested, I’d be happy to help you set up the integration with OpenRouter.

---

<div class="post-metadata">

**Author:** ![normalnormie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/normalnormie/32/18258_2.png) [@normalnormie](https://forum.cursor.com/u/normalnormie)\
**Post date:** [June 15, 2025, 6:03pm UTC](https://forum.cursor.com/t/connecting-poe-com-api-with-cursor-to-access-chatgpt/104047/3 "2025-06-15T18:03:00Z")

</div>

“Code Web Chat” in vscode marketplace is the middleware you’re looking for but it doesn’t seem to support Poe, still an excellent starting point

---

<div class="post-metadata">

**Author:** ![CharlesGithinji](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/charlesgithinji/32/63856_2.png) [@CharlesGithinji](https://forum.cursor.com/u/CharlesGithinji)\
**Post date:** [June 16, 2025, 1:45am UTC](https://forum.cursor.com/t/connecting-poe-com-api-with-cursor-to-access-chatgpt/104047/4 "2025-06-16T01:45:33Z")

</div>

Hi Deanrie,

This sounds amazing. I just checked online and it seem OpenRouter can work in Hong Kong, at least for now. Yes please can you help me set up the integration.

Would you like to jump on a call or what is the best way to do this? I have spent so majority of my cursor requests trying to figure out the [Poe.com](http://Poe.com) API to no luck. Really appreciate your help.

---

<div class="post-metadata">

**Author:** ![CharlesGithinji](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/charlesgithinji/32/63856_2.png) [@CharlesGithinji](https://forum.cursor.com/u/CharlesGithinji)\
**Post date:** [June 16, 2025, 1:46am UTC](https://forum.cursor.com/t/connecting-poe-com-api-with-cursor-to-access-chatgpt/104047/5 "2025-06-16T01:46:18Z")

</div>

Ahh I see. Good to know but shame it doesn’t seem to work with Poe.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [June 16, 2025, 8:16am UTC](https://forum.cursor.com/t/connecting-poe-com-api-with-cursor-to-access-chatgpt/104047/6 "2025-06-16T08:16:32Z")

</div>

First, you need to get your API key, then override the base URL in the OpenAI API settings, choose the model you need, copy its name, and add it to the list of models. That’s it.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/f/bff57a089b0c8de612c76bde3a044c84afe8d38d.png)

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/d/2/d282cb446b1131e13bed3e1c8ffc63a2c01680e7.jpeg)

---

<div class="post-metadata">

**Author:** ![CharlesGithinji](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/charlesgithinji/32/63856_2.png) [@CharlesGithinji](https://forum.cursor.com/u/CharlesGithinji)\
**Post date:** [June 16, 2025, 9:33am UTC](https://forum.cursor.com/t/connecting-poe-com-api-with-cursor-to-access-chatgpt/104047/7 "2025-06-16T09:33:50Z")

</div>

Thank you so much deanrie, you star. Up and running now. Taken me days trying to figure this out, so really appreciate it.
