Creating the Unity3D Project

Let’s setup the Unity Project!

Prerequisites

Obtain an Identity Pool ID using Amazon Cognito

  1. Log in to the Amazon Cognito Console and click Create new identity pool.
  2. Enter a name for your Identity Pool and check the checkbox to enable access to unauthenticated identities. Click Create Pool to create your identity pool.
  3. Click Allow to create the two default roles associated with your identity pool–one for unauthenticated users and one for authenticated users. These default roles provide your identity pool access to Cognito Sync and Mobile Analytics.

The next page displays code. Take note of the displayed Identity Pool ID and the Region you set up the Identity Pool in as you will need them when setting up Alexa Plus Unity.

Attach Polices to the Identity Pool default roles in AWS IAM

  1. Log in to the AWS IAM Console and click Roles in the left navigation bar.
  2. Find and click your Unauthenticated Identity Pool role. It should look similar to Cognito_[YOUR IDENTITY POOL]Unauth_Role.
  3. Click Attach Policies.
  4. Find and check the AmazonSQSFullAccess and AmazonDynamoDBFullAccess polices.
  5. Click Attach Policy.

Your Identity Pool is now configured to use the required AWS services for Alexa Plus Unity to function.

Creating the project

Integrating the Alexa Plus Unity Package

  1. Download the AlexaPlusUnity.unitypackage from the Releases tab in the GitHub project.

Adding Alexa Control into the Unity3D package