Add slack and github connectors

This commit is contained in:
mudler
2024-04-09 18:24:47 +02:00
parent 414a973282
commit 4453f43bec
11 changed files with 423 additions and 34 deletions

38
slack.yaml Normal file
View File

@@ -0,0 +1,38 @@
## To install:
## Create an app from this manifest.
## Generate tokens:
## appLevel token from "Basic Information" -> "App-Level Tokens" ( scope connections:writeRoute authorizations:read )
## bot token from "OAuth & Permissions" -> "OAuth Tokens for Your Workspace"
## When configuring the connector, supply the tokens with:
## { "botToken": "OAuth Tokens for Your Workspace", "appToken": "App-Level Tokens" }
display_information:
name: LocalAgent
description: LocalAgent bot
background_color: "#0040ff"
features:
bot_user:
display_name: LocalAgent
always_online: true
oauth_config:
scopes:
bot:
- app_mentions:read
- channels:history
- channels:read
- chat:write
- commands
- im:history
- im:read
- im:write
- users:read
- users:read.email
settings:
event_subscriptions:
bot_events:
- app_mention
- message.im
interactivity:
is_enabled: true
org_deploy_enabled: false
socket_mode_enabled: true
token_rotation_enabled: false