{"id":13800238,"url":"https://github.com/alexa-samples/skill-sample-nodejs-salesforce","last_synced_at":"2025-05-13T09:31:24.911Z","repository":{"id":43926322,"uuid":"111599613","full_name":"alexa-samples/skill-sample-nodejs-salesforce","owner":"alexa-samples","description":"This project demonstrates how to build an Alexa private skill that integrates with your Salesforce data, utilizing account linking and a personal voice code.","archived":true,"fork":false,"pushed_at":"2022-12-11T15:30:24.000Z","size":101,"stargazers_count":31,"open_issues_count":8,"forks_count":49,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-05-08T03:06:20.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexa-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-21T20:46:50.000Z","updated_at":"2023-09-09T21:35:18.000Z","dependencies_parsed_at":"2023-01-27T02:01:25.698Z","dependency_job_id":null,"html_url":"https://github.com/alexa-samples/skill-sample-nodejs-salesforce","commit_stats":null,"previous_names":["alexa/skill-sample-nodejs-salesforce"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexa-samples%2Fskill-sample-nodejs-salesforce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexa-samples%2Fskill-sample-nodejs-salesforce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexa-samples%2Fskill-sample-nodejs-salesforce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexa-samples%2Fskill-sample-nodejs-salesforce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexa-samples","download_url":"https://codeload.github.com/alexa-samples/skill-sample-nodejs-salesforce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253913072,"owners_count":21983250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T00:01:10.722Z","updated_at":"2025-05-13T09:31:24.543Z","avatar_url":"https://github.com/alexa-samples.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Private Alexa Skill With Salesforce Integration\n\n\u003cimg src=\"https://m.media-amazon.com/images/G/01/mobile-apps/dex/alexa/alexa-skills-kit/tutorials/quiz-game/header._TTH_.png\" /\u003e\n\n[![Salesforce Setup](https://m.media-amazon.com/images/G/01/mobile-apps/dex/alexa/alexa-skills-kit/tutorials/tutorial-page-marker-1-off._TTH_.png)](./instructions/1-salesforce-setup.md)[![Deploy](https://m.media-amazon.com/images/G/01/mobile-apps/dex/alexa/alexa-skills-kit/tutorials/tutorial-page-marker-2-off._TTH_.png)](./instructions/2-deploy.md)[![Account Linking](https://m.media-amazon.com/images/G/01/mobile-apps/dex/alexa/alexa-skills-kit/tutorials/tutorial-page-marker-3-off._TTH_.png)](./instructions/3-account-linking.md)[![Testing](https://m.media-amazon.com/images/G/01/mobile-apps/dex/alexa/alexa-skills-kit/tutorials/tutorial-page-marker-4-off._TTH_.png)](./instructions/4-testing.md)[![Distribute Private Skills](https://m.media-amazon.com/images/G/01/mobile-apps/dex/alexa/alexa-skills-kit/tutorials/tutorial-page-marker-5-off._TTH_.png)](./instructions/5-distribute-private-skills.md)\n\n## Introduction\n\nThis skill demonstrates how to build a private Alexa skill to access  Salesforce data. It includes using account linking, via a connected app in Salesforce, along with a voice code confirmation process that stores the code as a custom setting in Salesforce. Then, you can access opportunities and make updates to them using your voice.\n\n## Pre-requisites\n\nThis is a NodeJS Lambda function and skill defintion to be used by [ASK CLI](https://developer.amazon.com/docs/smapi/quick-start-alexa-skills-kit-command-line-interface.html).\n\nYou need to initialize ASK CLI with \n\n```bash\n$ ask init\n```\n\nYou need an [AWS account](https://aws.amazon.com) and an [Amazon developer account](https://developer.amazon.com) to create an Alexa Skill.\n\nIn order to use the ASK CLI features to automatically deploy and manage your Lambda skill, ensure that you have AWS credentials set up with the appropriate permissions on the computer to which you are installing ASK CLI, as described in [Set Up Credentials for an Amazon Web Services (AWS) Account](https://developer.amazon.com/docs/smapi/set-up-credentials-for-an-amazon-web-services-account.html).\n\nClone or download this repository. Then you need to download NodeJS dependencies :\n\n```bash\n$ (cd lambda/custom \u0026\u0026 npm install)\n```\n\nYou need a [Salesforce Trailhead Playground](https://trailhead.salesforce.com/en/modules/trailhead_playground_management/units/create-a-trailhead-playground).\n\n\n## Objectives\n\nTogether, we'll build a skill that is invoked with the name Salesforce Demo.\n\n```text\nAlexa, open Salesforce Demo\n```\n\nLet's get started!\n\n1. **Salesforce Setup** - Set up a Salesforce org using Trailhead Playground.\n2. **Deploy** - Customize and deploy the provided skill. \n3. **Account Linking** - Create a Connected App in Salesforce to use for Account Linking to the Alexa skill.\n4. **Testing** - Make sure everything works.\n5. **Distribute Private Skills** - Learn about Alexa for Business and how to distribute private skills. \n\n[![Get Started](https://m.media-amazon.com/images/G/01/mobile-apps/dex/alexa/alexa-skills-kit/tutorials/general/buttons/button_get_started._TTH_.png)](./instructions/1-salesforce-setup.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexa-samples%2Fskill-sample-nodejs-salesforce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexa-samples%2Fskill-sample-nodejs-salesforce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexa-samples%2Fskill-sample-nodejs-salesforce/lists"}