Skip to content
Snippets Groups Projects
Commit a99e9fbf authored by Sameer Al-Sakran's avatar Sameer Al-Sakran
Browse files

update slack instructions to refer to Bots not test tokens

parent faac4c1c
No related branches found
No related tags found
No related merge requests found
......@@ -13,13 +13,13 @@ You should see this form:
![Slack Settings](images/SlackSettings.png)
Then just click on the large and conveniently placed button `Get an API token from Slack` which will open a new browser tab and send you over to Slack to create the token.
Then just click on the large and conveniently placed button `Create a Slack Bot User for Metabot` which will open a new browser tab and send you over to Slack to create the Bot user account.
Click over to the tab that was opened and you'll now be on the Slack API page under the Authentication section which will show you any API tokens that you have created for your various Slack teams.
Click over to the tab that was opened and you'll now be on the Slack Bot creation page.
![Slack API Auth](images/SlackAPIAuth.png)
Now just click the `Create token` button next to the team you want to integrate with and a token will be generated for you. It will look like `xoxp-etc-etc-etc` and all you need to do is copy that value and head back to Metabase.
Now give the Bot user a helpful name (we suggest `Metabot`) and click the `Add bot integration` button and a bot user will be generated for you. Look for the Bot's API token in the next page. It will look like `xoxp-etc-etc-etc` and all you need to do is copy that value and head back to Metabase.
Paste the value into the text box for `Slack API Token` and click the button to save your changes. That's it! Metabase will automatically run a quick test to check that the API token is working properly and if not you'll get an error message.
......
docs/administration-guide/images/SlackAPIAuth.png

334 KiB | W: | H:

docs/administration-guide/images/SlackAPIAuth.png

76.4 KiB | W: | H:

docs/administration-guide/images/SlackAPIAuth.png
docs/administration-guide/images/SlackAPIAuth.png
docs/administration-guide/images/SlackAPIAuth.png
docs/administration-guide/images/SlackAPIAuth.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -205,14 +205,14 @@ export default class SettingsSlackForm extends Component {
<h3 className="text-grey-1">Answers sent right to your Slack #channels</h3>
<div className="pt3">
<a href="https://api.slack.com/docs/oauth-test-tokens" target="_blank" className="Button Button--primary" style={{padding:0}}>
<div className="float-left py2 pl2">Get an API token from Slack</div>
<a href="https://my.slack.com/services/new/bot" target="_blank" className="Button Button--primary" style={{padding:0}}>
<div className="float-left py2 pl2">Create a Slack Bot User for Metabot</div>
<Icon className="float-right p2 text-white cursor-pointer" style={{opacity:0.6}} name="external" size={18}/>
</a>
</div>
<div className="py2">
Once you're there, click <strong>"Create token"</strong> next to the team that you want to integrate with Metabase, then copy and paste the token into the field below.
Slack test tokens work fine with Metabase.
Once you're there, give it a name and click <strong>"Add bot integration"</strong>. Then copy and paste the Bot API Token into the field below.
</div>
</div>
<ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment