1. Create a document template that you want to publish (either as a Static template or a Dynamic template)
2. Create a workflow with 1 step: Dynamic template or Static template
3. Share the document and copy the link or the button code
4. Publish the link or the button on your website