Skip to content

Commit

Permalink
fixes for slack and its docs (airbytehq#2091)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgardens authored Feb 17, 2021
1 parent d5f4a80 commit c7281c0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sourceDefinitionId": "41375467-61ae-4204-8e38-e2b8b7365f23",
"name": "Slack",
"dockerRepository": "airbyte/source-slack-singer",
"dockerImageTag": "0.1.3",
"dockerImageTag": "0.1.4",
"documentationUrl": "https://hub.docker.com/repository/docker/airbyte/source-slack-singer"
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
- sourceDefinitionId: 41375467-61ae-4204-8e38-e2b8b7365f23
name: Slack
dockerRepository: airbyte/source-slack-singer
dockerImageTag: 0.1.3
dockerImageTag: 0.1.4
documentationUrl: https://hub.docker.com/repository/docker/airbyte/source-slack-singer
- sourceDefinitionId: 59f1e50a-331f-4f09-b3e8-2e8d4d355f44
name: Greenhouse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV CODE_PATH="source_slack_singer"
ENV AIRBYTE_IMPL_MODULE="source_slack_singer"
ENV AIRBYTE_IMPL_PATH="SourceSlackSinger"

LABEL io.airbyte.version=0.1.3
LABEL io.airbyte.version=0.1.4
LABEL io.airbyte.name=airbyte/source-slack-singer

WORKDIR /airbyte/integration_code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def transform_config(self, raw_config):
return {
"token": raw_config["token"],
"start_date": raw_config["start_date"],
"private_channels": str(raw_config["private_channels"]),
"join_public_channels": str(raw_config["join_public_channels"]),
"exclude_archived": str(raw_config["exclude_archived"]),
"private_channels": False,
"join_public_channels": False,
"exclude_archived": True,
"date_window_size": "7",
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"token": {
"type": "string",
"description": "The Slack API token to interact with your Slack workspace."
"description": "The Slack API token to interact with your Slack workspace.",
"airbyte_secret": true
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/integrations/sources/slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ This tutorial assumes that you are an administrator on your slack instance. If y
This may look daunting, but the search functionality in the dropdown should make this part go pretty quick.

6. Scroll to the top of the page and click "Install to Workspace". This will generate a "Bot User OAuth Access Token". We will need this in a moment.
7. Now go to your slack instance. For any public channel go to info => more => add apps. In the search bar search for the name of your app. \(If using the desktop version of slack, you may need to restart Slack for it to pick up the new app\).
7. Now go to your slack instance. For any public channel go to info => more => add apps. In the search bar search for the name of your app. \(If using the desktop version of slack, you may need to restart Slack for it to pick up the new app\). Airbyte will only replicate messages from channels that the Slack bot has been added to.

![](../../.gitbook/assets/slack-add-apps.png)

8. In airbyte, create a Slack source. The "Bot User OAuth Access Token" from the earlier should be used as the token.
8. In Airbyte, create a Slack source. The "Bot User OAuth Access Token" from the earlier should be used as the token.
9. You can now pull data from your slack instance!

### Setup guide \(Legacy API Key\)
Expand Down

0 comments on commit c7281c0

Please sign in to comment.