1.
to create a situation in which sth can easily happen or develop :
His arrival set the scene for another argument.
2.
to give sb the information and details they need in order to understand what comes next :
The first part of the programme was just setting the scene.