Skip to main content
Connect your Base44 app to Slack to post messages, alert teammates, and read conversations. Base44 offers two Slack connectors: Slack User connects as a person in your workspace, and Slack Bot posts as a configurable bot identity.
Which type should you use? Use a connector for app builders when everyone shares one Slack connection, for example posting to a company channel. Use a connector for app users when each person connects their own Slack account.
You need a Builder plan or higher to use connectors in your app.

What you can do

Post to channels

Send updates or announcements to a channel when something happens in your app.

Notify teammates

Alert the right people the moment a ticket, deadline, or threshold is hit.

Turn conversations into data

Read channel history to build digests, dashboards, or searchable views.
Example prompts for the AI chat

At a glance

Type identifiers
slack (Slack User), slackbot (Slack Bot)
Auth model
OAuth
Connector types
For app builders, For app users
Connection config
None

Slack User

Acts with a connected user’s permissions. Best for reading channel history, searching messages, tracking mentions, and building dashboards from Slack data.

Slack Bot

Posts as a branded bot you can name and style. Best for incident alerts, release announcements, and scheduled summaries.

Connect it

Connect one Slack account that all flows in your app use.To connect Slack:
  1. Go to your app editor.
  2. Describe what you want to do with Slack in the AI chat.
  3. Review the Action required and Required permissions in the side panel.
  4. Click the Connect button to authorize the required Slack connector.
  5. In the Slack window, select your workspace, review the permissions, and click Allow.
  6. Return to the editor and let the AI finish creating the Slack-powered flows.
To post as a branded bot, use the slackbot connector and prompt the AI chat to set the bot name and icon, for example: Send messages as "Deploy Bot" with a rocket emoji icon.

Use it 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.
This is a simplified example. The setup and full code patterns are the same for every connector. See the developer guides for the complete pattern:

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.

Slack scopes and permissions

When you connect Slack User or Slack Bot, the connector requests permissions (scopes) that control what your app can do in the workspace. Below is the current list of the Slack scopes the connectors may request, grouped by capability.

Slack scopes

Channels (public channels)
  • channels:read: Read information about public channels in your workspace, for example names, topics, and basic metadata.
  • channels:write: Create and manage public channels, or update channel details.
  • channels:history: Read message history from public channels where the app has access.
  • channels:join: Allow the app to join public channels in the workspace.
Messages and content
  • chat:write: Send and update messages in channels, groups, and DMs where the app has access.
  • reactions:read: Read reactions added to messages.
  • files:read: Read information about files shared in conversations the app can access.
Search and users
  • search:read: Search messages and files the connected account can access.
  • users:read: Read basic profile information for people in the workspace.
Scope lists may change over time. Always review the permissions shown during the connection flow. Slack Bot must be added to a private channel before it can post there.

Troubleshooting

The redirect URI registered in your Slack app must exactly match one shown in View redirect URIs for your apps for that app. Each app has its own set of redirect URIs, so add every URI shown for the app you are connecting.
If your Slack app is not available to the workspaces the people using your app are in, they cannot connect. Make your Slack app available to those workspaces so anyone using your app can connect their own account.

FAQs

  1. Go to your app dashboard and click Integrations.
  2. Click the My integrations tab.
  3. Find Slack or Slack Bot and click the More Actions icon , then Switch account.
  4. Complete the Slack authorization flow for the new workspace.
Yes. When you describe Slack messages in the AI chat, you can specify:
  • The text content and formatting.
  • Whether to include fields like IDs, links, and counts.
  • How often and when messages are sent.
You can also open the generated backend functions in Dashboard → Code → Functions to fine-tune the message payload (for example, using blocks for more complex layouts).
Slack Bot must be explicitly added to private channels before it can post messages there.In your Slack workspace:
  1. Open the private channel.
  2. Click the channel name.
  3. Go to the Integrations tab.
  4. Click Add apps and select Base44.
Once added, your app’s Slack Bot can post messages in that channel.
Click the More actions icon on the connector in your app’s Integrations tab, then choose an option such as switch account, reconnect, or disconnect. Learn more about managing connectors.