Team Collaboration Integrations ​
TendSocial supports notifications to Slack, Discord, and Microsoft Teams. Following are the setup instructions for each platform.
Slack Integration ​
1. Create a Slack App ​
- Go to api.slack.com/apps and click Create New App.
- Choose From scratch.
- Enter an App Name (e.g., "TendSocial Notifier") and select your workspace.
2. Configure OAuth & Permissions ​
- Navigate to Features > OAuth & Permissions.
- Under Redirect URLs, add your callback URL:(e.g.,
{API_BASE}/api/integrations/channels/callback/slackhttps://api.tendsocial.com/api/integrations/channels/callback/slack) - Scroll down to Scopes > Bot Token Scopes and add the following:
channels:read(View public channels)groups:read(View private channels)chat:write(Send messages)incoming-webhook(Optional, for simple posting)
3. Install App ​
- Scroll up to OAuth Tokens for Your Workspace and click Install to Workspace.
- Copy the credentials to your backend
.envfile.
Required Environment Variables ​
bash
SLACK_CLIENT_ID=your_client_id
SLACK_CLIENT_SECRET=your_client_secret
# This redirect URI must match exactly what you entered in the Slack dashboard
SLACK_REDIRECT_URI=https://api.tendsocial.com/api/integrations/channels/callback/slackDiscord Integration ​
1. Create a Discord App ​
- Go to the Discord Developer Portal.
- Click New Application and give it a name.
2. Configure OAuth2 ​
- Navigate to OAuth2.
- Under Redirects, add your callback URL:(e.g.,
{API_BASE}/api/integrations/channels/callback/discordhttps://api.tendsocial.com/api/integrations/channels/callback/discord)
3. Generate Link (Optional Scope Check) ​
- In the OAuth2 > URL Generator section, select scopes:
botwebhook.incoming
- Under Bot Permissions, select:
Send MessagesView Channels(Note: TendSocial handles the OAuth flow automatically via the frontend connect button using the Client ID).
Required Environment Variables ​
bash
DISCORD_CLIENT_ID=your_client_id
DISCORD_CLIENT_SECRET=your_client_secret
DISCORD_REDIRECT_URI=https://api.tendsocial.com/api/integrations/channels/callback/discordMicrosoft Teams ​
Currently, Microsoft Teams integration is supported via Incoming Webhooks. This does not require a central Azure App registration for the platform itself, but users must configure a connector in their Teams channel.
User Instructions ​
- In Microsoft Teams, navigate to the channel where you want detailed notifications.
- Click ... (More options) > Connectors.
- Search for Incoming Webhook and click Configure.
- Give it a name (e.g., "TendSocial") and upload an image if desired.
- Click Create.
- Copy the Webhook URL provided.
- Paste this URL into TendSocial's integration settings when prompted.
Summary of Environment Variables ​
Add these to apps/backend/.env:
bash
# Slack
SLACK_CLIENT_ID=
SLACK_CLIENT_SECRET=
SLACK_REDIRECT_URI=http://localhost:4000/api/integrations/channels/callback/slack
# Discord
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_REDIRECT_URI=http://localhost:4000/api/integrations/channels/callback/discord