When you have been granted a community or academic Confluence or Jira license, you can apply for a community/academic license any app, including draw.io, in the Atlassian Marketplace.
Submit a ticket and apply for a draw.io community license for Cloud here
Apply for a community draw.io license for Confluence or Jira Server directly from Atlassian
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