Steps to Implement Account Linking in Your Skill
Note: Sign in to the developer console to build or publish your skill.
This topic outlines the steps you take to implement account linking for different skill types.
- Step 1: Learn how account linking works
- Step 2: Configure account linking in the developer console
- Step 3: Update your skill code
- Step 4: View metrics (optional)
- Related topics
Step 1: Learn how account linking works
To learn how account linking works with your skill type, see one of the following:
- Custom skills – Account Linking for Custom Skills
- Smart home, video, and music skills – Account Linking for Smart Home and Other Domains
Step 2: Configure account linking in the developer console
In the developer console, configure account linking in the TOOLS > Account Linking section for your skill.
For details about the options to choose, see one the following:
- Custom skills – Configure an Authorization Code Grant or Configure an Implicit Grant
- Smart home, video, and music skills – Configure an Authorization Code Grant
Step 3: Update your skill code
Update your code to retrieve the access token and authenticate the user. For more information, see one of the following:
- Custom skills – Use Access Tokens in Custom Skills
- Smart home skills – Use Access Tokens in Smart Home and Video Skill Code
- Music skills: Use Access Tokens in Music Skills
Step 4: View metrics (optional)
When your skill is live, you can see account linking metrics, such as the total number of account linking initiations, in the developer console in the Analytics section for your skill.
Related topics
- Quick Reference: Add Account Linking to an Alexa Skill
- Add Account Linking to Your Alexa Skill
- Account Linking Concepts for Alexa Skills
Last updated: Sep 10, 2024