---
sourceDocument: Zurich IT Asset Management
sourceDocumentLink: https://www.servicenow.com/docs/r/zurich/it-asset-management

 Release :

    - zurich

ft:locale :

    - en-US

ft:publication_title :

    - Zurich IT Asset Management

ft:clusterId :

    - itam

bundleId :

    - itam

workflow :

    - Technology


---

# Integrating with Slack

# Integrating with Slack {#ariaid-title1}

* Release version: Zurich
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 12 minutes to read

Integrating your Software Asset Management application with the Slack application enables you to track your software subscriptions and reclaim unused licenses.

The ServiceNow
Slack integration supports the Slack Enterprise Grid plan. This plan enables you to connect multiple workspaces across your organization.  
Important:  
Minimize security risks and protect information by granting access only to the necessary user or API permissions.{#integrate-with-slack__table_kcp_jts_nbc__entry__3}

| Process | Required user role in the Slack application | Authentication scopes |
|-|-|-|
| Download subscriptions | Org Owner | admin |
| Pull user activity | Org Owner | admin |
| Reclaim subscription | Org Owner | admin |
[ ]

{#integrate-with-slack__table_kcp_jts_nbc}

## Create a Slack Enterprise Grid application {#ariaid-title2}

Create a Slack Enterprise Grid application to manage and connect
multiple workspaces across your organization.

### Before you begin

Role required: Refer to the [Minimal user permissions](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#integrate-with-slack "Integrating your Software Asset Management application with the Slack application enables you to track your software subscriptions and reclaim unused licenses.") table.

### Procedure

1. From a web browser, open [Slack](https://slack.com/).
2. Sign in using your Slack credentials.
3. Go to the [Slack platform](https://api.slack.com/).
4. On the page header of the Slack platform, select Your Apps.
5. On the Your Apps page, select Create New App.
6. Select From Scratch.
7. In the Name app and choose workspace dialog box that opens, enter an application name in the App Name field.
8. From the Pick a workspace to develop your app in: list, select the workspace that you want the application to belong to.
9. Select Create App.  
   The Slack platform creates the application and then redirects you to the Basic Information page. Use this page to view and configure application settings.
10. On the Basic Information page, copy the values in the Client ID and Client Secret fields and save them for later use.
11. Expand the Features section and then select OAuth \& Permissions.
12. On the OAuth \& Permissions page, configure the permissions that enable the interactions between the application and the Slack API.
    1. In the Redirect URLs section, add the URL of the OAuth provider that you want to redirect users to after authentication.  
       1. Select Add New Redirect URL.
       2. When prompted, enter <kbd class="ph userinput">https://&lt;<var class="keyword varname">instance-name</var>&gt;/oauth_redirect.do</kbd>, where \<<var class="keyword varname">instance-name</var>\> is the name of your ServiceNow instance.
       3. Select Add.
       4. Select Save URLs.
       {#create-slack-enterprise-app__ol_cwk_x3t_1nb}
    2. In the User Token Scopes section, add the admin OAuth scope to the application.  
       The OAuth scopes limit the level of access that the application has
       to your users, channels, and workspaces. For more information on Slack OAuth scopes, see [OAuth Permission scopes](https://api.slack.com/legacy/oauth-scopes).
       1. Select Add an OAuth Scope.
       2. When prompted, select admin from the OAuth Scope list.

          This OAuth scope enables the application to administer your workspace.  
          Note:  
          The Description field for the OAuth scope populates automatically.
       {#create-slack-enterprise-app__ol_h5r_5ht_1nb}
    {#create-slack-enterprise-app__substeps_awb_lxs_lnb}
13. Activate your application.
    1. From the side navigation pane, navigate to SettingsManage Distribution.
    2. Under Share Your App with Other Workspaces, expand the Remove Hard Coded Information section.
    3. Verify that your application doesn't contain any hard-coded information, such as OAuth tokens.
    4. After verification, select the I've reviewed and removed any hard-coded information check box.
    5. Verify that you have completed all other sections.
    6. Select Activate Public Distribution.
    {#create-slack-enterprise-app__substeps_odz_qxs_lnb}

## Create a Slack workspace application {#ariaid-title3}

Create a Slack application on each workspace that you want to track
user activity on.

### Before you begin

Role required: Refer to the [Minimal user permissions](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#integrate-with-slack "Integrating your Software Asset Management application with the Slack application enables you to track your software subscriptions and reclaim unused licenses.") table.

### Procedure

1. From a web browser, open [Slack](https://slack.com/).
2. Sign in using your Slack credentials.
3. Go to the [Slack platform](https://api.slack.com/).
4. On the page header of the Slack platform, select Your Apps.
5. On the Your Apps page, select Create New App.
6. Select From Scratch.
7. In the Name app and choose workspace dialog box that opens, enter an application name in the App Name field.
8. From the Pick a workspace to develop your app in: list, select the workspace that you want the application to belong to.
9. Select Create App.  
   The Slack platform creates the application and then redirects you to the Basic Information page. Use this page to view and configure application settings.
10. On the Basic Information page, copy the values in the Client ID and Client Secret fields and save them for later use.
11. Expand the Features section and then select OAuth \& Permissions.
12. On the OAuth \& Permissions page, configure the permissions that enable interactions between the application and the Slack API.
    1. In the Redirect URLs section, add the URL of the OAuth provider that you want to redirect users to after authentication.  
       1. Select Add New Redirect URL.
       2. When prompted, enter <kbd class="ph userinput">https://&lt;<var class="keyword varname">instance-name</var>&gt;/oauth_redirect.do</kbd>, where \<<var class="keyword varname">instance-name</var>\> is the name of your ServiceNow instance.
       3. Select Add.
       4. Select Save URLs.
       {#create-slack-workspace-app__ol_cwk_x3t_1nb}
    2. In the User Token Scopes section, add the admin OAuth scope to the application.  
       The OAuth scopes limit the level of access that the application has
       to your users, channels, and workspaces. For more information on Slack OAuth scopes, see [OAuth Permission scopes](https://api.slack.com/legacy/oauth-scopes).
       1. Select Add an OAuth Scope.
       2. When prompted, select admin from the OAuth Scope list.

          This OAuth scope enables the application to administer your workspace.  
          Note:  
          The Description field for the OAuth scope populates automatically.
       {#create-slack-workspace-app__ol_h5r_5ht_1nb}
    {#create-slack-workspace-app__substeps_awb_lxs_lnb}
13. In the OAuth Tokens \& Redirect URLs section of the OAuth \& Permissions page, select Install App to Workspace.
14. Select Allow.  
    Slack creates the application for the specified workspace.
15. Repeat steps 4 through 13 for each workspace on which you want to create an application.
{#create-slack-workspace-app__steps_ms2_4ys_lnb}

## Create a Slack integration profile {#ariaid-title4}

Create a Slack integration profile to track software subscriptions and
optimize licensing for your Slack applications.

### Before you begin

To create a Slack integration profile, request the Software Asset Management - SaaS License Management plugin
(sn_sam_saas_int) from the [ServiceNow Store](https://store.servicenow.com/).

ServiceNow Role required: sam_integrator  
Important:  
You must select the Slack Spoke check box for this integration while installing optional features on the [Application Manager](https://www.servicenow.com/docs/access?context=application-manager&version=zurich&pubname=zurich-platform-administration&ft:locale=en-US) page. For more information about choosing the required SaaS applications, see [Request SaaS License Management](https://www.servicenow.com/docs/2VPNsKSGv4R503EL5y0Uew "Request the Software Asset Management - SaaS License Management plugin (sn_sam_saas_int) so that you can create and manage integrations with your SaaS and Single Sign-on (SSO) applications. You can use these integrations to track license usage and to reclaim unused licenses.").

### About this task

If you're using Software Asset Workspace, the option to create the Slack integration profile in Core UI is inactive.

### Procedure

1. Navigate to the integration profile.

   | Interface | Action |
   | Core UI | 1. Navigate to AllSoftware AssetSaaS LicenseDirect Integration Profiles. 2. Select New. 3. Select Slack Enterprise Integration Profile. {#create-integration-profile-slack__ol_ijd_bjk_qtb} |
   | Software Asset Workspace | 1. Navigate to License operationsUser SubscriptionsDirect integration profiles. 2. Select New. 3. Select Slack Enterprise from the drop-down list. 4. Select Continue. {#create-integration-profile-slack__ol_wjd_bjk_qtb} |
   |-|-|

   {#create-integration-profile-slack__choicetable_o3p_z3k_qtb}
2. On the form, fill in the fields.  
   {#create-integration-profile-slack__table_bv2_1gv_1nb__entry__2}

   | Field | Value |
   |-|-|
   | Display Name | Name of the integration profile. For example, <kbd class="ph userinput"><span class="keyword">Slack</span> Integration</kbd>. |
   | Status | Status of the integration profile. * If you have not published the integration profile, this field is automatically set to Draft. * If you have already published the integration profile, this field is automatically set to Published. {#create-integration-profile-slack__ul_y5b_q2l_xbc} |
   | Profile Type | Type of integration profile. This field is automatically set to Slack Enterprise Subscription. |
   [Table 1. Integration Profile form]

   {#create-integration-profile-slack__table_bv2_1gv_1nb}
3. Review the required user roles or API permissions specified in the Vendor configuration field for each process to minimize security risks and optimize SaaS licenses.  
   Note:  
   For more information, see [Minimal user permissions](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#integrate-with-slack "Integrating your Software Asset Management application with the Slack application enables you to track your software subscriptions and reclaim unused licenses.") table.
   1. In the Download Subscription Subflow section, verify that the Subflow field is set to Slack Download Subscriptions.  
      Note:  
      The Download subscriptions check box is selected by default and you can't clear it.
   2. In the Calculate Activity Subflow section, verify that the Subflow field is set to Slack Update User Activity.  
      Note:  
      The Download Activity check box is selected by default. If you clear it, the activity scheduled job SAM - Refresh \<displayname\> Activity isn't created.  
      In the Analyze user activity field, you can also select the date and time starting from when you want to analyze the user activity. By default, you can analyze user activity up to 60 days prior to the current date and view events performed by individual users from the time you create this profile.  
      Note:  
      Software Asset Management pulls the events from the time that you start analyzing user activity irrespective of the profile creation date.
      You can modify this value in the Last activity threshold field of your software reclamation rules. For more information, see [Review a software reclamation rule](https://www.servicenow.com/docs/hXAjfp3sn3x4hFFvqm~3Iw "Use reclamation rules to cancel user subscriptions that have limited to no activity.").
   3. In the Reclaim Subscription Subflow section, verify that the Subflow field is set to Slack Reclaim Subscription.  
      Note:  
      The Reclaim subscriptions check box is selected by default. If you don't want to reclaim subscriptions, you can clear this check box. If you clear it, the removal candidates are created but the reclaim subscription subflow isn't triggered or the reclamation process isn't initiated.
   {#create-integration-profile-slack__substeps_rcm_pwm_vcc}
4. Select Save.  
   Your ServiceNow instance creates a draft integration profile.

   The Connection \& Credential field appears and is automatically set to
   sn_slack_ah_v2.Slack_Enterprise.
5. Open the connection \& credential aliases record by selecting the preview icon ![]() next to the Connection \& Credential field and then selecting Open Record in the record preview.
6. On the Connection \& Credential Aliases form, select the Create New Connection \& Credential related link.
7. In the Create Connection and Credential dialog box, fill in or verify the following fields.  
   {#create-integration-profile-slack__table_xd2_qht_lnb__entry__2}

   | Field | Value |
   |-|-|
   | Name | Name of the Slack Enterprise Grid connection. |
   | OAuth Client ID | Client ID that is assigned to your Slack Enterprise Grid application. Enter the same client ID that you copied in [Create a Slack Enterprise Grid application](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#create-slack-enterprise-app "Create a Slack Enterprise Grid application to manage and connect multiple workspaces across your organization."). |
   | OAuth Client Secret | Client secret that is assigned to your Slack Enterprise Grid application. Enter the same client secret that you copied in [Create a Slack Enterprise Grid application](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#create-slack-enterprise-app "Create a Slack Enterprise Grid application to manage and connect multiple workspaces across your organization."). |
   | OAuth Redirect URL | Redirect URL for your Slack Enterprise Grid application. This field populates automatically. |
   [Table 2. Create Connection and Credential dialog box]

   {#create-integration-profile-slack__table_xd2_qht_lnb}
8. Select Configure and Get OAuth Token.  
   Note:  
   For the role required to perform this step, refer to the [Minimal user permissions](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#integrate-with-slack "Integrating your Software Asset Management application with the Slack application enables you to track your software subscriptions and reclaim unused licenses.") table.
9. On the Authorize App dialog box, verify if the Enterprise Grid workspace is available on the top-right list.
10. If the Enterprise Grid workspace is available, select the Enterprise Grid workspace.
11. If the Enterprise Grid workspace isn't available,
    1. Select Add another workspace.
    2. Enter the Enterprise Grid workspace URL.
    3. Select Continue.  
       You get redirected to the Authorize App dialog box.
    4. Select Allow.  
       The OAuth access token becomes available for authorizing your Enterprise connection.
    {#create-integration-profile-slack__substeps_mjn_xmj_hrb}
12. Create a connection between your Slack workspace and your ServiceNow instance to retrieve user data from your workspace.
    1. Open the connection \& credential record set on the integration profile.
    2. Select the Child Aliases tab.
    3. Select New.  
       Tip:  
       If the New button isn't visible, change the scope to the Slack Spoke of the child alias by navigating to the Application scope and reloading the Connection \& Credential Aliases page.
    4. On the new child alias form that opens up, provide a name for the child alias.
    5. Select Submit.
    6. Open the child alias record that you created and select the Create New Connection \& Credential related link.
    7. In the Create Connection and Credential dialog box, fill in or verify the following fields.  
       {#create-integration-profile-slack__table_create-connection__entry__2}

       | Field | Value |
       |-|-|
       | Name | Name of the Slack workspace connection. |
       | OAuth Client ID | Client ID that is assigned to your Slack workspace application. Enter the same client ID that you copied in [Create a Slack workspace application](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#create-slack-workspace-app "Create a Slack application on each workspace that you want to track user activity on."). |
       | OAuth Client Secret | Client secret that is assigned to your Slack workspace application. Enter the same client secret that you copied in [Create a Slack workspace application](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#create-slack-workspace-app "Create a Slack application on each workspace that you want to track user activity on."). |
       | OAuth Redirect URL | Redirect URL for your Slack workspace application. This field populates automatically. |
       [Table 3. Create Connection and Credential dialog box]

       {#create-integration-profile-slack__table_create-connection} {#create-integration-profile-slack__workspace-connection}
    {#create-integration-profile-slack__workspace-connection}
    8. Select Configure and Get OAuth Token.  
       Note:  
       For the role required to perform this step, refer to the [Minimal user permissions](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#integrate-with-slack "Integrating your Software Asset Management application with the Slack application enables you to track your software subscriptions and reclaim unused licenses.") table.
    9. In the Authorize App dialog box, select Allow.  
       The OAuth access token becomes available for authorizing your Slack workspace connection.
    10. Repeat steps a through i for each workspace connection that you want to connect.
    {#create-integration-profile-slack__substeps_h3d_gpf_53c}
13. Return to your ServiceNow instance to associate your Slack workspace connections with the instance.
    1. Navigate to SlackSlack Workspace Tokens.
    2. Select New.
    3. On the Slack Workspace Tokens form, fill in the fields.  
       {#create-integration-profile-slack__table_edh_xvk_fjc__entry__2}

       | Field | Description |
       |-|-|
       | Connection Alias | Name of your Slack workspace connection. Enter the same connection name that you entered in [step g](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#create-integration-profile-slack__workspace-connection). |
       | Workspace Name | The name of the workspace to which your Slack application belongs. |
       | Slack App | Name of your Slack workspace application. Enter the same application name that you entered in [Create a Slack workspace application](https://www.servicenow.com/docs/Smr~9s_TTjqxGCD4nEEOAA#create-slack-workspace-app "Create a Slack application on each workspace that you want to track user activity on."). |
       [Table 4. Slack WorkspaceTokens form]

       {#create-integration-profile-slack__table_edh_xvk_fjc}
    4. Select Submit.
    5. Repeat steps a through d for each workspace connection that you want to associate with your instance.
    {#create-integration-profile-slack__substeps_n1p_pvk_fjc}
14. On the integration profile form, select Validate Connection to verify the connection and credential details of this integration.  
    Validating the connection verifies the Download Subscriptions and Calculate Activity APIs, but not the Reclaim Subscriptions APIs.  
    Important:  
    If you encounter configuration issues while validating the integration profile or retrieving subscriptions, refer to the knowledge base for troubleshooting guidance. For more information, see knowledge base article [KB2536373](https://support.servicenow.com/kb?sys_kb_id=1f87321d93507290d9743f986cba10c1&id=kb_article_view).
15. After the connection is verified, select Publish.
16. In the dialog box, select OK.  
    Note:  
    If you clear the Download Activity check box after the integration profile is published, you must revalidate the connections and then republish the integration profile because the following events occur:
    * The Status field on the integration profile form changes to Draft.
    * The Validate connection button shows up on the form.
    * The current SAM - Refresh \<displayname\> Activity job gets deleted.
    {#create-integration-profile-slack__ul_adf_2v3_ddc}
17. **Optional:** To optimize memory and avoid performance issues in your Slack flow, you can turn off the flow engine reporting level.
    1. Navigate to System PropertiesAll Properties.
    2. Select the system property com.snc.process_flow.reporting.level.
    3. On the System Property page, set the Value to <kbd class="ph userinput">OFF</kbd>.
    4. Select Update.
    {#create-integration-profile-slack__substeps_q41_wv3_ddc}

### What to do next

After the integration connects, your ServiceNow instance automatically creates software models, reclamation rules, and software subscriptions that are refreshed daily.  
After creating an integration profile, view information about the profile in the Software Asset Workspace by navigating to License operationsUser subscriptionDirect integration profiles. You can select an integration profile to view the following related lists. If all of the following related lists aren't visible for an integration profile in the default view, you can select the custom integration view from the Details tab:

* Software Models
* Unrecognized Subscription Identifiers
* Scheduled Jobs
* Scheduled Job Results
* Software Subscriptions
* Subscription Identifier Exclusion Rule
* Subscription User Exclusion Rule
{#create-integration-profile-slack__ul_gxp_qfk_rfc}

After creating an integration profile, you can define subscription exclusion rules to keep certain subscriptions from license cost calculations. For more information, see [Subscription exclusions for SaaS and SSO applications](https://www.servicenow.com/docs/bVJrkophBDLo8JMEiGX_Bw#subscription-exclusions "Define subscription exclusions for your SaaS and SSO applications to optimize your licensing costs by keeping the excluded subscriptions out of license cost calculations.").

If you want to set up multiple integration profiles with unique connections, create child aliases to manage different configurations and settings for each integration profile. For more information, see [Create a child alias to set up multiple integration profiles](https://www.servicenow.com/docs/B3d2wfmwRbcdy~H9gCDy3A "Create a child alias to set up multiple integration profiles with unique connections and manage different configurations for each integration profile.").

Review all automatically generated reclamation rules to reclaim user subscriptions. For more information, see [Review a software reclamation rule](https://www.servicenow.com/docs/hXAjfp3sn3x4hFFvqm~3Iw "Use reclamation rules to cancel user subscriptions that have limited to no activity.").  
Create software entitlements for the automatically generated software models to track used software against owned software.

* For more information on creating software entitlements in the Software Asset Management Core UI, see [Create entitlements in Software Asset Management classic](https://www.servicenow.com/docs/fSB_J0XtiCVH9Yb3z0nl5Q "Create entitlements in the Software Asset Management application classic to record your license details and allocate purchased software rights to users or devices.").
* For more information on creating software entitlements in the Software Asset Workspace, see [Create entitlements in workspace](https://www.servicenow.com/docs/O~JVsyQdaW99Fe~XMND4nA "Create entitlements in the Software Asset Workspace to enter your license details and allocate purchased software rights to users or devices.").
* For more information on creating software entitlements using the Software Asset Management Playbook, see [Create entitlements using the guided walk-through](https://www.servicenow.com/docs/wJ~MxrbMj7k2PMSUNbBcaQ "Use the guided walk-through playbook for a step-by-step process of creating entitlements.").
{#create-integration-profile-slack__ul_cbz_vhr_sqb}  
Reconciliation also runs on your subscriptions as a scheduled job or on-demand. You can view your reconciliation results in the [License Workbench](https://www.servicenow.com/docs/SRttnWmeSWHbtUcWT_EVIg "Review reconciliation results in a simplified workbench view.") (Software Asset Management classic application) or the [License usage view](https://www.servicenow.com/docs/4DsgjV93XfS5XdUvFJKXAw "Use the license usage view as a single plane to understand the license position of all software products, remediate non-compliance, view reconciliation results, view, or add removal candidates, and view Software Asset Management related reports.") (Software Asset Workspace). Use these results to determine your license compliance position and to remediate any non-compliance.

* For more information on running reconciliation in the Software Asset Management classic application, see [Run software reconciliation in Software Asset Management classic](https://www.servicenow.com/docs/4Wmi3GcnvHNlu_55smQiDg "Reconciliation is run as a scheduled job (default is weekly), but you can also run reconciliation manually to reconcile software products in your environment on demand.").
* For more information on running reconciliation in the Software Asset Workspace, see [Run software reconciliation in the workspace](https://www.servicenow.com/docs/zHSY1HGusrWVWkmoXuMwWA "Reconciliation is run as a scheduled job (default is weekly), but you can also run reconciliation manually to reconcile software products in the Software Asset Workspace environment on-demand.").
{#create-integration-profile-slack__ul_qgf_zhr_sqb}

*[\>]: and then


