> 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/action-center/okta/create-activated-user-with-password.md).

# Create Activated User with Password

Creates a new Okta user for each user asset it receives, with a password, and activates it in the same request (`activate=true`). The Okta profile is built from the asset: first name, last name and email, with the email also used as the Okta login.

### Before you begin

* **Integration:** An Okta organization and an Okta API token that is allowed to perform this action. Enter **Okta Domain** and **API Token** in the node, or save them once for all Okta jobs in [Action Center Settings](broken://pages/8a57c2aaa5eed18d0d5540189f060790ee6b7a21). Okta jobs share Okta Domain, API Token and Request Timeout.
* **Asset type:** user (`allowed_asset_types`).
* **Required column:** **Email** for user assets. Assets without a value in Email are ignored.
* **Defaults:** values you saved for this job in [Action Center Settings](broken://pages/8a57c2aaa5eed18d0d5540189f060790ee6b7a21) pre-fill the node, and any option you leave out is filled from them when you save.

### Settings

| Setting         | Type   | Required | Default | Description                                                                                                       |
| --------------- | ------ | -------- | ------- | ----------------------------------------------------------------------------------------------------------------- |
| Okta Domain     | Text   | Yes      | None    | Your Okta domain (e.g., dev-12345.okta.com).                                                                      |
| API Token       | Text   | Yes      | None    | Your Okta API token with appropriate permissions. Not marked as a sensitive field.                                |
| User Password   | Text   | Yes      | None    | At least 8 characters, one upper, one lower case and special character required. Not marked as a sensitive field. |
| Request Timeout | Number | No       | 30      | Timeout in seconds for API requests.                                                                              |

No setting is marked as sensitive, so none is masked after saving.

### How it works

* **One request per asset.** For every user asset that has an **Email**, the job sends `POST https://<Okta Domain>/api/v1/users?activate=true`.
* **Profile.** `firstName` and `lastName` come from the asset's FirstName and LastName columns, or from the asset's Okta profile data if those are empty, or are set to `Unknown`. `email` and `login` are both the asset's Email.
* **Credentials.** The password from the node is sent as the user's password. If the password is empty, every asset is skipped and no request is sent.
* **Same value for all users.** The credential values come from the node, so every user created in one run gets the same password or recovery answer.
* **Result is not checked.** The job does not read Okta's response. If Okta rejects a request (for example because of a wrong token, an unknown ID or a duplicate user), the job still ends normally and the workflow continues. Check the outcome in Okta.
* **Next node.** The job passes the assets it received on to the next node unchanged.

### Example

A condition node collects the user assets to onboard, then this node creates them in Okta. Values:

| Setting       | Value                   |
| ------------- | ----------------------- |
| Okta Domain   | your-org.example.com    |
| API Token     | YOUR\_API\_TOKEN        |
| User Password | YOUR\_INITIAL\_PASSWORD |

### How it differs from related jobs

* [Create User with Password](broken://pages/3fa2f0cd2d4fde68aa9023363311faa010a191c7): The same request with `activate=false`, so the user is created but not activated.

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/315fa8e4cbcf1b89147ad9e6fc5e9d9a2372ba0d">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save Okta defaults once for every Okta job.</td><td><a href="broken://pages/8a57c2aaa5eed18d0d5540189f060790ee6b7a21">Broken link</a></td></tr><tr><td><strong>Create User with Password</strong></td><td>The same request with `activate=false`, so the user is created but not activated.</td><td><a href="broken://pages/3fa2f0cd2d4fde68aa9023363311faa010a191c7">Broken link</a></td></tr></tbody></table>
