Allright, now for the tricky part.
Time to try and set up Alexa on my Pi.
First things first. Navigate to https://developer.amazon.com
Log in with your amazon developer account. If you don’t have one, create one. It’s free.
Navigate to the “Alexa” tab, and choose Alexa Voice Services.
Register a product type, and choose “Device”. After all, we’re integrating Alexa into our Raspberry Pi, which is a device.
We are taken into a wizard. Think of a device type ID. That’s the unique identifier of all the devices you’re going to create. I called it “SmartMirror”. It also needs a name. I chose “Smart Mirror” with a space between the words.
In the next tab you are given a Security Profile ID, a Client ID and a Client Secret. Those strings are unique, and you will use them to connect to the service online.
Go to the “Web Settings” tab, and click “Edit” at the right hand side.
Click “Add another” at the “Allowed Origins”.
Do the same with the “Allowed return URLs” with the following :
Save. The end result should look like this.
Next, you will be asked to choose a some extra settings like a category, description and commercialisation details. Just fill in what you want.
I don’t have Amazon music, so when the question pops if I want to use it, I chose “No”.
That’s it for part one. We’ve now successfully registered out Raspberry Pi project with Amazon. It can start accepting calls from our Pi.