<commit_before># Alexa Quickstart for Java

Create and deploy your first Amazon Echo (Alexa) Skill in five minutes or less!

After deploying your skill and configuring it in the Amazon Developer portal,
you will be able to hold a simple conversation with Alexa:

> You: "Alexa, ask my favorite color."
> 
> Alexa: "Tell me your favorite color."
> 
> You: "Red."
> 
> Alexa: ...

Alexa's brain is in the cloud, and your Alexa Skill will be no different. It
will be deployed to AWS Lambda.

## Prerequisites

To successfully deploy and use your skill:
 
 1. Your Echo (or Echo Dot) must be physically set up and connected to the
    Internet, and associated with your Amazon account.
 1. AWS must be usable with your (same) Amazon account, and you need to have
    your `$HOME/.aws/credentials` configured appropriately.
 1. A Java 8 JDK must be installed and configured appropriately for your system
    (e.g., `JAVA_HOME` set, `$JAVA_HOME/bin` on your path).

## Quick Steps

If you're fairly good at navigating through Web interfaces (like the
[Amazon Developer portal](https://developer.amazon.com/) we'll be using), you
can just follow the simple textual steps here. If you need more help, including
screenshots, go to [Full Steps](#full-steps).

 1. Go to your
    [Alexa Skills Kit list in the Amazon Developer portal](https://developer.amazon.com/edw/home.html#/skills/list).
 1. Click *Add a New Skill*.
 1. Enter **Favorite Color** as the *Name*, and **my favorite color** as the
    *Invocation Name*.
 1. Click Next.
 1. Copy your skill's app ID (near the top of the screen - it looks like
    `amzn1.ask.skill.xxxxx`) and paste it into the
    [src/main/resources/app-id.properties](src/main/resources/app-id.properties)
    file in your Java project.
 1. From a command prompt, in your Java project's directory, run
    `./gradlew alexaDeploySkill`.
 1. Record the *Lambda ARN* printed by the Gradle build script; you'll need it
    later.<commit_msg>Update quick steps to mention Skill Type setting<commit_after># Alexa Quickstart for Java

Create and deploy your first Amazon Echo (Alexa) Skill in five minutes or less!

After deploying your skill and configuring it in the Amazon Developer portal,
you will be able to hold a simple conversation with Alexa:

> You: "Alexa, ask my favorite color."
> 
> Alexa: "Tell me your favorite color."
> 
> You: "Red."
> 
> Alexa: ...

Alexa's brain is in the cloud, and your Alexa Skill will be no different. It
will be deployed to AWS Lambda.

## Prerequisites

To successfully deploy and use your skill:
 
 1. Your Echo (or Echo Dot) must be physically set up and connected to the
    Internet, and associated with your Amazon account.
 1. AWS must be usable with your (same) Amazon account, and you need to have
    your `$HOME/.aws/credentials` configured appropriately.
 1. A Java 8 JDK must be installed and configured appropriately for your system
    (e.g., `JAVA_HOME` set, `$JAVA_HOME/bin` on your path).

## Quick Steps

If you're fairly good at navigating through Web interfaces (like the
[Amazon Developer portal](https://developer.amazon.com/) we'll be using), you
can just follow the simple textual steps here. If you need more help, including
screenshots, go to [Full Steps](#full-steps).

 1. Go to your
    [Alexa Skills Kit list in the Amazon Developer portal](https://developer.amazon.com/edw/home.html#/skills/list).
 1. Click *Add a New Skill*.
 1. Select **Custom Interaction Model** as the *Skill Type*.
 1. Enter **Favorite Color** as the *Name*, and **my favorite color** as the
    *Invocation Name*.
 1. Click Next.
 1. Copy your skill's app ID (near the top of the screen - it looks like
    `amzn1.ask.skill.xxxxx`) and paste it into the
    [src/main/resources/app-id.properties](src/main/resources/app-id.properties)
    file in your Java project.
 1. From a command prompt, in your Java project's directory, run
    `./gradlew alexaDeploySkill`.
 1. Record the *Lambda ARN* printed by the Gradle build script; you'll need it
    later.
{'fraction_non_alphanumeric': 0.08901044256588762, 'fraction_numerical': 0.006215813028344107, 'mean_word_length': 3.677906976744186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '158633', 'n_tokens_mistral': 1244, 'n_tokens_neox': 1137, 'n_words': 573}