Read channels and users, and post messages as the signed-in Slack user.
This profile ships with Kirak. Add "integrations" to modules in kirak.json, then name the profile as below. There is nothing to download, and a copy in your project's integrations/ folder is an error.
| Variable | Holds |
|---|---|
KIRAK_INTEGRATION_SLACK_CLIENT_SECRET | The OAuth client secret from the vendor's console. Secret: keep it out of kirak.json and out of source control. |
KIRAK_AUTH_ENCRYPTION_KEYS | Encrypts stored tokens. Shared by every integration; the module refuses to start without it. |
The names follow the integration's name in kirak.json (slack here). Name it something else, such as slack_sales, and the variables change to match.
Register this as the redirect (callback) URL in the vendor's console, with your app's address in place of <your-app> (the base_url in kirak.json):
https://<your-app>/integrations/slack/callback
https://<your-app>/integrations/slack/callback as a redirect URL.users:read (Read user profiles in the workspace), channels:read (View basic information about channels)integrations.providers.slack.client_id, and the client secret in the environment as KIRAK_INTEGRATION_SLACK_CLIENT_SECRET. Never put the secret in kirak.json.The vendor's own guide · Instructions out of date? ·Suggest an edit
{
"integrations": {
"providers": {
"slack": {
"type": "oauth2",
"profile": "slack",
"client_id": "your-client-id",
"scope": [
"users:read",
"channels:read"
]
}
}
}
}Merged into the profile: scope replaces the profile's default scopes.
Report a problem ·Suggest an edit to profile.json ·Add a profile ·Vendor docs the profile was checked against
Product names and logos are trademarks of their respective owners. Their use does not imply endorsement. To ask for this icon to be removed, email trademark@kirak.io.