in essence you need an "adapter harness" to go amongst the new brake mild plus the bike's factory harness and also to also hook up with the brake lever sensors (switches). Here's a primary schematic:
Powering this https://laylazdow831432.worldblogged.com/34771879/talaria-sting-r-mx4-top-speed-for-dummies