Import from Clerk.

Bring Clerk users across from the dashboard's CSV export.

Export the users as CSV from the Clerk dashboard. The importer reads these columns: id, first_name, last_name, username, primary_email_address, primary_phone_number, verified_email_addresses, unverified_email_addresses, verified_phone_numbers, unverified_phone_numbers, totp_secret, password_digest, and password_hasher.

  • The address is primary_email_address. It is verified when verified_email_addresses lists it.
  • A password_digest whose password_hasher is bcrypt comes across. A user with another hasher comes across without a password.
  • Names, usernames, and phone numbers stay behind. The library owns no profiles; copy them into your application’s own rows.
  • totp_secret stays behind. Those people enroll again.
  • A user without an address is skipped as nothing_to_sign_in_with.
  • The file has no column for banned users. Remove them from the file before you import it.