Cloud Services


ChatOps integration
Published On May 16, 2024 - 1:59 PM

ChatOps integration

Learn the set-up process for Kyndryl Modern Operations Applications ChatOps, depending on the collaboration tool used for that purpose.

Creating an app in Slack

Before Kyndryl Modern Operations Applications can be connected to Slack, one or more apps must be created in Slack to allow the connection. Only Slack as SaaS is supported. On-premises versions cannot be used.
To create an app in Slack, complete these steps:
  1. In the
    Getting Started
    section, click
    Create your Slack app
  2. Click
    Create an App
  3. In the
    Create an app
    window, select
    From scratch
  4. Enter the following information and then click
    Create App
    • App Name:
      Enter a name for the app.
    • Pick a workspace to develop your app in:
      Select the workspace to create the app in.
  5. Click
    OAuth & Permissions
  6. Click
    Install to Workspace
  7. Either authorize the app or wait for the person responsible for the workspace to authorize it.
  8. Copy the
    Bot User OAuth Token
    and have it ready during the channel creation process.
For an ITSM use case, this bot is automatically created with the default metadata.
For more information about creating a Slack app, see

Configuring Slack app credentials

To configure the Slack app credentials, complete these steps:
  1. In Kyndryl Modern Operations Applications, click the
    menu and select
  2. On the
    IAM: Identity and Access Management
    page, click
    in the navigation pane.
  3. Click
    Add a connection
  4. Enter the following parameters and then click
    • Connection Name:
      Provide a name for the connection.
    • Tag:
      Add an optional tag to help identify the connection.
    • Description:
      Provide an optional informational description of the connection.
    • Technology Category:
      Tools Provider
    • Connection Type:
    • Slack base URL:
      Enter the base URL for the version of Slack to be used.
    • Slack Workplace URL:
      Enter the URL for the workspace within Slack to be used.
    • Category:
    • Bot Token:
      Enter the Bot Token generated during Slack App creation.
When you create a channel, it appends the account abbreviation as a prefix, followed by an underscore (_) and then the incident ID. The first post in the channel will be automatically generated by the system and includes the following information:
  • Event ID
  • Incident ID
  • Priority
  • Impact
  • Description
  • Environment

Setting up ChatOps in Microsoft Teams

Setting up ChatOps in Microsoft Teams involves the following steps.
These steps require administrative privileges in both Microsoft Teams and Microsoft Azure.

Creating an app in Microsoft Teams

Complete these steps to create the app in Microsoft Teams:
  1. Click the
    icon in the navigation pane.
  2. Click
    Manage your apps
    in the
    navigation pane.
  3. Select
    App Studio
    . If this does not appear in your list, click
    Get more apps
    , click
    See all
    in the
    section, and find
    App Studio
    in the list.
  4. Click
    Create a new app
  5. Enter the following information for the app:
    • Short name:
      Enter a shortened version of the app’s full name. For the AIOps ITSM use case, this must be
      Kyndryl Modern Operations Applications_aiops_bot
    • Generate App ID:
      Click to generate an app GUID.
    • Package Name:
      Provide a unique identifier for the package such as com.example.myapp,, and so on.
    • Version:
      Set to 1.0.0.
    • Short description:
      Provide a short explanation of the app.
    • Full description:
      Provide a more detailed explanation of the app.
    • Developer/Company name:
      Enter the name of your company.
    • Website:
      Provide the URL of your company’s website.
    • Privacy statement:
      Enter any statement that you want to include about privacy concerns.
    • Terms of use:
      Provide the terms of use that the user must agree to to use the app, as applicable.
    • Update branding logo:
      Provide a 192 x 192 or 32 x 32 version of your company or desired app logo.
  6. Click
  7. Enter the following information and then click
    Create bot
    • Name:
      Provide a descriptive name for the bot.
    • Scope:
      Select whether the bot will be
      , or
      Group chat
  8. Click
    Generate App password
    and store this password for later.
  9. Click
    and save the app to <Your Directory> app catalog.

Linking to the app in Microsoft Azure

To link to the app in Microsoft Azure, complete these steps:
  1. Click the
    button below
    Manage Azure Active Directory
  2. Click
    App Registrations
  3. Click the application that you created in App Studio.
  4. Copy the Application (Client) Id, Directory (Tenant) Id, and the Client credentials that you generated in step 9 while creating the app.
  5. Click
  6. Select the
    account type.
  7. Navigate to
    API permissions
  8. Select
    Microsoft Graph
  9. Select
    Application permissions
  10. Add permissions for the following applications:
    • AppCatalog.Read.All:
      Read all app catalogs
    • AppCatalog.ReadWrite.All:
      Read and write to all app catalogs
    • Directory.Read.All:
      Read directory data
    • Directory.ReadWrite.All:
      Read and write directory data
    • Group.ReadWrite.All:
      Read and write all groups
    • Team.Create:
      Create teams
    • TeamMember.ReadWrite.All:
      Add and remove members from all teams
    • TeamsAppInstallation.ReadWriteForTeam.All:
      Manage Teams apps for all teams
    • TeamsAppInstallation.ReadWriteSelfForTeam.All:
      Allow the Teams app to manage itself for all teams
    • TeamsAppInstallation.ReadWriteSelfForUser.All:
      Allow the app to manage itself for all users
    • Teamwork.Migrate.All:
      Create chat and channel messages with anyone's identity and with any timestamp
    • TeamworkTag.ReadWrite.All:
      Read and write tags in Microsoft Teams
    • User.Read.All:
      Read all users' full profiles
    • User.ReadWrite.All:
      Read and write all users' full profiles
  11. Click
    Teams app
    Manage app
  12. Locate the app that you created and select
  13. Click the app again and select

Adding members to a channel

To add members to a channel, you must add the members in the incident ticket itself, wherever that ticket is sourced from.
Do you have two minutes for a quick survey?
Take Survey