Skip to content

alexa-labs/skill-sample-alexa-for-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Fork, clone, or download this repository.
  2. From the directory, Run ask init
  3. 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

  1. 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.
  2. "Open deep link sample"
  3. Enjoy!

Send to Device Experience

  1. Log in Alexa app and pair an Echo device.
  2. Invoke Alexa on the echo device: "Open deep link sample".
  3. Enjoy!

Security

See CONTRIBUTING for more information.

License

This library is licensed under the Amazon Software License.