Skip to content

Mastodon Setup

Connect your Mastodon account to POSSE Post so it can publish posts on your behalf. Configure each content type with its own format string and field mappings.

What you need

  • Base URL — the base URL of your Mastodon instance, e.g. https://mastodon.social (entered directly in the account form)
  • Access Token — authorizes POSSE Post to publish posts to your account (stored as an environment variable)

Step 1: Create a new application in Mastodon

  1. In your Mastodon account settings, click Development in the sidebar, then click New application.
  2. Give the application a name (e.g. POSSE Post) and enter your site URL.
  3. Scroll to Scopes. Leave profile checked and also check write:statuses. Click Submit.
  4. Once created, click the name of your new application to open its detail page.
  5. Copy the Access token shown on that page.

Step 2: Add Mastodon to POSSE Post

  1. Go to Add social account and select Mastodon as the platform. Update the Label to your Mastodon handle (e.g. @yourname@mastodon.social).
  2. Add each content type you want to crosspost from.
  3. In the Mastodon credentials section, enter your instance URL in the Base URL field (e.g. https://mastodon.social). This is saved directly in configuration.
  4. Add your access token to your .env file as MASTODON_ACCESS_TOKEN.
  5. Save the account.

The access token is read from the environment at publish time and is never stored in the database or exported with configuration.