Help with hei install

A relay uses a power source and a trigger... Such as an ignition on or key on wire... (Blue and brown to ballast)

The power source isn't available until the trigger tells it to be.