This article gives an overview of the available blocks in the Okta connector in Qlik Application Automation. It will also go over a basic usecase creating a user and adding it to a group using this connector.
This connector consists of:
- CRUD support for the Users module;
- CRUD support for the Groups module;
- Raw API support.
There are also blocks that allow changing the state of a user, like Activate/Deactivate user, Suspend/Unsuspend user, and also blocks that allow a user to be added to a group and also removed from a group.
The RAW API support blocks (RAW API List request and RAW API request) can be used to explore and implement other Okta modules that are not implemented natively.
Authentication for this connector is based on an API KEY generated from your Okta account, process described when adding an Okta connection.
Let's now go over a basic example of how to create a user and add it to a group using the Okta connector:
- Create an automation;
- From the left menu, select the Okta connector;
![Ionut_Dumitrascu_0-1646038784877.png Ionut_Dumitrascu_0-1646038784877.png](https://community.qlik.com/t5/image/serverpage/image-id/73181i6EC77036ACAFBBA7/image-size/medium?v=v2&px=400)
- Use the Search for blocks input to search for the Create user block;
![Ionut_Dumitrascu_1-1646038842814.png Ionut_Dumitrascu_1-1646038842814.png](https://community.qlik.com/t5/image/serverpage/image-id/73182i0DBEFD3C8C566488/image-size/medium?v=v2&px=400)
- Drag and drop the block into the automation and link it to the start block;
![Ionut_Dumitrascu_2-1646038861410.png Ionut_Dumitrascu_2-1646038861410.png](https://community.qlik.com/t5/image/serverpage/image-id/73183iAAC36711730AE668/image-size/medium?v=v2&px=400)
- On the right side of the screen, use the input fields to fill in the user information.
![Ionut_Dumitrascu_3-1646038901242.png Ionut_Dumitrascu_3-1646038901242.png](https://community.qlik.com/t5/image/serverpage/image-id/73184i4AA6B714252C3917/image-size/medium?v=v2&px=400)
- Use the Search for blocks input to search for the Add User To Group block;
- Drag and drop the block into the automation and link it to the Create user block;
![Ionut_Dumitrascu_4-1646039014101.png Ionut_Dumitrascu_4-1646039014101.png](https://community.qlik.com/t5/image/serverpage/image-id/73185iD6ECF07F9746790F/image-size/medium?v=v2&px=400)
- On the right side of the screen, click on the Group ID input field, click on the do lookup option, then choose a group. Click on the User ID input field, click on the Output from Create Group and then click on the id field.
![Ionut_Dumitrascu_5-1646039046187.png Ionut_Dumitrascu_5-1646039046187.png](https://community.qlik.com/t5/image/serverpage/image-id/73186i4F8DBFB4729FE22B/image-size/medium?v=v2&px=400)
- Run the automation. This will create a new user in your Okta account and add it to the selected group.
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.