Insert a Slack Pinboard macro using the slash command, selectable by typing /slack or /pin in the Confluence page edit screen.
Click the edit button of the inserted macro, the edit screen for searching and selecting Slack posts is displayed.
Click Sign in with Slack button and select your Slack workspace if you have not signed in to Slack through this macro yet.
After editing, click the Insert button to save the edited contents.