Slack
CLI based Ingestion
Install the Plugin
pip install 'acryl-datahub[slack]'
Config Details
- Options
- Schema
Note that a .
is used to denote nested fields in the YAML recipe.
Field | Description |
---|---|
bot_token ✅ string(password) | Bot token for the Slack workspace. Needs users:read , users:read.email and users.profile:read scopes. |
The JSONSchema for this configuration is inlined below.
{
"title": "SlackSourceConfig",
"type": "object",
"properties": {
"bot_token": {
"title": "Bot Token",
"description": "Bot token for the Slack workspace. Needs `users:read`, `users:read.email` and `users.profile:read` scopes.",
"type": "string",
"writeOnly": true,
"format": "password"
}
},
"required": [
"bot_token"
],
"additionalProperties": false
}
Code Coordinates
- Class Name:
datahub.ingestion.source.slack.slack.SlackSource
- Browse on GitHub
Questions
If you've got any questions on configuring ingestion for Slack, feel free to ping us on our Slack.
Is this page helpful?