You can use it in a couple of different ways, or just leave it disconnected.
You could wire it to your brake switch connector on the controller to cut the motor on zero throttle or use it for regenerative braking if that takes your fancy, if your system supports regen.
I don’t like regen because it removes the ability to coast when off the throttle, so I use ebraking instead using brake switches on the levers.