Comment on page
Account Linking Setup
Assumptions: To complete account linking you need to have set up an account in the Voiceworx and created a skill in the Voiceworx portal. To learn how to set up skills in the Voiceworx platform you can follow this documentation.
- 1.
- 2.On the menu go to Custom Apps -> Manage Apps. Click on the App for which you need to setup Account Linking. If you do not have any apps ready, you can follow this document to create app in VoiceWorx.
- 1.After the App has been selected, following screen with all components of the app will display. Click on the Publish tab.
Graphical user interface, application, Teams
Description automatically generated
- 1.On the publishing tab, Create Publish Profile (if not already created), fill out other details and click the Enable Account Linking check box and click save. As the Note says, “When this option is selected, it is still required to configure account linking in Alexa”, there are few additional steps we need to configure in Alexa developer console.
- 2.Before heading to Alexa developer console, save this publish profile and publish to Alexa. You can again follow this document for assistance in publishing to Alexa.
- 1.Go to https://developer.amazon.com/ and login with the same Amazon Account the app has been published to in step 5. Click on Developer Console.
- 1.On the resulting screen, Click on Login with Amazon.
- 1.Login with Amazon Console page would open in a new tab. Click the “Create a New Security Profile” button.
- 1.Fill all the required fields in the Security Profile Management page and click the Save button.
- 1.Security Profile is successfully created. Click the gear icon and click on web settings
- 1.In the web settings page, fill the following fields as shown below and click the “Save” button.
Allowed Origins -
- https://portaltest.voiceworx.ai
Allowed Return URLs
- https://portal.voiceworx.ai/OAuthCode/Redirect
Graphical user interface, text, application, email
Description automatically generated
- 1.Note the Client ID and Client Secret from Step 11 for later use.
- 1.
- 1.Select Models tab
Graphical user interface, application
Description automatically generated
- 1.Click on the Account Linking Tab
Graphical user interface, text, application
Description automatically generated
- 1.In the resulting page enable account linking by clicking the “Do you allow users to create an account or link to an existing account with you?” toggle
Graphical user interface, text, application, website
Description automatically generated
- 1.Set Auth Grant as the authorization type and fill in the following.
- 1.
- 2.
- 3.Your Client ID: This is the client Id shown in the security profile created in step 10 above. Example- amzn1.application-oa2-client.2ec922f2fbfa435433892
- 4.Your Secret: Click on show secret in the Security Profile page as shown in step 10. Copy and paste the secret here
- 5.Your Authentication Scheme: Http Basic
- 6.Scope: Click on add new Scope and type in “profile”
- 7.Domain List: channeltest.voiceworx.ai, channel.voiceworx.ai
- 8.Default Token Expiration Time : 80420
- 9.
Note: You also need to add these Redirect URLs to your Allowed Return URLs in your Amazon Security Profile.
Graphical user interface, text, application, email
Description automatically generated
- Scroll up and click save.
- 1.
Graphical user interface, text, application
Description automatically generated
- 1.On the Skills page, click on the Your Skills button
Graphical user interface, background pattern
Description automatically generated
- 1.Search the name of the skill you want to enable account linking on. Select the skill.
- 2.Click on Enable Skill
- 1.This will open the Login with Amazon page. Insert your username and password and press login
- 2.If your login details are correct, you will be presented with a success screen.
- 3.You can now try invoking the skill from your Alexa device and Alexa developer console.