In the red box are my wires from the light, they will get wire nuts on them and attach to the wires coming in from the panel where the red arrow is.
I also need to run a green insulated ground wire. I am assuming this hooks to the yellow. The bonding will then hook to the blue.
So, doe the ground from the niche terminate there or do I need to run that ground all the way back to the panel?