# Amazon KCL Sample Implementation To run this sample make sure you have Maven and Java installed. To build the JAR, type following command into your Cloud9 Instance terminal: ``` git clone https://github.com/aws-samples/aws-kcl-java cd aws-kcl-java/kcl-app mvn clean compile assembly:single ``` Set 3 environment variables: ``` export STREAM_NAME= export AWS_REGION= export APPLICATION_NAME= ``` Run the application by using: `java -jar target/kcl-app-1.0-SNAPSHOT-jar-with-dependencies.jar`