Add a free draw.io subscription to your Atlassian Cloud sandbox is a blog post that explains how to do exactly that!
Fore more general info on draw.io for Confluence or Jira, please refer to our draw.io webpage.
And some great blogposts! Blog - draw.io