How to Create a Custom Sidebar for Buddypress Groups?

I would like to create a custom sidebar that is displayed in the Buddypress Groups component. I cannot find an option when editing the Custom Sidebar I created, so I assume that this must be coded into the function.php file. Could someone please help me with this?

I had seen this post, but I wasn't sure what the sidebar ID's are. Where can I find them?

https://premium.wpmudev.org/forums/topic/how-to-define-a-sidebar-to-a-group-in-buddypress

Thanks,
Chris