Create a public link

Hello,

I am building an app that has the following process:

  1. user select html template in the app library
  2. user edit the template
  3. user can share the template with anyone through a public link

How can I do the step number 3 (public link)?

Thanks,
Wellington