<commit_before>---
title: '4. Input Your Credentials'


layout: nil
---

1- On your Raspberry Pi, open the File Explorer by clicking on the folder icon on your toolbar at the top left.  It should come up in the */home/pi* folder.  Right-click on **config.txt** and select "Text Editor" to open your configuration file.  

![](assets/config_file.png)

It should contain the following fields:

```
DEVICE_SERIAL_NUMBER=""
CLIENT_ID=""
PRODUCT_ID=""
```

2- In your web browser, Navigate back to the AVS dashboard:  [https://developer.amazon.com/avs/home.html#/avs/home](https://developer.amazon.com/avs/home.html#/avs/home).

3- Click **Manage**. From **Details and management** copy your **Product ID** (no spaces) into the `PRODUCT_ID` field of your **config.sh** file.

![product_id](assets/get_product_id.png) 

4- Select **Security Profile** from the left tab.  

![details1](assets/details1.png) 

5- Navigate to **Other Devices and Platforms** and copy your **Client ID**.

![correct_id](assets/get_correct_id.png) 

6- Place the **ClientID** (make sure it's from **Other Devices and Platforms** section) into the `CLIENT_ID` field.  

7- The **device serial number** is created by device makers and isn't used by AVS - for this workshop, it can be any alpha-numeric value (here it's 123456):

Your completed config.txt fields will look something like this:  

```
DEVICE_SERIAL_NUMBER="123456"
CLIENT_ID="amzn1.application-oa2-client.12345678901234567890123456789012"<commit_msg>Update 2012-12-25-5-copy-credentials.md<commit_after>---
title: '4. Input Your Credentials'


layout: nil
---

1- On your Raspberry Pi, open the File Explorer by clicking on the folder icon on your toolbar at the top left.  It should come up in the */home/pi* folder.  Right-click on **config.txt** and select "Text Editor" to open your configuration file.  

![](assets/config_file.png)

It should contain the following fields:

```
DEVICE_SERIAL_NUMBER=""
CLIENT_ID=""
PRODUCT_ID=""
```

2- In your web browser, Navigate back to the AVS dashboard:  [https://developer.amazon.com/avs/home.html#/avs/home](https://developer.amazon.com/avs/home.html#/avs/home).

3- Click **Manage**. From **Details and management** copy your **Product ID** (no spaces) into the **PRODUCT_ID** field of your **config.sh** file.

![product_id](assets/get_product_id.png) 

4- Select **Security Profile** from the left tab.  

![details1](assets/details1.png) 

5- Navigate to **Other Devices and Platforms** and copy your **Client ID**.

![correct_id](assets/get_correct_id.png) 

6- Place the **ClientID** (make sure it's from **Other Devices and Platforms** section) into the **CLIENT_ID** field.  

7- The **device serial number** is created by device makers and isn't used by AVS - for this workshop, it can be any alpha-numeric value (here it's 123456):

Your completed config.txt fields will look something like this:  

```
DEVICE_SERIAL_NUMBER="123456"
CLIENT_ID="amzn1.application-oa2-client.12345678901234567890123456789012"
{'fraction_non_alphanumeric': 0.12866666666666668, 'fraction_numerical': 0.04033333333333333, 'mean_word_length': 4.53690036900369, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4540148', 'n_tokens_mistral': 1041, 'n_tokens_neox': 934, 'n_words': 342}