98 hacht automatic to manual trany swap problem NEEd HElp

Hi i have a 98 civic with an automatic trany that i've recently swap into a b18 with a manual transmisson the only problem i had is to make the revers light work
when i swap my civic automatic to manual i had to cut wire near the shifter and when i put a yellow wire with a black wire the reverse light work so where should i plug this 2 wire on my trany??
when i swap my civic automatic to manual i had to cut wire near the shifter and when i put a yellow wire with a black wire the reverse light work so where should i plug this 2 wire on my trany??