You’ll have a Slack app defined in your workspace, and you’ll have a scratch org set up with a connected app. If you follow the Readme’s instructions, you’ll be set. Furthermore, the deploy script handles the creation of the connected app metadata. The starter kit also provides a deploy script, which utilizes Heroku and Heroku conventions - like environment variables - to reduce configuration complexity. For example, it provides a bootstrap version of manifest.yml, and this file bootstraps Slack’s understanding of what your application does. The starter kit simplifies things by providing bootstraps and using convention over configuration. The starter kit works to automate much of this detail work for you! Convention over configuration Worse yet, it’s easy to get configuration functional but insecure. Copy/pasting things is easy to get wrong and hard to debug if you’re mostly successful. The devil, as they say, is in the details. Pretty much every integration project that I’ve ever been part of has had a ton of setup, including detail work like creating and installing keys, certificates, and metadata. To get us started, Mo and Alba Rivas created a delightful Slack ↔ Salesforce development starter kit. To set us up for success, we decided to do some pre-work. That’s a tall order for four episodes of #codeLive. We want users to interact with the app in Slack, but our data will be in Salesforce. Most corporations I know have some sort of process for approving travel, and quite a few (including Salesforce!) have created Salesforce-based travel approval apps. If you need, or want, to build a custom Bolt-based integration, we’ve got something to show you! Salesforce-Slack starter kit If you’ve built a Slack ↔ Salesforce integration already, you likely familiar with those steps. Authenticate and authorize from Bolt to your Salesforce org.Develop and deploy your Bolt SDK middleware.Install the app within your Slack workspace.While you can host your Bolt middleware anywhere, we’ll host ours on Heroku.įor a Bolt-based Slack ↔ Salesforce integration, you’ll need to take the following high-level steps: Each framework provides an idiomatic implementation of the SDK. Bolt is a collection of three language-specific SDKs: JavaScript, Python, and Java. Be sure to check back regularly for announcements on future milestones.įor now - and for teams who’s business needs require them to build it themselves - our option is the Bolt SDK. Foyer is currently in Pilot for our ISV partners. We also recently announced Foyer, which is a set of developer tools that delivers all the plumbing needed to create a Slack app using your existing Salesforce skills. Mo’s post has a great walk through of the options. There are many options to choose from when building a Slack ↔ Salesforce integration, and your app’s functionality needs to drive which integration tool you use to build it. I want to encourage you to give it a read! It’s an excellent foundation for what’s possible, and much of what we do on #codeLive will build on it. When Slack and Salesforce officially joined forces in July, Mo wrote a great blog post about Slack for Salesforce developers. Background and overview of Slack integrations Join us on December 2nd for the first of four episodes! We’ve got a lot to cover in each one, so this blog post will introduce our starting point. Every Thursday in December, Mohith Shrivastava and I are going to #codeLive a travel approval app. Now that Slack and Salesforce are completely integrated, well, the sky’s the limit! I can use shortcuts to create and update records - all within Slack.īut there’s so much more we can do with Slack and Salesforce. That’s why I’ve always preferred asynchronous-but-often-instant communication tools. This is partly due to an often overwhelming daily deluge of email, and partly because my first taste of the internet was through IRC (or Internet Relay Chat). I’m excited that Slack is now part of Salesforce.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |