Before submitting your first release, identify your Github repo id on Github API at:
https://api.github.com/repos/{user}/{repo}Then add the following badge to your README.md:
[](https://zenodo.org/badge/latestdoi/{github_id})or to your README.rst:
|DOI|
.. |DOI| image:: https://zenodo.org/badge/{github_id}.svg
        :target: https://zenodo.org/badge/latestdoi/{github_id}Then, submit your first release
Notes:
- The DOI badge will not be issued until you make you first release but will be included in your release.
- See Github documentation to setup Zenodo webhooks.
Is this still up to date?
The zenodo website provides a different link: