Access Agent Rest API from a Rasa Enterprise instance

Hello Team!.

I was wondering how can I access an agents API from an agent that was deployed (model uploaded) using Rasa X (Enterprise). Is there a way to do that?

My idea is to deploy my agent and the custom actions server using Rasa X (I’ve already done it this way), but now I would like to be able to interact with the agent from a custom frontend (using your widget defined here).

Can you walk me through the process of doing this? Thanks.