# IAM Client Registration

{% hint style="info" %}
You can skip this step if an IAM client already exist.&#x20;
{% endhint %}

As the first step of configuring REST connector with IFS Cloud, a custom client in IFS IAM need to be registered. Depending on the type of authentication you have to create different custom client registrations. Custom clients can be registered in IFS Cloud via *Solution Manager > Security > Identity and Access Manager > IAM Client Details page*. For more info refer to the IFS Cloud documentation [Custom Client](https://docs.ifs.com/techdocs/21r2/045_administration_aurena/210_security/040_iam_settings/055_custom_client/).

To register a custom client in IFS Cloud,

1. Navigate to Solution Manager > Security > Identity and Access Manager > IAM Client Details page
2. Select **New** and fill in the information in the resulting dialog
   * Enter a Client ID and optional description
   * Enabled checkbox set to true
3. Depending on the type of authentication different configurations needed.
   1. For **Client Credentials flow**
      1. Service Accounts and Direct Access Grants checkboxes set to true
      2. Select an existing service user for the Username field in User Group section

         <figure><img src="https://help.novacuraflow.com/~gitbook/image?url=https%3A%2F%2F529897662-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LtPTgZOYmpJka4jqs1v-3406065915%252Fuploads%252FdcCmUeNHaofKZ0aKY0So%252FIFS%2520IAM%25201.png%3Falt%3Dmedia%26token%3D16cdd62b-ce61-4b5e-9b45-57799baf528f&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=6ef1dfad&#x26;sv=2" alt=""><figcaption></figcaption></figure>
   2. For **Password Credentials flow**
      1. Service Accounts checkbox set to false
      2. Direct Access Grants checkbox set to true

         <figure><img src="/files/4DrOvzmpFJbXvYEu4sNO" alt=""><figcaption></figcaption></figure>
   3. For **Authorization Code Flow**
      1. Service Account and Direct Access Grants checkboxes set to false
      2. Public Client can be set to true or false.
      3. Redirect Uri is set appropriately depending on the client type. More info on [redirect URI's](/flow-connect/working-with-connect/connect-to-systems/redirect-uris.md)

         <figure><img src="/files/FJJsO5cPUcAtfQRQVDM0" alt=""><figcaption></figcaption></figure>
   4. For **Open ID**
      1. Public client is set to true
      2. Service Account and Direct Access Grants checkboxes set to false
      3. Redirect Uri is set appropriately depending on the client type. More info on [redirect URI's](/flow-connect/working-with-connect/connect-to-systems/redirect-uris.md)
4. Once saved a Client Secret will be generated except for IAM clients with public client setting set to true .&#x20;

   <figure><img src="/files/1jYobDLmmjFMmcMmdYrs" alt=""><figcaption></figcaption></figure>

At the end of the first step you should have the **Client ID** and optionally a **Client Secret.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.novacura.com/flow-connect/working-with-connect/connect-to-systems/connectors/rest/ifs-cloud/iam-client-registration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
