You find the option to track via voice recognition on your keyboard in the app. The option is marked with the icon of a microphone.
Depending on the phone model you can either use the standard keyboard, in the case of some phone models who do not support all languages you need to switch the keyboard and use the Google option instead.
Please find more information here: https://support.google.com/gboard/answer/2781851?co=GENIE.Platform%3DAndroid&hl=en