...
1. Go to Confluence Configuration → Include Bitbucket Cloud. You should then see the following page:
2. Click Add
3. In the dialog, add the UUID To get the UUID of the Bitbucket User/Team from which you want to include files from private repositories. You can find the UUID by clicking on the user or team account icon in Bitbucket:, paste the following URL into the browser:
For users: https://api.bitbucket.org/2.0/workspaces/USER_KEY
For teams: https://api.bitbucket.org/2.0/workspaces/TEAM_KEY
Here's an example:
4. Then, add the Client Key and Client Secret from the Bitbucket OAuth consumer configuration to this dialog. Afterwards, press Submit.
...