Sarmate.net Sarmate.net
Home Features Pricing Documentation Contact
Log in Sign up
Bibliography 5 min

Sync your bibliography with Zotero

Sarmate can fetch your Zotero library and write it into a .bib file in your space, ready to cite in your LaTeX documents. Syncing is one-way: Zotero → Sarmate. You manage your references in Zotero; Sarmate only copies them.

Before you start

Step 1 — Get a Zotero API key

  1. Open your account's keys page: www.zotero.org/settings/keys.
  2. Click “Create new private key”. Read-only access is enough.
  3. Copy the key shown: it is displayed only once.

Step 2 — Link a .bib file to Zotero

  1. In your Sarmate file manager, find (or create) the .bib file to link.
  2. Click the three vertical dots to the right of the file, then “Link to Zotero”.
  3. Paste your API key and click “Test”.
  4. If the connection is valid, choose the source: your whole library or a collection (the reference count is shown).
  5. Click “Link” then “Sync”.
Your .bib file will be overwritten On linking, the existing content of the .bib file is replaced by the bibliography chosen in Zotero. If you had added entries by hand, keep them in another file.

Step 3 — Cite in your document

Include the file in your document, then cite as usual. Reference auto-completion appears as soon as you type the opening brace \autocite{.

LaTeX
\usepackage[backend=biber,style=verbose-trad2]{biblatex}
\addbibresource{my-bibliography.bib}   % the file linked to Zotero
% ...
As shown by \autocite{key2020}, ...
% ...
\printbibliography

With classic BibTeX, use \bibliography{my-bibliography} and \cite{...} instead.

Updating the bibliography

Syncing is not automatic. After each change in Zotero (and once Zotero has re-synced to the cloud), come back to Sarmate and click “Sync” again to update the .bib file.

Troubleshooting

“error_Zotero empty library” or no reference imported The chosen source (often a collection) contains no references visible online. Check that the collection does contain references and that Zotero has synced to the cloud. Sarmate shows the reference count per collection to help you choose.
Citation auto-completion does not appear Check that your document includes \addbibresource{...} (or \bibliography{...}) pointing to the right file, then type \autocite{: the opening brace triggers the suggestions.
The API key does not work Create a new one (“Create new private key”), copy it immediately (shown only once), and check it has at least read access.

Ready to cite?

Open your space, link a .bib file to Zotero and compile your document.