> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/o/oracle-fusion-hcm-cloud.md).

# Oracle Fusion HCM Cloud

Oracle Fusion HCM Cloud is a cloud HR system. OctoXLabs reads workers and their user accounts through the HCM REST API and creates one user per worker that has a work email.

## Use cases

* List workers that come from Oracle Fusion HCM.

```
Adapters = oracle-fusion-hcm-cloud
```

* Compare HR workers with directory users to find people who have no directory account.

## Before you begin

### Network

| Source              | Destination                                                                  | Port | Protocol |
| ------------------- | ---------------------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Your Oracle Fusion pod host, for example `servername.fa.us2.oraclecloud.com` | 443  | HTTPS    |

### Required permissions

| Scope or role                                         | Permission                                                 | Needed for |
| ----------------------------------------------------- | ---------------------------------------------------------- | ---------- |
| Security roles and privileges of the integration user | Read the `publicWorkers` and `userAccounts` REST resources | Users      |

## Create credentials in Oracle Fusion HCM Cloud

{% stepper %}
{% step %}

### Create an integration user

Create an Oracle Fusion integration user for OctoXLabs.
{% endstep %}

{% step %}

### Assign roles

Give the user the security roles and privileges needed to read the `publicWorkers` and `userAccounts` REST resources. The role list is in Authorization for Oracle HCM Cloud REST APIs (Doc ID 2651505.1) on My Oracle Support.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                                                                                              |
| --------- | -------- | ------- | ------- | -------------------------------------------------------------------------------------------------------- |
| Domain    | Yes      | String  |         | Host name of the Oracle Fusion pod, without the scheme, for example `servername.fa.us2.oraclecloud.com`. |
| Username  | Yes      | String  |         | Integration user name.                                                                                   |
| Password  | Yes      | String  |         | Password of the integration user.                                                                        |
| Proxy URL | No       | String  |         | Proxy address. The connector sends traffic through it as `http://<proxy>`.                               |
| Timeout   | No       | Integer | 30      | Seconds to wait for API responses.                                                                       |

## Troubleshooting

| Error message                             | Cause                                                                            | Fix                                  |
| ----------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------ |
| Max retries exceeded for                  | Oracle answered 429 (rate limit) five times.                                     | Wait and run discovery again.        |
| userAccounts fetch failed after accounts: | The user accounts call failed. Workers are still collected without account data. | Grant read access to `userAccounts`. |

## Change history

{% hint style="info" %}
Available starting from version 6.9.1.
{% endhint %}
