Configure JIRA to trust Confluence. See the JIRA administrator's guide. Follow the prompts to choose either OAuth or Trusted Applications, depending on your setup.
In Confluence, subscribe to all your JIRA gadgets. Alternatively, you can add just this one gadget to Confluence's list of authorised external gadgets. see the Confluence administrator's guide.