In your Statuspage management, click the bottom-left user icon menu and select "API info". Copy the "API Key" and "Page ID" values into the corresponding fields in your integration profile.
To update a component on alerts, click "Components" on the sidebar navigation and find the Component ID by clicking "Edit" and copy it from the page's URL. (The Component ID is the last part of the URL, for ex. "kx8qx2y35lnl").