User Import / Export Extension

User Import / Export Extension

The User Import / Export Extension allows you to:

  • Bulk import your existing database users into Auth0

  • Search for and export some (or all) of your Auth0 database users

For a list of user profile fields that can be imported and exported, see User Profile Attributes.

You must be a Dashboard Admin to use this extension.

Install the extension

To install this extension, go to Auth0 Dashboard > Extensions, and select User Import / Export.

The extension does not require any additional configuration before it can be installed, so select Install in the informational pop-up window to proceed.

Dashboard Extensions Users Import/Export Install Extension

Use the extension

After you've installed your extension, you'll see it listed in your list of installed extensions. Click on Import / Export Extension to launch.

Dashboard Extensions Installed Extensions tab

You'll be asked to grant permission for the extension to access your Auth0 account for the listed activities the first time you launch the extension."

Dashboard Extensions Authorize the Users Import/Export Extension

Click the check mark to proceed.

There are two ways of using this extension:

  • Bulk import your existing database users into Auth0

  • Search for and export some (or all) of your Auth0 database users

Both use cases are explained in further detail below.

Import users

By default, any time you open the extension, you'll see the User Import screen (if you're on the export screen, you can return to this screen by click Import in the left-hand navigation bar).

Dashboard Extensions Users Import Export Import users from file

To import your users, drag and drop a valid JSON file (schema and examples here) onto the area that says Drop your file here, or click to select. Alternatively, you can click on this area to browse your files and select the appropriate JSON file. The JSON file should contain the list of users that you are planning to import.

Select the database connection for which your users will be imported. Please make sure that the connection you choose has been enabled for at least one application.

Click Start Importing Users to begin the import process.

When done, you'll see the following Completed message.

Dashboard Extensions Users Import Export Import Complete

Once you've imported your users, you can manage them individually using Auth0 Dashboard > User Management > Users.

Export users

To export your existing Auth0 users associated with database connections, select Export.

Dashboard Extensions Users Import Export Export Users page

Under User Fields, you can decide which user attributes or expressions should be included in the export. The user attribute can be a static value like, or it can be a JavaScript expression like || Expressions will be evaluated during the export runtime. The column name value is how the value will be represented in the export.

You can click the Add Default Fields button to automatically select the default fields and populate their column names (this is also a good way for you to visualize how parameters/expressions will appear).

You can remove extraneous attributes/expressions by clicking on its associated trash can icon.

Under Settings, you can:

  • Configure how your exported users are listed by providing a User Attribute by which users should be sorted (as well as whether the users should be sorted in ascending or descending order)

  • Choose your Export Format; you can choose between JSON and CSV files

    Dashboard Extensions Users Import Export Settings Export Format

When you're ready, click Export X Users (where X is the number of users you're exporting).

You can download the file containing your users when the export is complete.

Dashboard Extensions Users Import Export Progress Indicator Export Complete