Integrating with Tableau Cloud
Integrating your Software Asset Management application with the Tableau Cloud application enables you to track your software subscriptions and to reclaim stale licenses.
Important: Minimize security risks and protect information by granting access only to the necessary user or API permissions.
| Process | Required user role in the Tableau Cloud application | Authentication scopes |
|---|---|---|
| Download subscriptions | site administrator | None |
| Pull user activity | site administrator | None |
| Reclaim subscription | site administrator | None |
Register a Tableau Cloud application
Register a Tableau Cloud application through the Tableau Cloud admin portal.
Before you begin
- Activate the Tableau spoke. For more information, see Tableau spoke.
- Tableau Cloud Role required: site administrator
Procedure
Use one of the following authentication types to validate ServiceNow instance requests with Tableau Cloud.
- Personal Access Token (PAT)
- JSON Web Token (JWT)
Validate ServiceNow instance requests with Tableau Cloud using the PAT authentication type.
- Log in to the Tableau Cloud account using admin credentials.
- Select your profile icon.
- Select My Account Settings.
- Scroll down to the Personal Access Tokens section on your profile page.
In the text field, provide a token name.
For example,
Test 1.Select Create Token.
The Personal Access Token is generated with a Token name and Secret.
To copy the Personal Access Token Secret, select Copy Secret.
Important:
Keep the Personal Access Token Secret at a secure place. You would need it when you create a connection record for Tableau.
Validate ServiceNow instance requests with Tableau Cloud using the JWT authentication type.
- Log in to the Tableau Cloud account using admin credentials.
- Select your profile icon.
- From the left-pane, select Settings.
- Select the Connected Apps tab.
- On the Connected Apps page, select the Direct Trust option from the New Connected Apps drop-down list.
- In the Create Connected App dialog box, fill in the Connected app name, Access level, and Domain allow list details.
Select Create.
The Connected App that you created gets displayed on the Connected Apps page. By default, the Connected App is inactive.
To enable the Connected App, select the ellipsis icon
No alternative text supplied
next to the Connected App name and then select Enable.
The status of the Connected App shows as enabled.
9. Select the Connected App name.
Keep the Secret ID and Secret value at a secure place. You would need it when you create a connection record for Tableau.
10. To copy the Client ID, select **Copy Client ID**.
Keep the Client ID at a secure place. You would need it when you create a connection record for Tableau.
Create a Tableau Cloud integration profile
Create an integration profile to track software subscriptions and optimize licensing for the Tableau Cloud service.
Before you begin
To create a Tableau Cloud integration profile, request the Software Asset Management - SaaS License Management plugin (sn_sam_saas_int) from the ServiceNow Store.
ServiceNow Role required: sam_integrator
Important: You must select the Software Asset Management integration with Tableau 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 the Software Asset Workspace, the option to create the integration profile in Core UI is inactive.
Procedure
- Navigate to the integration profile.
| Interface | Action |
|---|---|
| Core UI |
|
| Software Asset Workspace |
|
- On the form, fill in the fields.
| Field | Value |
|---|---|
| Display name | Name of the integration profile. For example, `Tableau integration`. |
| Status | Status of the integration profile.- If you haven't 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 Tableau Cloud Subscription. |
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.
In the Download Subscription Subflow section, verify that the Subflow field is set to Tableau Cloud Download Subscriptions.
Note: The Download subscriptions check box is selected by default and you can't clear it.
In the Reclaim Subscription Subflow section, verify that the Subflow field is set to Tableau Cloud 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.
Select Save.
A draft integration profile is created.
The Connection & Credential field appears and is automatically set to sn_tableau_spoke.TableauCloud.
Open the connection & credential aliases record by selecting the preview icon (
Preview icon.\) beside the **Connection & Credential** field.
Select Open Record in the record preview.
Select the Create New Connection & Credential related link.
On the form, fill in the fields.
| Field | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Please Enter the Connection Information | |||||||||||||||||||||||||
| Connection Name | Name of the connection.This field is automatically set to `Tableau Cloud Connection`. | ||||||||||||||||||||||||
| Connection URL | The URL used for connecting to the server on which Tableau Cloud is installed. For example, `https://| Content URL | The permanent name of the site to sign in to. The content URL appears in the URL path of Tableau content in your browser address bar after the Tableau Server URL. mySite is the content URL in the following example: `http:// | Please Enter the Credential InformationSelect the Personal Access Token \(PAT\) or JSON Web Token \(JWT\) authentication type. The fields change based on the authentication type that you select. | Fields for the PAT authentication type | Token Name | The Token name that you provided while registering the Tableau Cloud application by using the PAT authentication type.For more information, see Register a Tableau Cloud application. | Token Secret | The Token secret that you copied while registering the Tableau Cloud application by using the PAT authentication type.For more information, see Register a Tableau Cloud application. | Expiry Interval \(sec\) | Life span of the generated Personal Access Token (PAT).Default value: 14400 sec Important: You mustn't modify the value of this field. Fields for the JWT authentication type | Secret ID | The Secret ID that you copied while registering the Tableau Cloud application by using the JWT authentication type.For more information, see Register a Tableau Cloud application. | Secret Value | The Secret value that you copied while registering the Tableau Cloud application by using the JWT authentication type.For more information, see Register a Tableau Cloud application. | Username | User name, that is, email address of the authenticated Tableau Cloud user. | Client ID | The Client ID that you copied while registering the Tableau Cloud application by using the JWT authentication type. | Expiry Interval \(sec\) | Life span of the generated JSON Web Token (JWT).Default value: 3600 sec Important: You mustn't modify the value of this field.
What to do nextAfter 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 operations > User subscription > Direct 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:
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. 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.
| |||||