Authentication
These are the supported authentication methods for Slack in Tempest:API Token
Ensure your Slack API token has appropriate permissions for all features you
plan to use through Tempest.
- Slack API Token (Bot token)
How to get a Slack API Token
How to get a Slack API Token
1
Create a Slack App
Create a Slack App in your workspace through the Slack API website. Select “From manifest” and then select your workspace.
2
Add Manifest
Paste in the JSON app manifest found below:
manifest.json
3
Install the App
In the sidebar, click “Install App” and install it in your workspace. Save the Bot User OAuth Token which is shown after the app is installed—it should start with
xoxb
.4
Access Recipes
Navigate to Recipes in Tempest and create or select a recipe.
5
Add Slack Resource
Add or select a Slack resource in your recipe.
6
Link Credentials
Click “Add credentials” then “+Link credentials.”
7
Select Authentication Method
Select “API Token.”
8
Name Credentials
Enter a credential name for identification.
9
Enter API Token
Input your Slack OAuth or Bot token.
10
Complete Connection
Click “Connect.”
Resources
Channel
Create, manage, and import Slack channels within your workspace. Configuration options:- Channel name (required): The name of the channel, in alphanumeric with hyphens and underscores only
- Channel topic: The topic of the Slack channel
- ID: The Slack channel identifier
- Name: The name of the channel
- Topic: The channel topic
- Is Private: Whether the channel is private
- Created: Date when the channel was created
- Creator: The ID of the user who created the channel
- Number of Members: The count of members in the channel