Setting is usually introduced at the beginning of the story.
This is where the author usually places the place and time.
Take Harry Potter for example, the author writes at the beginning that it takes place in Pivet Drive and it is late at night!
Hope this helps!