Prism
Community Edition
Deprecated v2.1.4Installation Steps
Installation Steps
CLI
For a shorter method of installing the plugin, follow the steps belowTerminal/Powershell
Clone Repository
git clone https://github.com/fraktlfx/prism-slack.git SlackInstall Requirements
pip install -r requirements.txt -t ./PythonLibsManual
For a more manual method of installation, follow the steps belowDownload
Unzip
Rename (Optional)
Move
Reload Prism
Slack API’s
We did not include the Slack API’s in the repository to limit the size of it. You can either download the release package or you can download it on your own.If you chose to download it on your own, please follow the steps below to do so.Install Slack SDK
pip install slack_sdkInstall Slack Bolt
pip install slack_boltLocate Slack package install locations
pip show slack_sdk
pip show slack_boltCopy/Move the packages
{PRISM_PLUGIN_DIRECTORY}/Slack/PythonLibs
Studio Edition
Installation Steps
Installation Steps
Download

Unzip and Move
Install Requirements
Windows
Windows
install_packages.bat file in order to install the required packages to make the Slack Studio Edition plugin work.We will make an attempt to locate your Python executable that comes bundled with Prism, but if we are not able to find it, we will ask you to input the path to it. We do this because we need to know what version of Prism
you are running in order to install the proper libraries.MacOS
MacOS
install_packages.command file in order to install the required packages to make the Slack Studio Edition plugin work.When installing on the mac, you will likely be hit with a quarantine message saying thatApple could not verify “install_packages.command” is free of malware that may harm your Mac or compromise your privacy.When trying to install by clicking on install_packages.command. To get the file to run, you need to then go into Settings -> Privacy & Security -> Scroll to the bottom and select “Open Anyway”.You can also open the file in a text editor to make sure that we aren’t putting anything malicious on your machine if you have security concerns.
Linux
Linux
install_packages.desktop file in order to install the required packages to make the Slack Studio Edition plugin work.Compared with the Windows edition of the plugin, the Linux version is going to require some level interaction from the user. As we are installing libraries according to the Prism python executable, we need to
know where the location of your Prism installation resides. So when you run the script, it will ask you to input the path to your Prism installation, then we handle things from there.License the Plugin
Slack
Slack Prism App
Use the Provided Manifest
manifest.yml file in the Resources folder of the repository/plugin directory. This file simplifies the bot creation process.If you are unable to locate the file, you can expand the section below to see its contents based on the edition of the plugin.Community Edition Manifest
Community Edition Manifest
Studio Edition Manifest
Studio Edition Manifest
Create your Slack app
Creating Apps using manifests

Customize the App Icon
Under the Display Information section, upload an App Icon to personalize your app.

Install the App
Install the app into your Slack workspace

Obtain your Client ID and Client Secret
Go to the Basic Information page in the left-hand menu.
Copy the Client ID and Client Secret displayed on this page.

Enter Client ID and Client Secret in Prism Settings
Open the Slack Project/Studio settings page in Prism. Paste the copied Client ID and Client Secret in the appropriate fields.

Obtain the Bot User OAuth Token
Copy the Bot User OAuth Token displayed on this page. It should start like this:
xoxb-
Enter the token in Prism Settings

Obtain the Bot App-Level Token
Select the Write token to open a window that contains a token that starts with:
xapp-If you do not see a token, then generate the Write Token

Enter App-Level Token

PRISM_STUDIO_PATH
A Prism environment variable that defines the location of the Studio configuration file. Because the Slack plugin configuration file is stored in the same directory by default, pointing this variable to the Studio config ensures the Slack config can be located automatically. This allows Prism+ and non-Prism+ machines to work together without running into missing Slack configuration issues.
PRISM_SLACK_CONFIG_PATH
A Slack plugin environment variable that will allow you to point to a custom location to store and look for the Slack configuration file. This is useful if you want to keep the Slack configuration separate from the Studio configuration or if you want to point to a shared location for the Slack config that all machines can access.