> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Qlik with OAuth 2.0 (Multiple Companies) – StackOne Hub

> Link a Qlik account in the StackOne Hub using OAuth 2.0 (Multiple Companies). End-user guide to authorize the integration and start using Qlik actions.

> [!WARNING]
>
> Tenant Admin role is required to create OAuth clients. The client only works for the tenant it was created in.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Create an OAuth client

Register an OAuth client in your Qlik Cloud tenant to obtain the Client ID and Client Secret you enter when linking.

**1. Open the OAuth settings**

Sign in to [Qlik Cloud](https://qlikcloud.com) with a Tenant Admin account.

<ul>
  <li>Click the navigation menu (☰) in the top left, then select **Administration**.</li>
  <li>In the **Administration** activity center, click **OAuth** in the left sidebar.</li>
  <li>Click **Create new** in the top right corner.</li>
</ul>

**2. Configure the OAuth client**

In the **Create new OAuth client configuration** dialog, fill in the details.

<ul>
  <li>**Client type**: **Web**</li>
  <li>**Name**: a name for the client, for example `StackOne Integration`</li>
  <li>**Description**: optional</li>
</ul>

**3. Select scopes**

Enables actions: Activate Brand, Add Item To Collection, Assign User Or Group To A Space, Change Automation Owner, Change Automation Space, Count Users, Create A Space Share, Create Automation, Create Collection, Create Space, Create User, Deactivate Brand, Delete A Space Share, Delete An Assignment, Delete Automation, Delete Brand, Delete Brand File, Delete Collection, Delete Extension, Delete Item, Delete Space, Delete User, Disable Automation, Duplicate Automation, Enable Automation, Export Automation Run Log, Filter Users, Get Active Brand, Get An Item, Get Automation, Get Automation Run, Get Automation Usage Metrics, Get Brand, Get Brand File, Get Collection, Get Current User, Get Extension, Get Extension Archive, Get Extension File, Get Item, Get Items Settings, Get Space, Get Unified Credentials, Get Unified Group, Get Unified Organization, Get Unified Role, Get Unified User, Get User, Get User's Favorites Collection, Invite Users, List Assignments For A Space, List Automation Runs, List Automations, List Brands, List Collections, List Collections Of An Item, List Extensions, List Items, List Items In A Collection, List Space Shares, List Space Types, List Spaces, List Unified Groups, List Unified Organizations, List Unified Resource Types, List Unified Resource Users, List Unified Roles, List Unified Users, List Users, Move Automation, Remove An Item, Retrieve A Space Share, Retrieve An Assignment For A Space, Retry Automation Run, Run Automation, Stop Automation Run, Update An Assignment For A Space, Update Automation, Update Brand, Update Collection, Update Item, Update Space, Update User

Under **Scopes**, select the scopes you need. **user\_default** and **offline\_access** are required for the connection to succeed.

<ul>
  <li>
    user\_default
  </li>

  <li>
    admin\_classic
  </li>

  <li>
    offline\_access
  </li>

  <li>
    admin.automations
  </li>

  <li>
    admin.automations:read
  </li>

  <li>
    admin.collections.publicgoverned
  </li>

  <li>
    admin.extensions
  </li>

  <li>
    admin.spaces
  </li>

  <li>
    admin.spaces:read
  </li>

  <li>
    admin.themes
  </li>

  <li>
    admin.users
  </li>

  <li>
    admin.users:read
  </li>

  <li>
    apps
  </li>

  <li>
    apps:read
  </li>

  <li>
    apps:export
  </li>

  <li>
    spaces.shared:create
  </li>

  <li>
    spaces.shared:read
  </li>

  <li>
    users:read
  </li>
</ul>

**4. Add the redirect URL and create the client**

Complete the remaining configuration and create the client.

<ul>
  <li>In the **Add redirect URLs** field, enter the **Callback URL** StackOne shows you and click **+ Add**.</li>
  <li>Under **Authentication method**, make sure **Client secret** is checked.</li>
  <li>Click **Create**.</li>
</ul>

**5. Copy the Client ID and Client Secret**

After creation, copy the **Client ID** and the **Client Secret** across. The Client Secret is only shown once.

## Find your Tenant Name and Region

The **Tenant Name** and **Region** identify the tenant the OAuth client was created in. Both are in your browser address bar after you sign in to Qlik Cloud.

<ul>
  <li>Format: `https://<tenant-name>.<region>.qlikcloud.com`</li>
  <li>Example: for `https://my-company.us.qlikcloud.com/hub`, the **Tenant Name** is `my-company` and the **Region** is `us`.</li>
  <li>Then sign in to Qlik Cloud and allow access. Actions run with the permissions of the user who signs in.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/qlik/guides/webhook-setup.md)
>
> Configure receiving Events for Qlik into StackOne.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.