Set up resources