Your city needs to be within range of the natural wonder which is a 3 tile radius to all sides. After that, you need to have a tile of your border covering the natural wonder so that your city can work it. Then, you put a civilian on the natural wonder tile in the city section and you are now working a natural wonder.