Slack - Amazon Bedrock AgentCore

Amazon Bedrock AgentCore is in preview release and is subject to change.

Slack

You can set up Slack as an outbound provider using Slack OAuth 2.0.

Configuring a Slack OAuth2 application

To configure a Slack OAuth2 application
  1. Create a Slack application, enter an app name, and choose the development workspace where the app will be built.

  2. Choose the OAuth & Permissions section and set the following as the redirect URL for the application:

    • https://bedrock-agentcore.{region}.amazonaws.com/identities/oauth2/callback

  3. Copy the client ID and client secret that Slack issues for your application. You will need them for configuring the provider in AgentCore Identity.

For more details, refer to Slack's documentation Sign in with Slack.

Outbound

To configure the outbound Slack resource provider, use the following:

{ "name": "NAME", "credentialProviderVendor": "SlackOauth2", "oauth2ProviderConfigInput": { "SlackOauth2ProviderConfigInput": { "clientId": "your-client-id", "clientSecret": "your-client-secret", } }, }