Console shifter conversion

According to my classic industries catalog this should be a 57 bulb. Since my car didn't come with the console there is no wiring for this light. Can I just buy this pigtail and wire it to come on with the headlights? Does it ground to the housing? It looked to be plastic. Thanks.

IMG_4985.jpg