To send and receive sensor data via the TTN, you must register once with the TTN and create an account.
https://www.thethingsnetwork.org/
A valid e-mail address is required for free registration. During the registration process, you create your own user name and password.