| 1 | # Add application to mastodon |
| 2 | |
| 3 | 1. Create an mastodon Application |
| 4 | |
| 5 | Go to this url, change the domain to your mastodon website: https://mastodon.social/settings/applications/new |
| 6 | |
| 7 | 2. Set the following values: |
| 8 | |
| 9 | **Application name:** `MatterBridge` |
| 10 | |
| 11 | **Redirect URL:** `urn:ietf:wg:oauth:2.0:oob` |
| 12 | |
| 13 | **Scopes:** |
| 14 | |
| 15 | Check the following: `read`, `profile`, `write:conversations`, `write:statuses` |
| 16 | |
| 17 | Then, save changes. |
| 18 | |
| 19 | 3. Copy tokens to matterbridge.toml |
| 20 | |
| 21 | ```toml |
| 22 | [mastodon] |
| 23 | [mastodon.mymastodon] |
| 24 | Server = "https://mastodon.social" |
| 25 | ClientID = "<Client key>" |
| 26 | ClientSecret = "<Client secret>" |
| 27 | AccessToken = "<Your access token>" |
| 28 | ``` |
| 29 | |