Create Security Profile - rreimi/alexa-avs-sample-app GitHub Wiki
Register your product and create a security profile.
After you've registered for an Amazon developer account, you'll need to create an Alexa device and security profile. Make note of the following parameters as you go through setup, ProductID
, ClientID
, and ClientSecret
-- you'll need these later.
- Login to Amazon Developer Portal - developer.amazon.com
- Click Alexa -> Alexa Voice Service -> Get Started
- Click Create Product.
- Fill-in these values and save:
Product Information
On this page you'll provide information about your product. In this case, the Alexa PC project.
- Product Name - The display name in the developer portal, type Alexa Workshop.
- Product ID - Type: alexa_workshop.
- When asked if your product is an app or device, select Device.
- When asked if your product will use a companion app, select Yes.
- For Product Category, select Other, and enter "Alexa PC Project on GitHub".
- Enter a brief description. For example: My first Alexa project.
- When asked how users will interact with your product, select Touch-initiated and Hands-free.
- You can skip uploading an image for now. This content is used on the manage your content and devices screen on amazon.com.
- When asked if you will distribute this project, select No.
- When asked if this product is for children, select No.
- Click Next.
Security Profile
On this page we'll create a new Login with Amazon (LWA) security profile. This associates user data and security credentials with one or more products.
-
Click Create New Profile.
-
Enter a name and description for your security profile, then click Next. For example:
- Security Profile Name: Alexa Voice Service Sample App Security Profile
- Security Profile Description: Alexa Voice Service Sample App Security Profile Description
Note: These are suggested values. You provide custom information for Security Profile Name and Security Profile Description.
A Client ID and Client Secret will be generated for you.
-
Enter your Allowed origins and Allowed return URLs.
- Allowed Origins: Click "Add Another" and then enter https://localhost:3000 in the text field that appears.
- Allowed Return URLs: Click "Add Another" and then enter https://localhost:3000/authresponse in the text field that appears.
- Click Next
You are now ready to generate self-signed certificates.
Enable Security Profile
- Open a web browser, and visit https://developer.amazon.com/lwa/sp/overview.html.
- Near the top of the page, select the security profile you created earlier from the drop down menu and click Confirm.
- Enter a privacy policy URL beginning with http:// or https://. For this example, you can enter a fake URL such as http://example.com.
- [Optional] You may upload an image as well. The image will be shown on the Login with Amazon consent page to give your users context.
- Click Save.