Integrating with Aha!

  • Release version: Xanadu
  • Updated August 1, 2024
  • 4 minutes to read
  • Integrating your Software Asset Management application with the Aha! service enables you to track your software subscriptions and to reclaim unused licenses.

    For more information about the Aha! service, see Aha! Product management guide.

    Important:
    Minimize security risks and protect information by granting access only to the necessary user or API permissions.
    Table 1. Minimal user permissions
    Process Required user role in the Aha! application Authentication scopes
    Download subscriptions admin None
    Pull user activity admin None
    Reclaim subscription admin None

    Create an Aha! OAuth2 application

    Create an Aha! OAuth2 application to get access to the Aha! API.

    Before you begin

    Aha! Role required: admin

    Procedure

    1. Go to OAuth2 Authentication.
    2. Log in to the Aha! site using your admin credentials.
    3. On the Personal settings page, select Developer.
    4. Select the OAuth applications tab.
    5. Select Register OAuth application.
    6. On the Register new OAuth application form, enter https://instance/oauth_redirect.do as the Redirect URI, where instance is the name of your ServiceNow instance.
    7. Select Create.
      The OAuth applications tab shows Client ID and Client Secret keys.
    8. Note down the values in the Client ID and Client Secret fields.

    Set up ServiceNow instance for Aha!

    Set up your ServiceNow instance to add the Aha! Client ID and Client Secret keys.

    Before you begin

    ServiceNow Role required: admin or sam_integrator

    Procedure

    1. Log in to your ServiceNow instance.
    2. Navigate to Connection & Credentials > Connection & Credentials Aliases.
      Connection & Credentials Aliases page appears and shows the list of apps.
    3. Locate and open the Connection & Credentials record for Aha!.
    4. Select the Create New Connection & Credential related link.
    5. On the Create Connection and add Credential form, fill in the details.
      Table 2. Create Connection and add Credential form
      Fields Descriptions
      Connection Name Name of the integration profile.
      Connection URL Connection URL for Aha!.
      OAuth Client ID OAuth2 key that you received while creating an OAuth2 authentication from the Aha! site.
      OAuth Client Secret OAuth Client Secret key that you received while creating an OAuth2 authentication from the Aha! site.
      OAuth Redirect URL ServiceNow redirect URL.
    6. Select Configure and get OAuth Token and then select Authorize.
      Note:
      For the role required to perform this step, refer to the Minimal user permissions table.

    Create an Aha! integration profile

    Create an integration profile to track software subscriptions and optimize licensing for the Aha! service.

    Before you begin

    To create an Aha! integration profile, request the Software Asset Management - SaaS License Management plugin (sn_sam_saas_int) from the ServiceNow Store.

    ServiceNow Role required: sam_integrator or admin

    About this task

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

    Procedure

    1. Navigate to the integration profile.
      InterfaceAction
      Core UI
      1. Navigate to All > Software Asset > SaaS License > Direct Integration Profiles.
      2. Select New.
      3. Select Aha Integration Profile.
      Software Asset Workspace
      1. Navigate to License operations > User Subscriptions > Direct integration profiles.
      2. Select New.
      3. Select Aha! from the drop-down list.
      4. Select Continue.
    2. In the Display name field, enter a display name of your choice.
      On the form, the following fields are automatically populated.
      Table 3. Aha! Integration Profile form
      Field Value
      Connection & Credential Alias sn_aha_spoke.Aha_
      Status Draft
      Profile Type Aha! Subscription
      Download Subscription Subflow Aha! Download Subscription
      You can view events performed by individual users up to one year prior to the current date. For more information, see Review a software reclamation rule.
      Note:
      Software Asset Management pulls the events from the time that you start downloading user subscriptions irrespective of the profile creation date.
      Reclaim Subscription Subflow Aha! Reclaim Subscription
    3. Select Create and Get OAuth Token.
    4. After the Aha! form is saved, select Publish.

    What to do next

    After the integration connects, your ServiceNow instance automatically creates software models, reclamation rules, and software subscriptions that are refreshed daily.

    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.

    Review all automatically generated reclamation rules to reclaim user subscriptions. For more information, see Review a software reclamation rule.

    Create software entitlements for the automatically generated software models to track used software against owned software.
    Reconciliation also runs on your subscriptions as a scheduled job or on-demand. You can view your reconciliation results in the License Workbench (Software Asset Management classic application) or the License usage view (Software Asset Workspace). Use these results to determine your license compliance position and to remediate any non-compliance.