Home/ Docs/ Zotero bibliography
Reference workflow

Bring Zotero references into your LaTeX paper.

DraftPilot can write a selected Zotero library or collection to a BibTeX file in your paper folder. You choose when to sync and which bibliography file your manuscript loads.

Connect with a read-access key

  1. Create a dedicated key with library read access in your Zotero account settings. Zotero's Web API guide explains keys and where to find your numeric user ID.
  2. Open your paper in DraftPilot and choose Research → References.
  3. Enter the key under Zotero connection and select Connect for this session.

A key entered in the UI stays in the running DraftPilot process, not in paper metadata or browser storage. Restarting clears it. You can also select Forget key when finished.

Sync the references you need

In the Bibliography form, enter your numeric Zotero user ID, an optional collection key, and the paper-relative BibTeX filename, such as zotero.bib. Select Sync bibliography. DraftPilot writes that file into the current paper folder and reports the reference count.

If the selected filename already belongs to a different bibliography, DraftPilot asks before replacing it and saves the prior contents in file history. Check the target filename before confirming. Syncing reads from Zotero; it does not edit your Zotero library.

Tell LaTeX to load the new file

Syncing a .bib file does not change the paper's TeX commands. For BibTeX, add the new base name to the manuscript's existing bibliography command, for example \bibliography{references,zotero}. For biblatex, add \addbibresource{zotero.bib} in the preamble. Use the filename you selected during sync.

Rebuild the paper and confirm the cited entries appear in the compiled bibliography. If they do not, check the main TeX file, bibliography command, citation key, and build log.

Use local citation suggestions

After syncing, type a citation command such as \cite{ in the source editor. DraftPilot searches the local BibTeX index by key, title, author, and year; citation suggestions do not call Zotero as you type. Enable suggestions in Settings or invoke completion manually if they do not appear.

Check the inserted key against the synced file and compiled PDF. A suggestion helps find an entry; it does not confirm that the reference supports your claim. Run the submission audit to catch missing citation keys before sharing the paper.