How to make Rolling Ball use the Dk2 for tracking?

I’ve been trying to find ways to connect my DK2 to the rolling ball in the rolling ball template in an attempt to just make a maze prototype but I don’t know how to? I’ve been looking in the forums and I’ve gotten pretty much nothing that I can work from. Any help guys?