Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
This tutorial demonstrates how to create a connection within Informatica Intelligent Cloud Services (IICS) using the RESTv2 type to connect to the [Mock Person API](https://developer.wisc.edu/docs/mock-person-api/1/overview). In production, you will want to use the non-Mock [Person API](https://developer.wisc.edu/docs/person-api/1/overview) and you can request access to it via [this link](https://it.wisc.edu/services/identity-access-management-work-request/) if you don't have access already. This tutorial will assume you already have a working IICS account with a secure agent installed as well as an API app set up in the Wisc Developer portal.
Note: *It looks like we may need to also include how to get an App into a user's API login*
### Prerequisites
###Connections
1. Open a browser window and browse to the [Mock Person API page](https://developer.wisc.edu/docs/person-api/1/routes/people/get). You will need to log in with your NetID. At the very bottom of the page, make note of the Token URL: https://api.wisc.edu/oauth/token
2. In the upper right of the developer.wisc.edu portal, click your name's drop menu and select _Apps_

3. Select the application connected to your developer account, then browse to the API Keys section. You will need the Key and the Secret on the IICS portal.

4. [Log into IICS](https://dm-us.informaticacloud.com/ma/sso/732dcgB8WwTgRubL1mFU8R) with your NetID.
5. Chose the _Administrator_ tile in the My Services window.
6. Select _Connections_ in the left pane.
7. Select the _New Connection_ button in the upper right of the window.

8. In the _Type_ drop menu:
- Create a _Connection Name_
- Select _REST V2 (Informatica Cloud)_
- Select your _Runtime Environment_
- Select _OAuth 2.0-Client Credentials in the drop menu for _Authentication_
- Paste https://api.wisc.edu/oauth/token in the _Access Token URL_ field (we got this from step 1 above)
- Paste API and Secret from step 3 into the _Client ID_ and _Client Secret_ fields
- Click the _Generate Access Token_ button next to the _Access Token_ field and it will auto-populate
- In the _Swagger File Path_ field, paste https://git.doit.wisc.edu/interop/iics/external-iics-docs/-/raw/swagger-files/swagger.json (this is a REST v2 file that in production you would have yourself. IICS doesn't currently accept V3.)

9. Press the _Test Connection_ button in the upper right of the window to verify the connection is successful.
10. If the connection is successful, press the _Save_ button.