Getting Started with Slack

Let's first get you started by running your first Slack Integration using our demo creds, authorizing against your Slack Instance of your choice and sending yourself a DM with a "Hello World from Fusebit!" message.

  1. Use the Fusebit Management Portal to create an account and log in.
  2. Create a new Integration using one of our Slack templates

  1. You will then be able to run the Integration, download it's code, modify it, and deploy your changes. Detailed instructions on how to get started with an Integration are available here.

The Integration template comes pre-configured with some example calls that invoke Slack's API, for example:

const result = await slackClient.chat.postMessage({
  text: 'Hello world from Fusebit!',
  channel: 'demo',
 });

The slackClient object provided by Fusebit is an instance of the @slack/web-api npm package. The full reference documentation for the package is available here.

Fusebit ensures the above SDK object is already bootstrapped with the Slack credentials of the user invoking the integration. You do not need to worry about obtaining an access token or refresh token -- Fusebit does that for you automatically.

πŸ‘

Message Received!

Congratulations - if you received a notification in your Slack, you have already fired off your first Slack Integration already!

This integration currently uses our demo credentials and has limited functionality, in the next section, we will walk through how to set up your own app with Slack and configure it in Fusebit!


What’s Next