Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Update readme with new lambda creation flow #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions samples/helloWorld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ To run this example skill you need to do two things. The first is to deploy the
1. Go to the AWS Console and click on the Lambda link. Note: ensure you are in us-east or you won't be able to use Alexa with Lambda.
2. Click on the Create a Lambda Function or Get Started Now button.
3. Skip the blueprint
4. Name the Lambda Function "Hello-World-Example-Skill".
5. Select the runtime as Node.js
5. Go to the the src directory, select all files and then create a zip file, make sure the zip file does not contain the src directory itself, otherwise Lambda function will not work.
6. Select Code entry type as "Upload a .ZIP file" and then upload the .zip file to the Lambda
7. Keep the Handler as index.handler (this refers to the main js file in the zip).
8. Create a basic execution role and click create.
9. Leave the Advanced settings as the defaults.
10. Click "Next" and review the settings then click "Create Function"
11. Click the "Event Sources" tab and select "Add event source"
12. Set the Event Source type as Alexa Skills kit and Enable it now. Click Submit.
4. In `Configure Triggers` tab select source as Alexa Skills kit for your lambda.
5. Name the Lambda Function "Hello-World-Example-Skill".
6. Select the runtime as Node.js
7. Go to the the src directory, select all files and then create a zip file, make sure the zip file does not contain the src directory itself, otherwise Lambda function will not work.
8. Select Code entry type as "Upload a .ZIP file" and then upload the .zip file to the Lambda
9. Keep the Handler as index.handler (this refers to the main js file in the zip).
10. Create a basic execution role and click create.
11. Leave the Advanced settings as the defaults.
12. Click "Next" and review the settings then click "Create Function"
13. Copy the ARN from the top right to be used later in the Alexa Skill Setup

### Alexa Skill Setup
Expand All @@ -37,4 +36,4 @@ To run this example skill you need to do two things. The first is to deploy the

## Examples
User: "Alexa, tell Hello World to say hello"
Alexa: "Hello World!"
Alexa: "Hello World!"