I dont think you have any service to create component group. Once you get the list of components you want to show in the sidekick, add the property componentGroup fro each of the components. That should automatically take care. However, I dont think we should have such configuration done via service...