> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect nCino with Mortgage — OAuth 2.0 (Client Credentials) – StackOne Hub

> Link a nCino account in the StackOne Hub using Mortgage — OAuth 2.0 (Client Credentials). End-user guide to authorize the integration and start using nCino actions.

> [!WARNING]
>
> The nCino Mortgage API must be enabled on your account by your Customer Success Manager, and you need the Company Admin role to create API credentials.

## Creating an API credential

An API credential is a client id and client secret for your company's nCino Mortgage account. It can call only the endpoints you authorize for it.

**1. Create the API credential**

Sign in to [nCino Mortgage](https://app.ncinomortgage.com/login), then open **Company Settings** in the left navigation.

<ul>
  <li>Click the **API Management** tile in the **Technical** section.</li>
  <li>If a selector appears next to **API Settings**, select **nCino Mortgage**.</li>
  <li>On the **Credentials** tab, click **Add credential**.</li>
  <li>**Credential name**: `StackOne Integration`</li>
  <li>Select the checkbox confirming the credential is assigned to your company.</li>
  <li>Click **Save**.</li>
</ul>

**2. Copy the credentials**

The **API credential** window shows the **client id** and **client secret**. nCino Mortgage shows them only once, and they cannot be shown again after you exit.

<ul>
  <li>Copy the **client id** across to **API Key**.</li>
  <li>Copy the **client secret** across to **API Secret**.</li>
  <li>Select **I have shared these credentials in a secure manner**.</li>
  <li>Click **Exit**.</li>
</ul>

**3. Authorize the endpoints**

A new credential can call an endpoint only after you turn on each method it needs. Changes are saved immediately and apply from the next token request.

<ul>
  <li>On the **Credentials** tab, open the three-dot menu on the credential's row.</li>
  <li>Click **View details**.</li>
  <li>Turn on **GET** for the `/companies` resource path.</li>
  <li>For each other **Resource path** the actions you use call, such as `/loans`, `/loan_applications` or `/users/loan_officers`, turn on its **GET**, **POST**, **PUT**, **PATCH** or **DELETE** toggle.</li>
  <li>For a row that shows **Modify** instead of a toggle, click **Modify**.</li>
  <li>In the **Modify POST actions** window, turn on each action your integration uses.</li>
</ul>

**4. Enter the Tenant ID**

A Tenant ID is the tenant code of an enterprise company with tenant-data isolation, such as `C00000-BigBank`. Leave **Tenant ID** empty for any other company.

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.