This is an integration for apps you build with Lovable. Your app can send and read Slack messages through this connection.Want to chat with Lovable inside Slack instead? Use Lovable in Slack.
With Slack, your app can:
- Send messages to channels and direct messages
- Read messages from public and private channels (with the matching scopes)
- List workspace users and channel information
- React to messages with emoji
- Search Slack content (private channels and direct messages need a personal connection)
- Manage channels and invite members (with the matching scopes)
- Run inside Slack as its own agent that replies to mentions and direct messages (see Add your app to Slack as an agent)
Common use cases and example apps
These examples show what you can build with Slack, each with a prompt to start from.How Slack connections work
Lovable uses one centrally managed Slack app to power all Slack connections across workspaces, so you never register your own Slack app for this connector. This is a different Slack app from the one behind Lovable in Slack, and different again from the Slack app you register yourself for the app user connector. Within your Lovable workspace:- Each connection is a separate Slack authorization.
- Each connection can use different scopes, a different access type (bot or personal), and a different Slack workspace.
- Multiple projects can use the same connection.
How to connect Slack
Who can create Slack connections depends on your plan and workspace settings. App + chat connectors are available by default on Free, Pro, and Business plans. On Enterprise plans, they are effectively disabled at first: Who can create connections and clients defaults to No one until an admin changes it in Connectors → Admin settings → App + chat connectors. You can create multiple Slack connections using different Slack workspaces or access types, which is useful for separating environments or messaging several workspaces from one app. When the connection is created, you can link it to the projects where you want to use it. Anyone building in a project can ask Lovable in chat to link their project to it.Prerequisites
Before connecting Slack, make sure you have:- A Slack workspace where you can install apps, or where you can request admin approval to install one
- Permission to create connections in your Lovable workspace (see Who can create connections and clients)
All API requests made through this connector count toward Slack’s rate limits for your workspace. Slack’s terms and quotas are handled by Slack, not Lovable.
Set up your Slack connection
You authorize Lovable with your Slack account. You do not need an API token or a Slack app of your own.1
Open Slack in Connectors
Open Connectors and select Slack. For the other places to open the catalog from, see Where to find connectors.
2
Add a connection
Click Add connection and select App + chat connector.
3
Name the connection
In Display name, name the connection (for example,
Slack Prod). This name is only used inside Lovable to identify the connection.4
Choose the access type
Under Access Type, choose how the connection acts in Slack. You cannot change this after the connection is created.
- Connect as yourself (default): operations run as you, with your Slack permissions, and can reach your personal data such as direct messages if you grant the scopes. Use this for personal search and digests.
- Connect as a bot: operations run as a bot. One bot connection per Slack workspace is enough, and each project can set the bot’s display name and icon. Use this for shared notifications and alerts.
5
Review scopes (optional)
Under Scopes, review the Slack permissions the connection requests. The list changes with the access type. View basic information about public channels in a workspace and View messages and other content in public channels you are in are always included. Selected by default for both access types: sending messages, reading private channels, direct messages, and group direct messages the connection is in, starting direct and group messages, viewing people, and searching public channels, files, and people. Bot connections also select customizing the bot’s name and icon by default. Personal connections also select searching private channels, direct messages, and group direct messages by default.Select only the scopes your app needs. You can change scopes later by editing the connection and reconnecting. For full scope documentation, see the Slack scope reference.
6
Choose who can use this connection
Under Who can use this connection, decide who in your workspace can use the connection. You start as the only person with access:
- Only you (default): leave the access list as is; only you can use the connection and its associated data.
- Invite specific people: add workspace members by email; only you and the people you add can use the connection and its associated data.
- Invite entire workspace: click Invite entire workspace to make the connection available to everyone in your Lovable workspace.
7
Connect to Slack and authorize
Click Connect. The Slack authorization window opens, so make sure your browser doesn’t block pop-ups. If it does, Lovable redirects you instead.Select the Slack workspace you want to connect, review the requested permissions, and authorize the app.You’ll be redirected back to Lovable with a confirmation.
Slack bot behavior and channel access
When you connect Slack as a bot, messages are sent from Lovable’s centrally managed Slack app, which appears in Slack as Lovable App with a heart icon. Each project can define its own bot display name and icon, so different projects can appear as different bots in Slack even though they all send through the same Slack app.Bot customization
You can customize how messages from your project appear in Slack by prompting Lovable to set a custom bot name and icon. For example:Public channel access
The bot has access to all public channels in the workspace without an invitation.Private channel access
You must invite the bot before it can read or post messages in a private channel. In the channel, use/invite and pick Lovable App, the connector’s bot. It is different from the Lovable app you mention to chat with Lovable in Slack. If your app cannot post to a private channel, invite the bot first.
Add your app to Slack as an agent
Lovable can add an app you built to your team’s Slack workspace as its own Slack app, so teammates can use it by mentioning it in a channel or sending it a direct message. The app appears in Slack under its own name, not under Lovable’s. Lovable creates the Slack app, sets its permissions, and stores the keys the app needs to connect, so you do not need to visit Slack’s developer site or copy keys between Slack and Lovable. An app added to Slack as an agent works differently from a shared Slack connection. A shared connection lets your app call Slack, for example to post a message. An app added to Slack as an agent also receives messages from Slack: when someone mentions the app or writes to it, Slack delivers that message to your published app, and your app answers with the behavior you built.Authorize your Slack workspace
A Lovable workspace admin or owner authorizes the Slack workspace once. Every app you add to Slack afterward uses that authorization, so you do not repeat it for each app.1
Open the Slack connector
Open Connectors, select Slack, and scroll to the Your apps in Slack section.
2
Connect the workspace
Click Connect Slack workspace and approve the request in Slack. This gives Lovable permission to create and manage apps in that Slack workspace.
Build the app and add it to Slack
You build the app in the project chat like any other Lovable app. Describe what it should do when someone mentions it or messages it:1
Publish the project
Your published app receives and answers the Slack messages, so publish before installing. The app can be published to the workspace only. You do not need to publish it publicly.
2
Ask Lovable to add the app to Slack
3
Approve the installation if Slack requires it
If your Slack workspace requires admin approval for new apps, Lovable gives you an approval link, and the app’s status shows Waiting for approval until a Slack admin approves it.
4
Publish the project again
Lovable stores the new Slack app’s keys as project secrets, and your live app receives them only on the next publish. Publish once more, and the app is ready to answer messages.
What the app can do in Slack
An app added to Slack as an agent can:- Reply when someone mentions it in a channel it has been added to
- Reply to direct messages
- Post messages and replies under its own name
Manage your apps in Slack
The Your apps in Slack section on the Slack connector page lists every app added from your Lovable workspace, with a link to the project it came from, when it was created, and its status: Installing, Waiting for approval, Ready, or Failed. This section is the only place these apps appear in Lovable: they are not listed in the Connections section with your shared Slack connections. Each project can have one app per Slack workspace. If you ask Lovable to add the same project again, it updates the existing Slack app, including its name, instead of creating a second one. The Slack connection Lovable creates for the app is shared with your entire Lovable workspace. To remove an app, click Remove on its row. Lovable deletes the Slack app, its connection, and the Slack keys it stored as project secrets. This does not change your project’s code, and other apps remain installed. To disconnect a Slack workspace entirely, click Revoke next to the workspace name. This removes Lovable’s permission to create and manage apps in that Slack workspace. You must remove the workspace’s apps before you can revoke it. You can authorize the same workspace again later. Slack admins can see the apps in Slack’s own app management pages and remove or restrict them there. Routine management, such as renaming or removing an app, happens in Lovable.Limitations
The Slack app + chat connector documented on this page cannot:- Receive incoming Slack events, such as mentions or replies. A shared connection has no webhooks or event subscriptions. To respond to mentions and direct messages, add your app to Slack as an agent instead.
- Create slash commands.
- Respond to interactive buttons or modals in real time.
- Support per-end-user Slack login. Each connection represents a single Slack account or bot shared across all projects linked to it. If you need each user of your app to sign in with their own Slack account, use the Slack app user connector.
AI disclosure
Lovable is an AI-powered platform. Apps built with Lovable may generate AI-assisted content such as summaries or notifications. AI-generated outputs may occasionally contain inaccuracies and should be reviewed before use.Manage your connection
Connections are managed from Connectors: select , then open the connection.- Unlink projects to remove access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
- Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use stop working until a new connection is added. See Delete a connection for the steps and who can delete.