<commit_before>---
title: Alexa on Pi
image: https://images-na.ssl-images-amazon.com/images/I/61w7H6cIV4L._AC_SR201,266_.jpg
excerpt: Alexa Assistant on Raspberry Pi
description: alexa rpi
categories: voice
---
There has been a recent re-write of the Alexa App for Raspberry Pi. It used to be written in Java, now it is a C++ app. This is welcome, 
it makes installations less painful.

The instructions to install are [here](https://github.com/alexa/avs-device-sdk/wiki/Raspberry-Pi-Quick-Start-Guide-with-Script).

Before you run this, you will need to create an Amazon Account. A good set of instructions to follow are probably steps 2 and 3 of the old guide [here](https://github.com/alexa/alexa-avs-sample-app/wiki/Raspberry-Pi)

There is one major gotcha. When you are creating a product in the Amazon Developer Console (developer.amazon.com). The correct Product ID is 
shown, but not the right Client ID.

![Alexa Dev Screen](https://github.com/raspberrypisig/raspberrypisig.github.io/raw/master/assets/images/alexa1.jpg)

, but to get the right Client ID, you have to do the following:

- Click *Manage*
- Click *Security Profile*
- Scroll down, then click *Other devices and platforms*
- Click *Add*, give a name and you will get the right Client ID.

![Alexa Dev Screen 2](https://github.com/raspberrypisig/raspberrypisig.github.io/raw/master/assets/images/alexa2.jpg)<commit_msg>Update 2018-6-23-alexa.md<commit_after>---
title: Alexa on Pi
image: https://images-na.ssl-images-amazon.com/images/I/61w7H6cIV4L._AC_SR201,266_.jpg
excerpt: Alexa Assistant on Raspberry Pi
description: alexa rpi
categories: voice
---
There has been a recent re-write of the Alexa App for Raspberry Pi. It used to be written in Java, now it is a C++ app. This is welcome, 
it makes installations less painful.

The instructions to install are [here](https://github.com/alexa/avs-device-sdk/wiki/Raspberry-Pi-Quick-Start-Guide-with-Script).

Before you run this, you will need to create an Amazon Account. A good set of instructions to follow are probably steps 2 and 3 of the old guide [here](https://github.com/alexa/alexa-avs-sample-app/wiki/Raspberry-Pi)

There is one major gotcha. When you are creating a product in the Amazon Developer Console (developer.amazon.com). The correct Product ID is 
shown, but not the right Client ID.

![Alexa Dev Screen](https://github.com/raspberrypisig/raspberrypisig.github.io/raw/master/assets/images/alexa1.jpg)

To get the right Client ID, you have to do the following:

- Click **Manage**
- Click **Security Profile**
- Scroll down, then click **Other devices and platforms**
- Click **Add**, give a name and you will get the right Client ID.

![Alexa Dev Screen 2](https://github.com/raspberrypisig/raspberrypisig.github.io/raw/master/assets/images/alexa2.jpg)
{'fraction_non_alphanumeric': 0.10336194563662375, 'fraction_numerical': 0.013948497854077254, 'mean_word_length': 4.277358490566038, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '86621', 'n_tokens_mistral': 919, 'n_tokens_neox': 857, 'n_words': 325}