Add resource component