Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (25 loc) · 2.8 KB

File metadata and controls

36 lines (25 loc) · 2.8 KB

Alexa Skill Sample - Sales Assistant

Salesforce SetupDeployAccount LinkingTestingDistribute Private SkillsDistribute Private Skills

Part 2: Heroku

In this part, we will deploy our Heroku app and set up Heroku Connect to talk to your Salesforce instance.

Deploy Heroku App

Deploy

Make sure to save your full application path, as you'll need in Part 3.

Heroku Connect Setup

  1. Go to your Heroku Dashboard and select the application you just deployed. Alternatively, from the Heroku deployment page, click Manage App.
  2. Under Installed add-ons, click on Heroku Connect.
  3. Click Setup Connection. This will detect the Heroku Postgres add-on details and configure Heroku Connect with them.
  4. Click on the highlighted row that has DATABASE_URL to select this as your desired Postgres database.
  5. Click Next on the Provision Connection screen.
  6. Click Authorize.
  7. Log in to your Salesforce account you just created in Step 1.
  8. Click Allow.
  9. You should now be on the Heroku Connect Overview page showing your connection details. The next step will be to add mappings to your Salesforce objects.

Configure Heroku Connect Mapping

  1. Click on the Settings menu and click on Import/Export Configuration.
  2. Click Import.
  3. Click Browse....
  4. Browse to this file in the repo you cloned: skill-sample-heroku-sales-assistant/connect_config/sales_assistant_connect_config.json
  5. Click Upload.
  6. Your Heroku Connect setup should import the Opportunity and Period mappings and synchronize data from your Salesforce to your local Heroku Postgres instance.

Next