Now we need to update the Alexa sample app install script with the product information we obtained in steps 3 and 4. In the same terminal window we opened in the previous step, run the following commands:
cd alexa-avs-sample-app sudo nano automated_install.sh
At the top of this file, you will see three variables “ProductID”, “ClientID”, and “ClientSecret”. Each of these variables corresponds with a piece of information we obtained above. Update these values and press “Ctrl+X”, followed by the “Y” key, followed by the “Enter” key to save the changes.
Finally, run the following command to initiate the installation process:
. automated_install.sh
You will prompted with several questions regarding terms & conditions, Amazon registration status, language preferences, and audio output. Be sure to select Yes when asked if you’d like to use the “wake word engine”.
After answering all the prompts, the installation will begin. Go grab a cup of coffee, because this will take a few minutes.