...
Go to Confluence Configuration → Include Bitbucket. You should then see the following page:
Click Add.
Add your Bitbucket Data Center URL and the personal access token. Then submit the configuration.
Finished. Now you can include files from your Bitbucket Data Center/Server repositories.
...