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

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 Calendly application Authentication scopes
Download subscriptions admin None
Pull user activity admin None
Reclaim subscription admin None

Create a Calendly OAuth application

Register a public application with the Calendly service so that you can access the Calendly API using OAuth 2.0.

Before you begin

Calendly Role required: admin

You must have a Google or GitHub account to sign up for a Calendly developer.

Procedure

  1. Navigate to Calendly developer portal.
    • If you already have a Calendly developer account, sign in with your credentials and go to step 3.
    • If you don't have a Calendly developer account account, complete step 2.
  2. (Optional) Sign up for a Calendly developer account through your GitHub or Google account by selecting Sign Up on the top-right corner of the Calendly Developer Site page.
    This account isn't associated with your Calendly Google user account.
  3. Navigate to Account > My Apps to create a OAuth application.
  4. Select Create a new app.
  5. On the form, fill in the fields.
  6. Select Save & Continue.

What to do next

Copy your Client ID and Client Secret.

Important:

You must copy these values as you can't access the Client Secret again.

Create a Calendly integration profile

Create an integration profile to track software subscriptions and optimize stale licenses for the Calendly service.

Before you begin

To create a Calendly integration profile, request the Software Asset Management - SaaS License Management (sn_sam_saas_int) from the ServiceNow Store.

ServiceNow Role required: sam_integrator or admin

Important: You must select the Calendly Spoke check box for this integration while installing optional features on the Application Manager page. For more information about choosing the required SaaS applications, see Request SaaS License Management.

About this task

If you’re using Software Asset Workspace, the option to create the Calendly 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 Calendly Integration Profile.
    Software Asset Workspace
    1. Navigate to License operations > User Subscriptions > Direct integration profiles.
    2. Select New.
    3. Select Calendly from the drop-down list.
    4. Select Continue.
  2. On the form, fill in the fields.
    Table 3. Integration Profile form
    Field Description
    Display Name Name of the integration profile. For example, Calendly Integration.
    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.
    Profile Type Type of integration profile.

    This field is automatically set to Calendly Subscription.

  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 table.
    1. In the Download Subscription Subflow section, verify that the Subflow field is set to Calendly 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 Calendly 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.
    3. In the Reclaim Subscription Subflow section, verify that the Subflow field is set to Calendly 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.
  4. Select Save.
    Your ServiceNow instance creates a draft integration profile.

    The Connection & Credential field appears and is automatically set to sn_calendly_spoke.Calendly.

  5. Open the connection & credential aliases record by selecting the preview icon (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 dialog box, fill in the fields.
  8. Select Create and Get OAuth Token.
    Note: For the role required to perform this step, refer to the Minimal user permissions table.
  9. In the Authorize App dialog box, log in to your Calendly account.
    The dialog box closes and then you automatically return to the integration profile form.
  10. 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.

  11. After the connection is verified, select Publish.
  12. In the Publish Confirmation 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.

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.