AL
alexa-labs/skill-sample-alexa-for-apps
Alexa App Links Skill Sample
This sample uses the Alexa for Apps App Link Skill Connection API in order to deep link into the Amazon shopping app via direct launch or push notification. iOS, Android
You will need an Amazon developer account in order to run this sample. In addition, you will need to sign up for Alexa for Apps and be accepted. Sign up here.
Features
- Open the Amazon shopping app from Alexa on mobile (fallback to the app store).
- Deep link into your order details on the app with a fallback to the mobile website.
- Deep link to the search results page passing along an AMAZON.SearchQuery slot with a fallback to the mobile website.
- Send push notification/Alexa app home card which can deeplink into Amazon shopping app.
Build instructions
Set up Skill with Alexa Hosted with ASK CLI V2
- Fork, clone, or download this repository.
- From the directory, Run
ask init - TODO: rest of instructions.
Set up using Alexa Hosted GUI
Node JS
If you would like to use the Developer Portal, you can follow the steps outlined in the Hello World example, substituting the Model and the skill code when called for.
Running the sample
First, you will need a mobile phone with the Alexa mobile app installed, an Alexa mobile accessory (for instance, Echo buds), or an Alexa-ready phone.
Direct Launch Experience
- Invoke Alexa. For the mobile app, you will have to open the app and click the Alexa icon in the middle of the bottom bar. For companion devices or the phone, you can use the "Alexa" wake word.
- "Open deep link sample"
- Enjoy!
Send to Device Experience
- Log in Alexa app and pair an Echo device.
- Invoke Alexa on the echo device: "Open deep link sample".
- Enjoy!
Security
See CONTRIBUTING for more information.
License
This library is licensed under the Amazon Software License.