Skip to content

Instantly share code, notes, and snippets.

@douglascayers
Created February 5, 2019 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save douglascayers/b79523ef89ef7536053202d11a4651fb to your computer and use it in GitHub Desktop.
Save douglascayers/b79523ef89ef7536053202d11a4651fb to your computer and use it in GitHub Desktop.
Deploy Chatter Bot for Feeds using Salesforce CLI
# Install Git
# https://git-scm.com/downloads
# Install Salesforce CLI
# https://developer.salesforce.com/tools/sfdxcli
# Authorize to the org you want to install Chatter Bot apps to
sfdx force:auth:web:login -a YourOrgAlias
# Download the Chatter Bot Groups app and deploy to your org (pre-requisite for Chatter Bot Feeds demo)
git clone https://github.com/DouglasCAyers/salesforce-chatter-bot-groups.git
cd salesforce-chatter-bot-groups
sfdx force:mdapi:deploy -u YourOrgAlias -d src --wait 10
sfdx force:user:permset:assign -u YourOrgAlias -n Chatter_Bot_Groups_Admin
cd ..
# Download the Chatter Bot Feeds app and deploy to your org
git clone https://github.com/douglascayers/salesforce-chatter-bot-feeds.git
cd salesforce-chatter-bot-feeds
sfdx force:mdapi:deploy -u YourOrgAlias -d src --wait 10
sfdx force:user:permset:assign -u YourOrgAlias -n Chatter_Bot_Feeds_Admin
# Open your org and continue the getting started at step 3
# https://github.com/douglascayers/salesforce-chatter-bot-feeds#installation--getting-started
sfdx force:org:open -u YourOrgAlias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment