<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Databricks - How to get started with Databricks in Qlik Application Automation in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Databricks-How-to-get-started-with-Databricks-in-Qlik/ta-p/1976920</link>
    <description>&lt;P&gt;This article gives an overview of the available blocks in the Databricks connector in Qlik Application Automation. It will also go over a basic example of triggering a model transition and catching the information using a webhook for alerting purposes.&lt;/P&gt;
&lt;P&gt;Databricks is a cloud-based collaborative data science, data engineering, and data analytics platform that combines the best of data warehouses and data lakes into a lakehouse architecture.​&lt;/P&gt;
&lt;P&gt;This connector consists of:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;CRUD support for jobs and job runs API&lt;/LI&gt;
&lt;LI&gt;CRUD support for pipelines API&lt;/LI&gt;
&lt;LI&gt;Support for model transition actions&lt;/LI&gt;
&lt;LI&gt;Support for webhooks&lt;/LI&gt;
&lt;LI&gt;other helper blocks: List clusters, List pools.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For authenticating, you will need to provide an &lt;STRONG&gt;API Token&lt;/STRONG&gt;. To get an API Token: click on Settings in the lower left corner of your Databricks workspace, then click User Settings, then go to the Access Tokens tab, then click the Generate New Token button.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Ionut_Dumitrascu_0-1662380592437.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88267iF56F001EC415D331/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_0-1662380592437.png" alt="Ionut_Dumitrascu_0-1662380592437.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's now go over a basic example of how to trigger a model transition and how to catch this information using a webhook using the Databricks connector.&lt;/P&gt;
&lt;P&gt;For this use case, we will need two automations. The first one will serve to trigger the model transition, and the second one will have a webhook configured for the same model, to trigger when a transition is created. We will use the Slack connector for alerting.&lt;/P&gt;
&lt;P&gt;Steps to configure the first automation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create an automation;&lt;/LI&gt;
&lt;LI&gt;From the left menu, select the &lt;STRONG&gt;Databricks&lt;/STRONG&gt; connector;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_1-1662380752492.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88268iCD706F0B3BD1F8A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_1-1662380752492.png" alt="Ionut_Dumitrascu_1-1662380752492.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Use the 'Search for blocks' input to search for the '&lt;STRONG&gt;Create Model Transition Request&lt;/STRONG&gt;' block.&lt;/LI&gt;
&lt;LI&gt;Drag and drop the block into the automation and link it to the start block;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_2-1662380779027.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88269i4FC00B3EB399DE6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_2-1662380779027.png" alt="Ionut_Dumitrascu_2-1662380779027.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;On the right side of the screen, fill in the necessary information to create a transition. Use the 'do-lookup' functionality to search for a model, select the stage and specify the version.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_3-1662380825335.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88270iDEA2FC1049D1CC5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_3-1662380825335.png" alt="Ionut_Dumitrascu_3-1662380825335.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Use the 'Search for blocks' input to search for the '&lt;STRONG&gt;Approve Model Transition Request&lt;/STRONG&gt;' block, drag it into the automation and link it to the 'Create Model Transition Request' block. Fill in the information, which is similar to the other block.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_4-1662380844961.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88271i5B4A7D1845C82E3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_4-1662380844961.png" alt="Ionut_Dumitrascu_4-1662380844961.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Steps to configure the second automation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create an automation;&lt;/LI&gt;
&lt;LI&gt;Click on the 'Start' block, and from the right side of the screen, click on 'Run mode' and select '&lt;STRONG&gt;Webhook&lt;/STRONG&gt;'. Choose the 'Databricks' connector and the 'On transition request created' event. Use the 'do-lookup' functionality to choose the same model as in the first automation.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_5-1662380969070.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88272i86C138DC55BC29FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_5-1662380969070.png" alt="Ionut_Dumitrascu_5-1662380969070.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Save the automation. This will create the webhook that you just configured and link it to the automation.&lt;/LI&gt;
&lt;LI&gt;From the left menu, select the &lt;STRONG&gt;Slack&lt;/STRONG&gt; connector;&lt;/LI&gt;
&lt;LI&gt;Use the 'Search for blocks' input to search for the '&lt;STRONG&gt;Send message'&lt;/STRONG&gt;&amp;nbsp;block. Drag it into the automation and link it to the webhook block.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_6-1662381066679.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88273i24645E40F478938E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_6-1662381066679.png" alt="Ionut_Dumitrascu_6-1662381066679.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;On the right side of the screen, fill in the necessary information to send a message. Use the 'do-lookup' functionality to select a channel, and then click on the 'text' input field and map it with the 'text' field coming from the webhook.&lt;/LI&gt;
&lt;LI&gt;Save the automation.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;Now, by running the first automation, you will create and approve a model transition. If you check the second automation, you will notice that it was automatically triggered and the Slack message containing the transition information was sent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2022 13:02:36 GMT</pubDate>
    <dc:creator>Ionut_Dumitrascu</dc:creator>
    <dc:date>2022-09-13T13:02:36Z</dc:date>
    <item>
      <title>Databricks - How to get started with Databricks in Qlik Application Automation</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Databricks-How-to-get-started-with-Databricks-in-Qlik/ta-p/1976920</link>
      <description>&lt;P&gt;This article gives an overview of the available blocks in the Databricks connector in Qlik Application Automation. It will also go over a basic example of triggering a model transition and catching the information using a webhook for alerting purposes.&lt;/P&gt;
&lt;P&gt;Databricks is a cloud-based collaborative data science, data engineering, and data analytics platform that combines the best of data warehouses and data lakes into a lakehouse architecture.​&lt;/P&gt;
&lt;P&gt;This connector consists of:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;CRUD support for jobs and job runs API&lt;/LI&gt;
&lt;LI&gt;CRUD support for pipelines API&lt;/LI&gt;
&lt;LI&gt;Support for model transition actions&lt;/LI&gt;
&lt;LI&gt;Support for webhooks&lt;/LI&gt;
&lt;LI&gt;other helper blocks: List clusters, List pools.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For authenticating, you will need to provide an &lt;STRONG&gt;API Token&lt;/STRONG&gt;. To get an API Token: click on Settings in the lower left corner of your Databricks workspace, then click User Settings, then go to the Access Tokens tab, then click the Generate New Token button.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Ionut_Dumitrascu_0-1662380592437.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88267iF56F001EC415D331/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_0-1662380592437.png" alt="Ionut_Dumitrascu_0-1662380592437.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's now go over a basic example of how to trigger a model transition and how to catch this information using a webhook using the Databricks connector.&lt;/P&gt;
&lt;P&gt;For this use case, we will need two automations. The first one will serve to trigger the model transition, and the second one will have a webhook configured for the same model, to trigger when a transition is created. We will use the Slack connector for alerting.&lt;/P&gt;
&lt;P&gt;Steps to configure the first automation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create an automation;&lt;/LI&gt;
&lt;LI&gt;From the left menu, select the &lt;STRONG&gt;Databricks&lt;/STRONG&gt; connector;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_1-1662380752492.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88268iCD706F0B3BD1F8A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_1-1662380752492.png" alt="Ionut_Dumitrascu_1-1662380752492.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Use the 'Search for blocks' input to search for the '&lt;STRONG&gt;Create Model Transition Request&lt;/STRONG&gt;' block.&lt;/LI&gt;
&lt;LI&gt;Drag and drop the block into the automation and link it to the start block;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_2-1662380779027.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88269i4FC00B3EB399DE6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_2-1662380779027.png" alt="Ionut_Dumitrascu_2-1662380779027.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;On the right side of the screen, fill in the necessary information to create a transition. Use the 'do-lookup' functionality to search for a model, select the stage and specify the version.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_3-1662380825335.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88270iDEA2FC1049D1CC5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_3-1662380825335.png" alt="Ionut_Dumitrascu_3-1662380825335.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Use the 'Search for blocks' input to search for the '&lt;STRONG&gt;Approve Model Transition Request&lt;/STRONG&gt;' block, drag it into the automation and link it to the 'Create Model Transition Request' block. Fill in the information, which is similar to the other block.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_4-1662380844961.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88271i5B4A7D1845C82E3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_4-1662380844961.png" alt="Ionut_Dumitrascu_4-1662380844961.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Steps to configure the second automation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create an automation;&lt;/LI&gt;
&lt;LI&gt;Click on the 'Start' block, and from the right side of the screen, click on 'Run mode' and select '&lt;STRONG&gt;Webhook&lt;/STRONG&gt;'. Choose the 'Databricks' connector and the 'On transition request created' event. Use the 'do-lookup' functionality to choose the same model as in the first automation.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_5-1662380969070.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88272i86C138DC55BC29FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_5-1662380969070.png" alt="Ionut_Dumitrascu_5-1662380969070.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Save the automation. This will create the webhook that you just configured and link it to the automation.&lt;/LI&gt;
&lt;LI&gt;From the left menu, select the &lt;STRONG&gt;Slack&lt;/STRONG&gt; connector;&lt;/LI&gt;
&lt;LI&gt;Use the 'Search for blocks' input to search for the '&lt;STRONG&gt;Send message'&lt;/STRONG&gt;&amp;nbsp;block. Drag it into the automation and link it to the webhook block.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_6-1662381066679.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88273i24645E40F478938E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_6-1662381066679.png" alt="Ionut_Dumitrascu_6-1662381066679.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;On the right side of the screen, fill in the necessary information to send a message. Use the 'do-lookup' functionality to select a channel, and then click on the 'text' input field and map it with the 'text' field coming from the webhook.&lt;/LI&gt;
&lt;LI&gt;Save the automation.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;Now, by running the first automation, you will create and approve a model transition. If you check the second automation, you will notice that it was automatically triggered and the Slack message containing the transition information was sent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 13:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Databricks-How-to-get-started-with-Databricks-in-Qlik/ta-p/1976920</guid>
      <dc:creator>Ionut_Dumitrascu</dc:creator>
      <dc:date>2022-09-13T13:02:36Z</dc:date>
    </item>
  </channel>
</rss>

