# Configure REST Connector for IFS Cloud

## Pre-requisite

You should already have the following information with you.

* Base URI
* well-know configuration endpoint for Open ID
* authorization endpoint&#x20;
* token endpoint
* Client Id
* Client secret (optional)

If not please take a look at the steps [IAM Client Registration](/flow-connect/working-with-connect/connect-to-systems/connectors/rest/ifs-cloud/iam-client-registration.md) & [Obtaining end-point info from IFS Cloud](/flow-connect/working-with-connect/connect-to-systems/connectors/rest/ifs-cloud/obtaining-end-point-info-from-ifs-cloud.md) for detailed instructions.

## Configure for interactive authentication

In [Flow Connect Hub](https://build.novacura.com),

1. Add [new REST connector](/flow-connect/working-with-connect/connect-to-systems/connectors/rest.md#add-connector)
2. Enter the configuration values as described below

   <table><thead><tr><th width="205">Configuration</th><th>Description</th></tr></thead><tbody><tr><td><strong>Agent Group</strong></td><td>Agent group where the connector should be executed</td></tr><tr><td><strong>Base URL</strong></td><td>Base URI of the IFS Cloud instance</td></tr><tr><td><strong>Authentication Type</strong></td><td><p>You can either choose <strong>OpenId Authentication</strong> or <strong>OAuth2-Authorization Code Flow</strong> as the Authentication Type<strong>.</strong> </p><p> </p><p>For <strong>OpenId Authentication,</strong></p><ul><li>Give a display name</li><li><strong>Authority URL</strong> - Add OpenID well-know configuration endpoint URL excluding the <code>.well-known/openid-configuration</code></li><li><strong>Client ID</strong> - IAM client id</li><li><strong>Scopes</strong> - Keep the default "openid"</li><li><p><strong>Advanced Options</strong></p><ul><li><p>Additionally, you can define advanced options like extra query parameters</p><p>For example,</p><p><code>prompt = select_account</code> will force the user to select an account if the user has multiple accounts authenticated or previously used on the authorization server</p></li><li>Keep the defaults for <strong>Validate Endpoints</strong>, <strong>Validate Issuer</strong> <strong>Name</strong>, <strong>Validate Token Issuer Name</strong></li><li>Enable <strong>Prefill User Email</strong> if you want to use the flow user email as the username/email in the IFS Cloud log-in prompt</li></ul></li></ul><p>For <strong>OAuth2-Authorization Code Flow,</strong></p><ul><li>Give a display name</li><li><strong>Authorization Endpoint</strong> - Add authorization endpoint </li><li><strong>Token Endpoint</strong> - Add token endpoint</li><li><strong>Client ID</strong> - IAM client id</li><li><strong>Client Secret</strong> - IAM client secret</li><li><strong>Scopes</strong> - Keep the default "openid"</li><li><p><strong>Advanced Options</strong></p><ul><li><p>Additionally, you can define advanced options like extra query parameters</p><p>For example,</p><p><code>prompt = select_account</code> will force the user to select an account if the user has multiple accounts authenticated or previously used on the authorization server</p></li><li>Enable <strong>PKCE</strong></li><li>Enable <strong>Prefill User Email</strong> if you want to use the flow user email as the username/email in the IFS Cloud log-in prompt</li></ul></li></ul><p></p></td></tr></tbody></table>
3. Choose **Save**


---

# 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/configure-rest-connector-for-ifs-cloud.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.
