Question
We would like to integrate our Qlik Cloud content into the Digital Hive platform. Is this possible?
Answer
As of the Digital Hive 2024.2 release, it is possible to connect Digital Hive to the Qlik Cloud platform. Before Qlik Cloud content can be accessed through Digital Hive, there is some prerequisite work that needs to happen in the Qlik Cloud administration tool.
Create a Qlik Cloud OAuth Client Configuration
- Log into Qlik Cloud as an administrator with at least the Tenant Admin role granted

- Open the
interface
- Click on the
tab
- Click Create New to create a new Oauth Client Configuration
- Select Web from the Client type dropdown

- Provide a Name and a Description for the client configuration
- Enable the following scopes from the Scopes list



- In the Add redirect URLs prompt box, enter the Digital Hive redirect URL which usually similar to https://digitalhiveserver.domain.com:9443/theia/oauth/authFinish
- Press the + Add button
- In the Add Allowed origins prompt box, enter the root Digital Hive domain which, based on step 8, would be https://digitalhiveserver.domain.com
- Press the + Add button
- Press Create
- The next dialog will contain the Client ID and secret that will be required in Digital Hive

- Press Copy to Clipboard and save these values
- Press Done

Make sure to capture the client secret as it will not be possible to see it again. If the client secret is lost, a new one will have to be regenerated.
Create a Content Security Policy
The next step in Qlik Cloud will be to define a Content Security Policy (CSP) to allow embedding and running of Qlik Cloud content in Digital Hive.
- Open the
tab
- Press Add
- Provide a Name for the CSP
- Enter the Origin which will be the URL for the Digital Hive server. Following the previous example, it would be https://digitalhiveserver.domain.com:9443
- Check the frame-ancestors box. The final values would be:

- Press Add

Failure to add this Content Security Policy would result in Digital Hive being able to index the Qlik Cloud content and users being able to search and browse the content, but users would not be able to launch or embed the content. The 'refused to connect' error that would be displayed to the user would be:
Creating the Digital Hive Qlik Cloud Connector
- Log into Digital Hive as an administrator
- Click on the user avatar and select Manage Digital Hive
- Select Content
- Press the New Connector link
- Select

- Provide a Display Name. This will be the name that is visible to users as they browse and search for content
- Change the Authentication Method to Qlik Cloud Oauth
- Provide the Qlik Cloud Base URL which will look something like this: https://qup9xxxxQh4s.us.qlikcloud.com (make sure that there is trailing space or you will run into issues during the authentication phase)
- Enter the Client ID obtained from Qlik Cloud
- Enter the Client Secret obtained from Qlik Cloud
- Verify that the Redirect URI is the same as what was entered while configuring the Oauth client in Qlik Cloud
- Press Next
- Provide both the System credentials (used for indexing content) and your account credentials
