Object casts light but isn't visible

How do I make an object, that is NOT visible, but it still casts light.
I was trying to make quick sketch scene that takes place at desert and it is sunset there, and I took photo from google that is sunset, and i’m trying to make it look like that sunset’s sunlight is from that’s photo’s sun etc, so i figured that this object that is not visible and casts light would work fine in this case.
And yeah, I’m using cycles.

Add the object
Give it an emission material for the light.
In the properties window under the Object tab, under Ray Visibility turn off the Camera option.
The camera will not then be able to see it but its light will affect the scene