HackMD
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions Transfer ownership Delete this note
Export
Google Drive Export to Google Drive Gist
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: bridge title: Matterbridge Slack bot setup --- # Matterbridge Slack bot setup Due to changes in Slack app management interface, please refer to https://github.com/42wim/matterbridge/wiki/Slack-bot-setup for the latest instructions to setup a matterbridge slack bot. ## Old method (not working any more) > The following work doesn't work any more. Please use the setup method in https://github.com/42wim/matterbridge/wiki/Slack-bot-setup How to configure documents, based on [Slack bot setup](https://github.com/42wim/matterbridge/wiki/Slack-bot-setup), using https://g0v-tw.slack.com as an example. 1. Go to Manage App page: https://g0v-tw.slack.com/apps/manage You need to log in with an account that has administrative permissions over the Slack Workspace (server) that you want to setup Matterbridge. ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_fed1947c046cd947c3cb794438e91457.png) 2. :warning: **Don't** click on the "Create App" button. Use [this link](https://api.slack.com/apps?new_classic_app=1) to create a classic app. Set **App Name** to "Matterbridge" and choose the workspace you want to setup Matterbridge as the **Development Slack Workspace**. 3. Go to https://g0v-tw.slack.com/apps/manage, find the Matterbridge App you just created, click on it and click **View in App Directory**. Add a Bot User. You can name the bot "HelloWorld bot" or any name so that people in your workspace knows it's a bot. ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_65de4b4062cef59b97fd5619ae9675e4.png) 4. Go back to [App configure page](https://api.slack.com/apps) ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_5bb2870906195438f6e5cfab2fbdc6cf.png) to configure the App. Save the **Client ID** and **Client secret** to somewhere for later use. 5. Set App scopes as follows ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_f34a6f80660ea4c1dfcd5ae1185f977b.png) ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_ee2ef1609b69c878f24c45de7e6cb243.png) ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_a83b44d91c1f2e33750b8973746518ad.png) 6. The next step is to select user token scopes ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_e796e66ee1d7f601dc7173df07178cf9.png) Selected the following bot token scopes: * bot * channels:write * chat:write:bot * chat:write:user * im:* * mpim:* * users.profile:read Selected bot user: None selected 7. Click **Yes, migrate my app** ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_f6c1542d0d5806790dd3302735d48ed3.png) 8. Once the App has been installed the top of the OAuth & Permissions page will show two tokens: an **OAuth Access Token** starting with xoxp-... and a **Bot User OAuth Access Token** starting with xoxb-.... You will need to use the second in your Matterbridge configuration. --- Note that [RTM](https://api.slack.com/rtm) API is no longer supported. ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_1005eb47f8c168481e5db18f94ee3640.png)

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

Sign in via GitHub

New to HackMD? Sign up

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions

Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.