> For the complete documentation index, see [llms.txt](https://docs.securepass.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.securepass.me/documentation/admin-user-guide/ways-to-onboard-a-user/importing-users/importing-from-json.md).

# Importing from JSON

The JSON path is the Excel path with a different file format. Use it when another system or a script is producing the user list.

{% stepper %}
{% step %}

## Open the JSON import screen

Click **Import → Import from JSON**.

![The JSON upload screen.](https://content.gitbook.com/content/W2srIAMN6RKFwvuEorV5/blobs/JP6ri2b7SGU7XC6QpYEr/assets/rId191.png)
{% endstep %}

{% step %}

## Download the template

Click **Download template**.

![The download-template option on the JSON import screen.](https://content.gitbook.com/content/W2srIAMN6RKFwvuEorV5/blobs/76ZASaVcbkhXMVNVIcVu/assets/rId194.png)
{% endstep %}

{% step %}

## Fill in the JSON template

The template is a `users` array of objects, one per user:

![The JSON template structure.](https://content.gitbook.com/content/W2srIAMN6RKFwvuEorV5/blobs/BSnhkJnpASahUY8rGSWd/assets/rId197.png)

```json
{
  "users": [
    {
      "userName": "john.doe",
      "firstName": "John",
      "lastName": "Doe",
      "email": "john@example.com",
      "mobileNumber": "9876543210",
      "countryCode": "+1",
      "employeeId": "EMP001",
      "gender": "Male",
      "dateOfBirth": "01 Jan 1990",
      "addressLine1": "123 Main St",
      "addressLine2": "Apt 4B",
      "country": "United States",
      "state": "California",
      "city": "Los Angeles",
      "pinCode": "90001",
      "department": "Engineering",
      "subDepartment": "Backend",
      "reportingManager": "manager.username"
    }
  ]
}
```

{% hint style="warning" %}
**Important** — Keep the key names exactly as shown; they are case-sensitive. Note the date format `01 Jan 1990` and the `countryCode` including the `+`.
{% endhint %}
{% endstep %}

{% step %}

## Upload the completed file

Fill in your users, save the file, and upload it.

![Uploading the completed JSON file.](https://content.gitbook.com/content/W2srIAMN6RKFwvuEorV5/blobs/uSI4neOIvAkTfhJMX11z/assets/rId200.png)

![The upload in progress.](https://content.gitbook.com/content/W2srIAMN6RKFwvuEorV5/blobs/k46q5XZaQeVnJoEd6I61/assets/rId203.png)
{% endstep %}

{% step %}

## Select users to onboard

SECUREpass lists the users it parsed. Select the ones to onboard and click **Save**.

![Users parsed from the JSON file.](https://content.gitbook.com/content/W2srIAMN6RKFwvuEorV5/blobs/2WtTEtoSJr4WCZnsf74B/assets/rId206.png)
{% endstep %}
{% endstepper %}
