# Stack AI integration with Make (run Python, Javascript)

**URL:** <https://community.make.com/t/stack-ai-integration-with-make-run-python-javascript/13367>\
**Category:** Questions\
**Created:** [July 18, 2023, 6:37pm UTC](https://community.make.com/t/stack-ai-integration-with-make-run-python-javascript/13367 "2023-07-18T18:37:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![John2](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@John2](https://community.make.com/u/John2)\
**Post date:** [July 18, 2023, 6:37pm UTC](https://community.make.com/t/stack-ai-integration-with-make-run-python-javascript/13367/1 "2023-07-18T18:37:35Z")

</div>

Hi,

I am setting up a Telegram Bot.

At one point in the scenario, I need to make an API call to Stack AI.

When I make that API call, I use a previous input message (ex: hi, how are you), and Stack AI is supposed to provide me with an AI generated response.

Up until this point, I have been able to set up other API Calls successfully using the HTTP module. However, Stack AI only gives me Python or Javascript code as an option.

 ![Screen Shot 2023-07-18 at 2.29.02 PM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/7/78913263490c1625c071302169d6af704a826136.png)

They have easy instructions for setting it up with Zapier ([Integrating with Zapier | Stack AI](https://docs.stack-ai.com/stack-ai/deployer-guide/integrating-with-zapier)) using the Python Code module, but I don’t see something similar for [Make.com](http://Make.com).

I’ve tried HTTP modules and JSCode modules and still can’t get the thing to run properly.

My main questions are:  
-What module would be the best to use with this type of thing? (and also cheap to run)  
-Am I correct in my assumption that HTTP won’t work, and I need a specific Python or Javascript module to run this?  
-Do I need to run two separate instances (POST for the input, GET for the output) or can this process all be done in one single module?

Thank you!

---

<div class="post-metadata">

**Author:** ![Thomas\_Gaillard](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@Thomas\_Gaillard](https://community.make.com/u/Thomas_Gaillard)\
**Post date:** [July 19, 2023, 2:22am UTC](https://community.make.com/t/stack-ai-integration-with-make-run-python-javascript/13367/2 "2023-07-19T02:22:05Z")

</div>

Hi John,

On my side I am able to make a successful call to Stack AI with a single HTTP module, but maybe it depends on the model:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/7/7af9cfea22f3fc68b260b3973efde4ddbd29fa73.jpeg)

Could you click the “cURL” button in Stack AI? This should help understand what input is needed in the request.

Thank you

---

<div class="post-metadata">

**Author:** ![John2](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@John2](https://community.make.com/u/John2)\
**Post date:** [July 19, 2023, 4:09pm UTC](https://community.make.com/t/stack-ai-integration-with-make-run-python-javascript/13367/4 "2023-07-19T16:09:51Z")

</div>

Ok this is a bit embarrassing.

I had to upgrade my Stack AI plan to Paid to actually Deploy the model. lol Thanks for the help.

Output is working now:

 ![Screen Shot 2023-07-19 at 12.09.03 PM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/c/c9b4b1843c8172be319b0125d159d7f44342ca77.png)

---

<div class="post-metadata">

**Author:** ![vendy](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/vendy/32/12635_2.png) [@vendy](https://community.make.com/u/vendy)\
**Post date:** [July 20, 2023, 6:48am UTC](https://community.make.com/t/stack-ai-integration-with-make-run-python-javascript/13367/5 "2023-07-20T06:48:42Z")

</div>

Hey @John2 and welcome to the community 👋

we’re stoked to see that you were able to come up with a solution by yourself! There’s no need to feel embarrassed about that after all you are making progress by learning how to work with the product.

Thank you very much for keeping the community in mind and coming back to us with you solution. 🙏

---

<div class="post-metadata">

**Author:** ![FAQs](https://avatars.discourse-cdn.com/v4/letter/f/eb8c5e/32.png) [@FAQs](https://community.make.com/u/FAQs)\
**Post date:** [August 2, 2023, 11:00pm UTC](https://community.make.com/t/stack-ai-integration-with-make-run-python-javascript/13367/6 "2023-08-02T23:00:17Z")

</div>


