Input AVS Credentials
Download the AVS Device SDK
Now that your device has internet connectivity, open a terminal by clicking on the black window logo near the top left corner of your toolbar.
Your terminal should come up in /home/pi directory. Let's start by upgrading apt-get to ensure you have access to required dependencies. Note that the AVS Device SDK v1.10.0 requires PulseAudio to be installed and BlueAlsa must be disabled.
Copy and paste the following command into your terminal window and hit return to upgrade apt-get.
sudo apt-get upgrade
Now, let's get the SDK installation and configuration scripts. Copy and paste the following into your terminal and hit return:
wget https://raw.githubusercontent.com/alexa/avs-device-sdk/master/tools/Install/setup.sh \ wget https://raw.githubusercontent.com/alexa/avs-device-sdk/master/tools/Install/genConfig.sh \ wget https://raw.githubusercontent.com/alexa/avs-device-sdk/master/tools/Install/pi.sh
Download your credentials
If you didn't already save it to your Pi when creating your product profile, it's time to get your config.json file onto your client device. Start by opening a browser and logging into your AVS dashboard. Click on your Product Name, it should be AVS Tutorials Project or whatever you named it when creating the product profile.
This will take you to a product menu - on the left side you should see Product Details. Select Security Profile below that and choose Other devices and platforms from the Web - Android/Kindle - iOS - Other devices and platforms menu.
When you click the Download button on your Security Profile in your web browser, you'll see a config.json file appear in your home/pi/downloads folder. In the file manager, copy this file from the /downloads folder and place it in your home/pi folder as shown in the picture below.
Now that your Raspberry Pi has your own unique credentials loaded on it, let's build the AVS Device SDK to voice-enable your prototype.