Devices are automatically added to Find My iPhone when you enable it in Settings>iCloud. To track a device, either on icloud.com or from the Find My iPhone app, you need to sign in with the iCoud ID that the device you are trying to track is using. When you do, it will automatically list all devices using the iCloud ID with Find My iPhone enabled.