How to set userId as documentId (firebase documents)


i want my firebase database to have a specific structure and as documentId the given UserId (see screenshot). I am sure that this is not a big deal but i just cant figure it out right now.

thanks in advance!

2021-11-20 23_08_09-duracoleads – Cloud Firestore – Firebase Console und 1 weitere Seite - Geschäftl|591x500