# Integrating RASA server with Python app

**URL:** <https://forum.rasa.com/t/integrating-rasa-server-with-python-app/25432>\
**Category:** Rasa Open Source\
**Created:** [February 29, 2020, 11:55am UTC](https://forum.rasa.com/t/integrating-rasa-server-with-python-app/25432 "2020-02-29T11:55:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![taimoor-ahmed](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/taimoor-ahmed/32/4108_2.png) [@taimoor-ahmed](https://forum.rasa.com/u/taimoor-ahmed)\
**Post date:** [February 29, 2020, 11:55am UTC](https://forum.rasa.com/t/integrating-rasa-server-with-python-app/25432/1 "2020-02-29T11:55:52Z")

</div>

Hi, I was trying to write a python script to communicate with my rasa chatbot. I am using requests library to send a post request. However, I do not know the url and the payload format. I ran the rasa server using the following command:

> rasa run actions

Any help would be appreciated. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [February 29, 2020, 12:42pm UTC](https://forum.rasa.com/t/integrating-rasa-server-with-python-app/25432/2 "2020-02-29T12:42:09Z")

</div>

Hey @taimoor-ahmed, you can get the endpoint details here:

> **[Your Own Website](https://rasa.com/docs/rasa/connectors/your-own-website/)**
>
> Deploy and Run a Rasa Chat Bot on a Website

---

<div class="post-metadata">

**Author:** ![SUMANA](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@SUMANA](https://forum.rasa.com/u/SUMANA)\
**Post date:** [May 2, 2022, 4:49am UTC](https://forum.rasa.com/t/integrating-rasa-server-with-python-app/25432/3 "2022-05-02T04:49:29Z")

</div>

Hi, I have almost same question. How can I integrate RASA with Python code? In elaboration, in the integration, the RASA command will be used as an input in the python code.

Any help will be highly appreciated.

---

<div class="post-metadata">

**Author:** ![anoopshrma](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anoopshrma/32/13349_2.png) [@anoopshrma](https://forum.rasa.com/u/anoopshrma)\
**Post date:** [May 2, 2022, 12:27pm UTC](https://forum.rasa.com/t/integrating-rasa-server-with-python-app/25432/4 "2022-05-02T12:27:03Z")

</div>

Hi @SUMANA  
You mean you want to know how to interact with rasa server via python?

---

<div class="post-metadata">

**Author:** ![SUMANA](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@SUMANA](https://forum.rasa.com/u/SUMANA)\
**Post date:** [May 3, 2022, 12:57am UTC](https://forum.rasa.com/t/integrating-rasa-server-with-python-app/25432/5 "2022-05-03T00:57:14Z")

</div>

Hi @anoopshrmaMy Rasa server is up and running in the python environment. My concern is, how can I use the rasa command as an input for an algorithm. Such as there is an optimization algorithm (python code). I want to run the code after getting the input from rasa (Interfacing rasa with another python code that is not related to rasa)
