Hi Pratham,
There are APIs published by RASA, maybe you can consume them, and using REST integrations
you can integrate Chatbot in Mendix.
You can visit the link below to know more about the same.
https://robocorp.com/portal/tutorial/rasa-chatbot
Hope it helps!
Please mark the answer as accepted, if it helped in anyway.. :)