> ## 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 SAP SuccessFactors with SAP Cloud Identity Services — OAuth 2.0 (Client Credentials) – StackOne Hub

> Link a SAP SuccessFactors account in the StackOne Hub using SAP Cloud Identity Services — OAuth 2.0 (Client Credentials). End-user guide to authorize the integration and start using SAP SuccessFactors actions.

> [!WARNING]
>
> Your SAP SuccessFactors instance must use SAP Cloud Identity Services as its authentication provider. You need administrator access to the SAP Cloud Identity Services administration console and to Security Center in SAP SuccessFactors.

## Setting up the client in SAP Cloud Identity Services

The client is an OpenID Connect application in the SAP Cloud Identity Services tenant your SAP SuccessFactors instance signs in with. Create a dedicated application for this connection method, separate from any application used for user sign-in.

**1. Create the application**

Sign in to the administration console of your SAP Cloud Identity Services tenant, then open **Applications & Resources** > **Applications**.

<ul>
  <li>Click **Create**.</li>
  <li>**Display Name**: `StackOne Integration`</li>
  <li>**Protocol Type**: **OpenID Connect**</li>
  <li>Click **Create**.</li>
  <li>Copy the **Identity Authentication Host** across. It is the host of the administration console, without `https://` and `/admin`.</li>
  <li>Format: `{tenant}.accounts.cloud.sap` or `{tenant}.accounts.ondemand.com`</li>
  <li>Example: if your administration console is `https://example.accounts.cloud.sap/admin`, your Identity Authentication Host is `example.accounts.cloud.sap`</li>
</ul>

![Create Application dialog with the display name, the OpenID Connect protocol and the Create button highlighted](https://mintcdn.com/stackone-60/WDnFpltAJ0dztN5o/connectors/sapsuccessfactors/images/ias_client_credentials-config-create-application.png?fit=max\&auto=format\&n=WDnFpltAJ0dztN5o\&q=85\&s=66c8784c36d6edd42c6be976498b6ba6)

**2. Name the OpenID Connect configuration**

On the **Trust** tab, under **Single Sign-On**, choose **OpenID Connect Configuration**.

<ul>
  <li>Click **Configure**.</li>
  <li>**Name**: `StackOne-Integration`</li>
  <li>The name can't contain spaces and must be unique in the tenant.</li>
  <li>Click **Add**.</li>
</ul>

![Add Name dialog with the configuration name and the Add button highlighted](https://mintcdn.com/stackone-60/WDnFpltAJ0dztN5o/connectors/sapsuccessfactors/images/ias_client_credentials-config-name-configuration.png?fit=max\&auto=format\&n=WDnFpltAJ0dztN5o\&q=85\&s=48586b0b9d4f98608bb486788ae0ded7)

**3. Allow only the client credentials grant**

Open the **Authentication** tab of the configuration. New applications allow several grant types, and this connection needs only one.

<ul>
  <li>Next to **Grant Types**, click **Edit**.</li>
  <li>Keep **Client Credentials** selected.</li>
  <li>Clear every other grant type, including **Authorization Code**, **Password**, **Refresh** and **JWT Bearer**.</li>
  <li>Click **Save**.</li>
</ul>

![Grant Types editor with only Client Credentials selected and the Save button highlighted](https://mintcdn.com/stackone-60/WDnFpltAJ0dztN5o/connectors/sapsuccessfactors/images/ias_client_credentials-config-grant-types.png?fit=max\&auto=format\&n=WDnFpltAJ0dztN5o\&q=85\&s=d48bad363e5bf23f7a74a2a698025a1f)

**4. Add the SAP SuccessFactors dependency**

On the **Trust** tab, under **Application APIs**, choose **Dependencies**.

<ul>
  <li>Click **Add**.</li>
  <li>**Dependency Name**: `SF_TECH`</li>
  <li>**Application**: your SAP SuccessFactors application</li>
  <li>**API**: **sf\_technical\_access**</li>
  <li>Click **Save**.</li>
  <li>Copy the **Dependency Name** across.</li>
</ul>

![Add API dialog with the dependency name, the SAP SuccessFactors application, the sf\_technical\_access API and the Save button highlighted](https://mintcdn.com/stackone-60/WDnFpltAJ0dztN5o/connectors/sapsuccessfactors/images/ias_client_credentials-config-dependency.png?fit=max\&auto=format\&n=WDnFpltAJ0dztN5o\&q=85\&s=d8c90b590699e06308993c1f8face9fe)

**5. Create the client credentials**

On the **Trust** tab, under **Application APIs**, choose **Client Authentication**, then add a secret or a certificate.

<ul>
  <li>Copy the **Client ID** across.</li>
  <li>**Secret:** In the **Secrets** section, click **Add**, enter a **Description**, choose a period in **Expire in**, select **OpenID** under **API Access** and click **Save**. Copy the **Client Secret** across. It is only displayed once and can't be retrieved later.</li>
  <li>**Certificate:** In the **Certificates** section, click **Add** and generate a certificate, which downloads as a `.p12` file. Convert it with `openssl pkcs12 -in client.p12 -clcerts -nokeys -out cert.pem` and `openssl pkcs12 -in client.p12 -nocerts -nodes -out key.pem`, then copy the contents of `cert.pem` across to **Client Certificate** and the contents of `key.pem` across to **Private Key**.</li>
</ul>

![Client Credentials dialog with the copy buttons for the Client ID and the masked Client Secret highlighted](https://mintcdn.com/stackone-60/WDnFpltAJ0dztN5o/connectors/sapsuccessfactors/images/ias_client_credentials-config-client-credentials.png?fit=max\&auto=format\&n=WDnFpltAJ0dztN5o\&q=85\&s=eb9883b15b9bf3b61beb19d96c9a10d1)

## Registering the client in SAP SuccessFactors

SAP SuccessFactors maps the client to the user whose permissions the connection uses.

**1. Register an application type**

Sign in to SAP SuccessFactors and open **Admin Center** > **Security Center** > **Manage OIDC OAuth Client Application**.

<ul>
  <li>Open the **Application Type** tab.</li>
  <li>Click **Register**.</li>
  <li>**Application Type Name**: `STACKONE_INTEGRATION`</li>
  <li>Click **Register**.</li>
</ul>

![Register a New Application Type dialog with the type name and the Register button highlighted](https://mintcdn.com/stackone-60/WDnFpltAJ0dztN5o/connectors/sapsuccessfactors/images/ias_client_credentials-config-application-type.png?fit=max\&auto=format\&n=WDnFpltAJ0dztN5o\&q=85\&s=f7023098dd44e8989dbb8f4a100550da)

**2. Register the application map**

Open the **Application Map** tab.

<ul>
  <li>Click **Register**.</li>
  <li>**Application Map Name**: `StackOne Integration`</li>
  <li>**Client ID**: the **Client ID** from SAP Cloud Identity Services</li>
  <li>**Default technical user:** Leave **Bind to User** cleared.</li>
  <li>**Specific user:** Select **Bind to User** and choose the **User ID** of the user whose permissions the connection uses.</li>
  <li>**Application Type**: `STACKONE_INTEGRATION`</li>
  <li>Click **Register**.</li>
</ul>

![Register a New Application Map dialog with the map name, client ID, Bind to User, user ID, application type and Register button highlighted](https://mintcdn.com/stackone-60/WDnFpltAJ0dztN5o/connectors/sapsuccessfactors/images/ias_client_credentials-config-application-map.png?fit=max\&auto=format\&n=WDnFpltAJ0dztN5o\&q=85\&s=9fe7c8101b47607fd7b531052f97bc41)

## Find your API Server

Your API server is the SAP SuccessFactors API host for your data center.

<ul>
  <li>Open the [List of SAP SuccessFactors API Servers](https://help.sap.com/docs/successfactors-platform/sap-successfactors-api-reference-guide-odata-v2/list-of-sap-successfactors-api-servers) and find your data center.</li>
  <li>Copy the **API Server** across, without the trailing slash.</li>
  <li>For Learning and OCN actions, copy the **Learning Domain URL** across. It is the address of your Learning module up to `/learning`.</li>
  <li>Format: `https://{subdomain}.successfactors.com`</li>
  <li>Example: if your Learning address is `https://salesdemo8.successfactors.com/learning/admin`, your Learning Domain URL is `https://salesdemo8.successfactors.com`</li>
</ul>

## 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.