Generate Account / Project HTTP Access Token.

Go to Bitcucket profile > Manage account > HTTP Access Tokens.

Click create token.

Required permission scopes:

Go to Confluence General Configuration > Click Configure ILA DevOps.

Go to page edit Insert Macro > Bitbucket to confluence.