Note, to get your API Key you should’ve created the Buy Button Sales Channel first. If you have not done that instructions can be found here.
Click on ‘Buy Button’ and then click on the ‘Create token’ button.
Copy the Buy Button Access Token.
Paste your API Key into the main widget option panel.