provision command to provision the Alexa Connect Kit (ACK) module. After you do this, Login with Amazon (LWA) authorizes your module through the ACK managed services. After authorization completes, the ACK managed services generate device certificates and writes them to the memory of your module. Alexa uses these certificates to verify the identity of your product and to register it with the ACK managed services.
- For more details about provisioning, see Module Life Cycle.
- For more details about virtual products, see Virtual Products.
Prerequisites
Meet the following prerequisites, before you complete the instructions on this page.- A Development Kit for ACK, or a printed circuit board assembly (PCBA) with an integrated ACK module.
- A virtual product.
- The Module Utility CLI version 4.0.6.0 or later. For more details about how to set up the Module Utility, see the Module Utility CLI Quick Start.
- An internet connection.
Step 1: Connect to your debug port
Your development board and your Arduino Zero might be physically connected. If they’re already connected, physically disconnect the two boards. After you disconnect the boards, plug a Micro-USB cable into the development kit debug port, and connect the other end to your computer. To find the debug port, see Development Kit Components.Step 2: Download your configuration file
You download your virtual product configuration file directly from the ACK console. This configuration file contains adeviceType identifier that associates the module with your virtual product, as well as keys used for Wi-Fi Simple Setup.
To download your product configuration file
- Sign-in to the ACK developer console.
- In the left-hand navigation, select Products.
- Select the product that you want to provision a module for.
- Click Download provisioning file. Unzip the file to a convenient location.
Step 3: Find your module serial port
To provision your module, you must connect your computer to the ACK hardware development board debug port. To connect to your ACK debug port- Find the ACK hardware development board debug port. For more details about your development kit, see Connect the development board to your computer.
- Connect the debug port to your computer using a USB cable.
- Run the Module Utility
listportscommand to list your Module serial port.
Step 4: Provision your module
To provision the module, use the Module Utility CLIprovision command which moves the module state from module provisioned to product provisioned.
-
Run the
provisioncommand. Pass-in your module port and the location of your configuration as arguments.If you have already provisioned your module as a product, you see the following message:The module is already provisioned as product AZCQX0BWIKW8F. Reprovision? Y/N. To reprovision your module, enter Y. After your module provisions, an LWA sign in page opens in your web browser. -
Sign-in to your Amazon developer account and select Allow.
This grants the Alexa Connect Kit Device Provisioner permission to read ACK device certificates.
When the provisioning process is successful, you see the following

Grant Access screen
Device provisioning successfulmessage.

