Rasa connecting to a custom ui

You can use one of these channels https://rasa.com/docs/core/connectors/#rest-channels