A brief overview on how to make a basic Alexa skill using Java on AWS Lambda!
- amazon developer account
- amazon web services account
- some java proficiency
- a dash of maven
- maybe an IDE
- Decide on an idea. >Maybe watch this<.
- Think about what KIND of skill you want to make ...this doc is going to describe a custom skill!
- Log into your Amazon Dev Account, and describe your new Skill.
- Navigate to the alexa subsection >Click here for direct link as of 8/13/18<.
- Find the 'Create a Skill' >Click here for direct link as of 8/13/18<.
- Decide on a skill name! * It should be at least 2 characters. * Generally, make it something descriptive. Makes sense, eh?
- Start configuring your skill.
- Your Invocation Name
- ex: "Llama Dice"
- This is basically the word phrase you'll use when interacting with an Alexa device to start up or trigger your program.
- It should be 2-3 words, not using the reserved words like (Amazon/Alexa/Echo etc) and shouldn't break trademark law.
- Your Intents w/ Slots
- ex: "RollDiceIntent"
- You can think of Intents kind of like the endpoints of your skill service, or like the different methods that could be executed within your program.
- It should be a single phrase, PascalCased that describes the 'idea' behind the intent.
- Slots
- These are basically the parameter variables for your Intents described above.
- They can either be custom defined, or one of the many Amazon slots defined.
- Sample Utterances
- ex: "roll a random die"
- This is basically the word phrase that can trigger and of the described Intents above.
- Your Invocation Name
- Write a AWS webservice to provide for your Skill!
- clone this repo!
- Update to match for your services
- Match for intents
- parse for slots
- return response & card