To enable the Document tab on your site, please go to Settings>Media>Documents. Then, look for the Groups option and put a mark on it. Once done, click Save Settings to apply changes.