generally you need an "adapter harness" to go concerning the new brake gentle as well as bike's factory harness and to also connect to the brake lever sensors (switches). Here's a primary schematic:
The Talaria Sting https://anitaolny113695.madmouseblog.com/9383663/rumored-buzz-on-talaria-mx4-sting-r