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

# How to Set User Profile Attributes During User Import

> Learn how to set attributes for users during import using the Auth0 Management API.

This guide will show you how to set root attributes for a user during import using Auth0's Management API (Management API: A product to allow customers to perform administrative tasks.). This allows you to minimize the number of API calls required to set root attributes when importing users. To see which attributes you can import, visit [Normalized User Profile Structure](/docs/docs/manage-users/user-accounts/user-profiles/user-profile-structure).

Make a `POST` call to the [Create Job to Import Users endpoint](/docs/docs/api/management/v2/jobs/post-users-imports). Be sure to replace `MGMT_API_ACCESS_TOKEN`, `CONNECTION_ID`, and `JSON_USER_FILE_PATH` placeholder values with your Management API Access Token (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.), connection ID, and users filename, respectively.

Using the Auth0 CLI? If you haven't already, [set up and authenticate your CLI session](/docs/docs/deploy-monitor/auth0-cli) before running this command.

| Value | Description |
| - | - |
| `MGMT_API_ACCESS_TOKEN` | [Access Token for the Management API](/docs/docs/secure/tokens/access-tokens/management-api-access-tokens) with the [scope](/docs/docs/glossary?term=scope) `create:users`. |
| `CONNECTION_ID` | ID of the connection to which the users will be inserted. You can retrieve this info using the [Get All Connections endpoint](/docs/docs/api/management/v2/connections/get-connections). |
| `JSON_USER_FILE_PATH` | Filename of the file that contains the users to be imported. File should be in JSON format and include root attributes for users. For a list of available attributes, see [User Profile Attributes](/docs/docs/manage-users/user-accounts/user-profiles/user-profile-structure). For an example of the file format, see [Bulk User Import Database Schema and Examples](/docs/docs/manage-users/user-migration/bulk-user-import-schema). |


## Related topics

- [User Profile Structure](/docs/docs/manage-users/user-accounts/user-profiles/user-profile-structure.md)
- [Set Root Attributes During User Sign Up](/docs/docs/manage-users/user-accounts/user-profiles/root-attributes/set-root-attributes-during-user-sign-up.md)
- [Update Root Attributes For Users](/docs/docs/manage-users/user-accounts/user-profiles/root-attributes/update-root-attributes-for-users.md)
