How to create and manage resources