Slack
How to add Slack to your system
These are your credentials with the platform, not Postiz credentials.
The keys on this page belong to a developer app you register with the platform. Nobody from Postiz will ever ask for them.
Keep them in your environment or a secret manager, never in a committed .env
file, and rotate them at the platform if they leak.
This integration requires that you have a Slack Workspace
Create Slack App
Head to Slack Applications Dashboard and select "From scratch", fill out all the required Information.
Set up OAuth Scopes and redirect URIs
The OAuth2 Redirect URI is the location where the provider will redirect to after a successful login. This needs to be set to your Postiz FRONTEND_URL + /integrations/social/ + {provider}.
You only need to set one OAuth2 Redirect URI when you are setting up your Postiz app.
Your Slack OAuth2 Redirect URI:
- Production:
https://your-postiz-domain.com/integrations/social/slack - Local development:
http://localhost:4200/integrations/social/slack - Docker:
http://localhost:5000/integrations/social/slack
Head to Features > OAuth & Permissions
- Add the redirect URI (see above)
- At Scopes > Bot Token Scopes, add these Scopes:
chat:writechannels:readusers:readgroups:readchannels:join
Set an App Icon
Head back to Settings > Basic Information > Display Information
Now set an Icon that meets these Requirements:
- It has to be a Square
- It has to be 512px×512px to 2000px×2000px
If you do not set an App Icon, Postiz won't let you install the Integration.
Copy Client ID and Secret
Head back to App Credentials, copy the Client ID and Secret and paste it to your Environment:
SLACK_ID=""
SLACK_SECRET=""