Overleaf is an online latex editor that allows collaboration, and I don't think there is an alternative to it at the moment. Zotero is one of those bibliography management tools; although other alternatives exist, I find it the most intuitive.
The way to import Zotero references into Overleaf is to create a
.bib file from your personal Zotero library, which contains references from all your collections and can be refreshed to sync any changes you made to your personal library . But there is no way to import only from a single collection or a Zotero group library. When multiple people want to use a Zotero group to track the references and an Overleaf project for collaborative writing, unless they are okay with large
.bib files, they would need to manually export the group library into a
.bib file and upload it to their Overleaf project to keep things in sync.
But I really want to use Overleaf with Zotero groups! If you have the same thought and have Python installed, the following workaround could be helpful:
Open your Overleaf project in a browser and click open Menu. Under Sync, click open Git. This will open a pop-up that tells you how to
git clone your project. Then run this command from the command line; follow the linked tutorial to complete the process.
The dependencies can be installed from command line with
I'm on Mac OS, so I followed  (tutorial on launchd). Below is the plist file
And the shell script
Now we are ready to schedule this task. Note that in my case the shell script and the Python script live in the git repository, and the plist file lives in
$HOME\Library\LaunchAgents. As the linked tutorial shows, we can use the following commands to load and unload the task (specific to my case):
Finally, this is a very simple workaround with absolutely no error handling. If you intend to try it, please be very careful!
Update on May 25, 2020: thanks to Christian Møldrup Legaard, we now have an easier workaround by directly using the url generated by pyzotero! If your group is public, sending a request to this URL should return the bibliography in bibtex format: https://api.zotero.org/groups/INSERT_GROUPID/items/top?format=bibtex&style=numeric&limit=100. Then you can use this url to create a new file directly in Overleaf as shown in the screenshot.