Alexa Connected Devices > Development Resources > Smart Home Skill Tutorial > Step 5: Provide Account Linking Information
So far, we have established the link between the Alexa Cloud and the Lambda function. However, the Lambda function still needs a way to identify the corresponding user in the 3P cloud, and this is where account linking comes into the picture.
In this section, we will tell Alexa how should an Alexa user be linked with the corresponding 3P user.
This section requires account information from your OAuth 2.0 provider, which enables customers to associate their device cloud account with your smart home skill. You can use Login with Amazon or another OAuth provider for this section.
1. Open a new tab in the browser, and navigate to https://developer.amazon.com/dashboard
2. Choose “Login with Amazon”
3. Click Create a new Security Profile
4. Enter a name and description for your security profile. For example, my-smart-home-skill-profile
5. For Consent Privacy Notice URL, put in a url that will serve as your privacy policy.
6. Click Save
7. Copy the Client ID and Client Secret. Be sure to not copy any trailing spaces.
Be careful not to copy any additional characters or whitespace.
8. Keep this tab open. We will need this in a bit.
1. Back on the skill settings tab for your Smart Home Skill in the Alexa Developer Console, click Account Linking on the left navigation bar.
2. Fill in the following information -
(Since Scope is a mandatory field, we pick one of the three scopes supported by LWA.
3. Copy the Redirect URLs at the bottom of the page, each url is meant for a corresponding region. You will need this in the next few steps.
1. Navigate back to the LWA Console that you have open in another tab.
2. Click the gear icon under manager and choose Web Setting.
3. Click Edit button, and the “Web Settings” tab if necessary.
4. In the Allowed Return URLs section, paste the Redirect URLs you copied from the skill settings page in Step 5.2 above
5. Click Save
Congratulations! We have now completed the account linking, and are now ready to test the skill.