Google assistant

Hi guys. So i was able to set up the rasa google assistant project and now i can communicate with it using google console test.However i’m trying to use google assistant via a web app. The web app works fine with text but how do i use it with google assistant? When i send text to port 5004 on ngrok i get 200 OK which means its working but how do i send voice and get response on the web?