Slack connector - Writer AI Studio
Set up the Slack connector
Configure the Slack connector in AI Studio under Connectors & Tools. The Slack connector supports two authentication options:
- WRITER-managed OAuth (recommended): Writer provides the OAuth application. No setup required - just authorize access to your Slack workspace.
- Organization-managed OAuth: Create your own Slack OAuth application for custom branding and control.
Most users should choose WRITER-managed OAuth for faster setup. Only use organization-managed OAuth if you need custom branding or have specific security requirements.
Create a Slack OAuth application (organization-managed only)
Create an OAuth 2.0 application in Slack:
- Navigate to the Slack API Apps page
- Create a new app (select “From scratch”)
- Navigate to OAuth & Permissions in the sidebar
- Under Scopes, locate the User Token Scopes section (not Bot Token Scopes) and add the required scopes
- Add the Writer redirect URI to Redirect URLs:
https://app.writer.com/mcp/oauth/callback
If your organization is deployed in the EU, use https://app.eu2.writer.com/mcp/oauth/callback instead.
- Under Advanced token security via token rotation, enable Token Rotation
- Navigate to Basic Information
- Copy the client ID and client secret for use in AI Studio
For detailed instructions, see Slack’s OAuth documentation.
Required OAuth scopes
search:read.public- Search public channel contentsearch:read.private- Search private channel contentsearch:read.mpim- Search multi-party direct messagessearch:read.im- Search direct messagessearch:read.files- Search filessearch:read.users- Search user informationchat:write- Send messages as the userchannels:history- View messages in public channelsmpim:history- View messages in multi-party direct messagesim:history- View messages in direct messagescanvases:read- View Canvas documentscanvases:write- Create and edit Canvas documentsusers:read- View users in the workspaceusers:read.email- View email addresses of users
OAuth scopes are fixed per connector and cannot be customized based on enabled tools. When users authorize the Slack connector, they will grant all the scopes listed above, even if you disable certain tools in AI Studio.
Configure the connector in AI Studio
- Navigate to Connectors & Tools in AI Studio
- Select the Slack connector
- Select who has access by default (all users or specific teams)
- Select the connection type:
- Level: User level (each user authenticates their own account) or org level (shared connection to a single account)
- Managed by: WRITER-managed or self-managed (your own OAuth app)
- Select which tools to enable for your agents
- Enter your OAuth client ID and client secret (if using self-managed OAuth)
- Complete the OAuth authorization flow
Next steps
- Set up connectors: Learn how to configure and enable connectors in AI Studio
- Tool calling guide: Understand how AI agents use tools in conversations
- WRITER Agent guide: Learn how to use WRITER Agent with connected tools
- MCP gateway overview: Learn about Writer’s MCP gateway architecture