Connect to Qlik Sense
Qlik Sense delivers best-in-class cloud analytics that help people of all skill levels to make data-driven decisions and take action.
This article describes how to use Qlik Sense with an Azure Databricks cluster or a Databricks SQL warehouse (formerly Databricks SQL endpoint) to analyze data in Delta Lake.
Note
For information about Qlik Replicate, a solution that helps you pull data from multiple data sources (Oracle, Microsoft SQL Server, SAP, mainframe, and more) into Delta Lake, see Connect to Qlik Replicate.
Connect to Qlik Sense manually
This section describes how to connect to Qlik Sense manually.
Requirements
Before you connect to Qlik Sense manually, you must have the following:
A cluster or SQL warehouse in your Azure Databricks workspace.
The connection details for your cluster or SQL warehouse, specifically the Server Hostname, Port, and HTTP Path values.
An Azure Databricks personal access token. To create a personal access token, do the following:
- In your Azure Databricks workspace, click your Azure Databricks username in the top bar, and then select Settings from the drop down.
- Click Developer.
- Next to Access tokens, click Manage.
- Click Generate new token.
- (Optional) Enter a comment that helps you to identify this token in the future, and change the token's default lifetime of 90 days. To create a token with no lifetime (not recommended), leave the Lifetime (days) box empty (blank).
- Click Generate.
- Copy the displayed token to a secure location, and then click Done.
Note
Be sure to save the copied token in a secure location. Do not share your copied token with others. If you lose the copied token, you cannot regenerate that exact same token. Instead, you must repeat this procedure to create a new token. If you lose the copied token, or you believe that the token has been compromised, Databricks strongly recommends that you immediately delete that token from your workspace by clicking the trash can (Revoke) icon next to the token on the Access tokens page.
If you are not able to create or use tokens in your workspace, this might be because your workspace administrator has disabled tokens or has not given you permission to create or use tokens. See your workspace administrator or the following topics:
Note
As a security best practice, when you authenticate with automated tools, systems, scripts, and apps, Databricks recommends that you use personal access tokens belonging to service principals instead of workspace users. To create tokens for service principals, see Manage tokens for a service principal.
Steps to connect
To connect to Qlik Sense manually, do the following:
Sign in to the Qlik Sense app or website for your organization.
Do one of the following:
- If you have an existing app that you want to use, click the app's tile on the home page to open it.
- If you do not have an existing app, click Add new > New analytics app, and follow the on-screen directions to finish creating the app and to open it.
With the app open, click Prepare > Data manager.
Click Add data > Files and other sources.
For Connect to a new data source, click Databricks.
In the Create new connection (Databricks) dialog, enter the following information:
- For Host name, enter the Server Hostname value.
- For Port, enter the Port value.
- For Database name, enter the name of the database that you want to use.
- For HTTP Path, enter the HTTP Path value.
- In Credentials, for User name, enter the word
token
. - For Password, enter the token.
- For SSL Options, select the boxes Enable SSL, Allow Self-signed Server Certificate, Allow Common Name Host Name Mismatch, and Use System Trust Store.
- For Name, enter a name for this connection, or leave the default name.
- You can leave the rest of the settings in this dialog with their default settings.
Click Test connection.
After the connection succeeds, click Create.
Follow the on-screen directions to add tables to your connection and to filter the tables' data.
Click Next.
Follow the on-screen directions to analyze your data with sheets, visualizations, and other data analytics and visualization resources.
Additional resources
To continue using Qlik Sense, see the following resources: