# Connect Slack

Connect **Slack**, and your apps can work with your channels, groups, and messages as you. The agent builds the app with Slack wired in, and the app signs you in the first time you use a feature that needs it. It's the foundation for any app that needs to do something with your Slack data.

## Connect Slack

You add Slack to your app while building it. Signing in happens later, in the running app, and it's always you who authorizes it, never the agent.

1. **Open the Integration menu**: In the **Agent Chat**, click **the Plus button** in the composer and click ** Integration**.
2. **Choose Slack**: Select **Slack** from the list of built-in connectors. Glaze uses a ready-made Slack preset, so there's no Slack app to register.
3. **Build with it**: Slack is now wired into this project. Describe what you want and the agent builds the feature on top of Slack.
4. **Sign in and pick your workspace**: The first time you run a feature that needs Slack, the app opens Slack's authorization page in your browser. Choose the **workspace** you want to connect, review what's being requested, and approve. Slack hands back to the app, which acts as you from then on.

> [!NOTE]
> The agent doesn't sign you in or hold your credentials. It builds the app with Slack wired in; you authorize Slack yourself, in the running app, the first time you use it.

## Permissions You Grant

When you sign in, Slack shows its OAuth authorization screen, which you approve before your app can read or post anything. The agent asks for only what a feature needs, so an app that just lists channels won't request message content, and a notifier asks for just enough to post. A connection is tied to the workspace you authorize; to use a different one, reconnect and pick it when Slack asks.

## Using Slack in a Prompt

With Slack added to your app, describe what you want and the agent builds it:
- Show my unread channels with the latest message in each.
- Create a button that posts my standup update to a channel I pick.
- Search my workspace for messages mentioning a keyword and list the results.

> [!NOTE]
> Slack is connected per project, so each app you build gets its own connection, which keeps each app's access scoped to what it actually needs.

## Managing the Connection

To re-authorize, switch workspaces, or revoke Slack access later, see [Managing Connections](/integrations/managing-connections). Your access token is stored encrypted on your Mac, protected by the Keychain, never in plain text. See [Glaze Privacy & Data](/account/privacy-and-data) to learn more.
