Giter Club home page Giter Club logo

alexab2b's Introduction

AlexaB2B

Setup

AWS Console

  1. Clone the code into local repo.
  2. Open your favorite IDE and follow the below steps.
    1. cd [folder name].
    2. npm install.
    3. zip the contents. Note: Zip the folder contents, not the folder.
  3. Navigate to AWS Console
  4. Create a new Lambda function.
  5. Create a new function.
  6. Give it a name. 1. Use an existing role. 2. Select lambda_basic_execution from drop down. 3. Create Function.
  7. Now a blank new function is created for us. Click Add trigger.
  8. Select Alexa Skills kit from dropdown. and Disable Skill ID verification and Add.
  9. On lambda function page, scroll down select upload zip from the drop down and select the zip that was built in step 3.3.
  10. Create 2 Environment variable and leave it blank, we’ll get back to it later.
    1. username
    2. password
    3. APP_ID
  11. Increase the Timer under Basic Settings to 1min. This is to avoid timeouts during processing.
  12. Save.
  13. Copy the ARN in the top right to a notepad.

Amazon Developer Console

  1. Navigate to Speech Assets for code.
  2. Login to Developer Console.
  3. Click Developer console on top right and select Alexa Skills Kit by hovering on Alexa in the top ribbon.
  4. Click Create Skill, Give a Skill Name and leave the rest to default. Then you would be prompted to Choose a template, Leave it to default and Click Choose. A skill is created now.
  5. Select JSON Editor from the left ribbon.
  6. Copy the code from Step 1 and replace the JSON Editor Content with it. and change invocationName to your skill name.
  7. Click Save Model and the Build Model. Give it a minute to build.
  8. Once built Navigate to End Points from left menu. And Select AWS ARN radio.
  9. Copy *Your Skill ID *on a notepad.
  10. under Default Region, paste the ARN that you copied in previous section (Step 15).

We are done (Partially) building the skill.

Updating the Model

  1. Navigate back to AWS Console. And let’s fill in the Environment variables that we created earlier.
  2. For APP_ID the value should be Your Skill ID you copied in the previous step.
  3. For username, password use your Salesforce credentials.
  4. Save the model.

alexab2b's People

Contributors

sunnykeerthi avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.