Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Apr 14, 2023 5:33:02 AM
Apr 20, 2023 11:30:00 AM
This article is meant to get users started on the Basic Authentication connector in Qlik Application Automation.
The connector is designed for advanced users to connect to platforms that do not have a dedicated connector.
The connector employs the Basic authentication flow, which requires only the username and password to make requests to a specific API.
Index:
Begin by looking for the "Basic Authentication" connector. When you click connect, the following input parameters are requested:
Once you select the connector you will notice that there are only a few blocks available, depending on the type of request and pagination involved in your request. These blocks have the following input variables:
The following example will obtain a list of contacts from the DotDigital application. We do not yet have a connector to do this and Basic Authorization is used to obtain the value for the Authorization header. We start by obtaining the Base URL and username and password from the DotDigital documentation. We can find these at https://developer.dotdigital.com/ . We then use the following values:
Once you input the above details in the connector connection pop-up and click save, it will say the connector is connected. But since this is a generic connector, we don't have a way of verifying if the connector is actually connected. This will be evident when you run an endpoint.
Create a new automation and drag the Raw API List Request Offset-Based Paging block from the Basic Authentication connector onto the canvas. Since the DotDigital connector supports offset-based paging, we will be using the Offset-Based Paging block to execute the list contacts api.
Raw API List Request Offset-Based Paging block inputs are as follows:
Now when you execute this, it will return the list of contacts in DotDigital.
The information in this article is provided as-is and is to be used at your own discretion. Depending on the tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.