You need a Builder plan or higher to use connectors in your app.
What you can do
Keep your team informed with messages and updates from your app.Post to channels
Send updates or announcements to a channel when something happens in your app.
Notify teammates
Send an alert the moment a ticket, deadline, or threshold is hit.
Automate updates
Send recurring digests, reminders, and summaries from your app on a schedule.
Connecting Slack User
Connect Slack User so your app can post as the person who connected it.- App user connector
Connecting Slack Bot
Connect Slack Bot so your app can post as a bot you name and style.- App user connector
To post in a private channel, invite the bot first.
Customizing the bot identity
You can set the bot’s name and icon for each message. Ask the AI chat for the ones you want.Scopes and permissions
Each connector uses its own scopes, and the 2 sets aren’t interchangeable. Selecting a Slack User scope for Slack Bot, or the reverse, causes the connection to fail.Slack User scopes
These permissions let your app post as the connected person.1
Base44 adds
users:read: View people in the workspaceusers:read.email: View email addresses
2
You configure
- Under Scopes,
chat:writeis selected by default to send messages.
Access: Messages post as the connected person, with that person’s Slack permissions.
Slack Bot scopes
These permissions let your app post as your bot.1
Base44 adds
chat:write.customize: Set the bot’s name and icon per messagechat:write.public: Post to public channels without joining
2
You configure
- Under Scopes,
chat:writeis selected by default to send messages as the bot.
Access: Messages post as your bot, with the permissions granted to your Slack app.
Using Slack in a backend function
Once Slack is connected, your backend functions can retrieve an access token and call the Slack API directly. Base44 handles the OAuth flow and token storage.- For a shared connection, use
getConnection()to retrieve the token. - For an app user connection, use
getCurrentAppUserConnection()so each request uses the signed-in person’s token.
Shared connectors
Configure, deploy, and call a shared connection from a backend function.
App user connectors
Retrieve a per-user token and call the API as the signed-in person.
Troubleshooting
Check scopes and workspace access if Slack can’t connect or post messages.The connection fails with an invalid scope error
The connection fails with an invalid scope error
Slack User and Slack Bot use different scope sets and can’t be mixed. Check that you selected only the scopes listed for the connector you’re setting up, and that your Slack app requests those same scopes.
Some people can't connect their Slack User account
Some people can't connect their Slack User account
If your Slack app isn’t distributed, only people in your own Slack workspace can connect. Enable public distribution in your Slack app settings.
FAQs
Can I use Slack User and Slack Bot in the same app?
Can I use Slack User and Slack Bot in the same app?
Yes. They are separate connectors, so add each one you need.
Can I customize what the Slack connector sends?
Can I customize what the Slack connector sends?
Yes. Describe the format, content, and timing you want in the AI chat. You can also go to your app’s dashboard, click Code, and open the generated backend function under
base44 > functions to fine-tune the message payload, for example using blocks for more complex layouts.