See
http://www.zotero.org/support/dev/dataserver_setup