To integrate a Mastodon channel with SocialHub, you need to do the following:
- Create a custom SocialHub channel for your Mastodon integration
- Authorize the SocialHub - Google Integration App to use the Google Business Profile API and the SocialHub Custom Channel
- Authorize the SocialHub - Mastodon app to use the Mastodon API and the SocialHub Custom Channel
Create a custom SocialHub channel
Create a new custom channel
- Go to SocialHub - Channels
- Click on "Add channel"
- Select "Inbox API"
- Give your new custom channel a name and add an image, then click "Save"
- After creating the custom channel, copy the access token and save it for later use
Authenticate client
- Open the following page: https://integrations.production.socialhub.io/mastodon/auth and fill out the form with the SocialHub Custom Channel Access Token from the previous step and the link to the Mastodon server
- Note: You can find out the link to the Mastodon server by going to another browser tab, open your Mastodon profile and then check what is displayed before your username in the address bar at the top (example: https://mastodon.social/@socialhub would mean that you would have to enter https://mastodon.social/ as the Mastodon server)
- Click on "Submit and start authentication"
This will validate your form entries.
You should now be redirected to Mastodon in a new tab.
- Check again that the correct Mastodon account is displayed and then click on "Authorize".
After successful authentication, you will be redirected to the integration app and see a success message.
That's it, you should see the latest Mastodon content in SocialHub in the next few minutes!