<!-- Generated from the canonical OpenPost public page. Do not edit this build artifact. -->

Title: Provider integrations
Description: Configure provider apps for a self-hosted OpenPost instance.
Canonical: https://docs.openpo.st/self-hosting/integrations
Source: [https://docs.openpo.st/self-hosting/integrations](https://docs.openpo.st/self-hosting/integrations)

# Provider integrations

Self-hosting makes you responsible for provider applications, approval, callback URLs, and secrets. Configure one provider, restart OpenPost, connect one real account, and publish a small test post before adding more.

## How configuration works

Set legacy variables for X, LinkedIn, Threads, and Mastodon, or use the structured `OPENPOST_PROVIDER_APPS` JSON registry. The registry also supports Facebook, Instagram, TikTok, YouTube, Pinterest, Telegram, and Discord bot mode. Inject the variable through your deployment secret store so client secrets never enter shell history or Compose files.

Open **Settings → Instance → Configuration → Provider apps** when your instance administrator manages encrypted database rows. Environment values take precedence over matching database rows. Restart after changing provider configuration.

Provider portals: [LinkedIn Developers](https://www.linkedin.com/developers/), [X Developer Portal](https://developer.x.com/), [Google Cloud Console](https://console.cloud.google.com/), [TikTok for Developers](https://developers.tiktok.com/), [Pinterest Developers](https://developers.pinterest.com/), [Bluesky](https://bsky.app/), [Mastodon](https://docs.joinmastodon.org/client/intro/), [Discord Developer Portal](https://discord.com/developers/applications), and [Telegram BotFather](https://t.me/BotFather).

Every OAuth callback uses this shape:

```text
https://your-domain.example/api/v1/accounts/<provider>/callback
```

Set `OPENPOST_APP_URL` to the public origin. The callback registered with the provider must match the configured URL exactly. `OPENPOST_MEDIA_URL` must be public HTTPS for providers that fetch media themselves.

## Guides

- [LinkedIn](https://docs.openpo.st/self-hosting/integrations/linkedin)
- [X](https://docs.openpo.st/self-hosting/integrations/x)
- [YouTube](https://docs.openpo.st/self-hosting/integrations/youtube)
- [TikTok](https://docs.openpo.st/self-hosting/integrations/tiktok)
- [Pinterest](https://docs.openpo.st/self-hosting/integrations/pinterest)
- [Bluesky and Mastodon](https://docs.openpo.st/self-hosting/integrations/bluesky-mastodon)
- [Discord and Telegram](https://docs.openpo.st/self-hosting/integrations/discord-telegram)
