You cannot. If you buy your Swiss Travel Pass as a guest you cannot add it to the app afterwards.
Print out the Swiss Travel Pass so you can show the QR code to the train conductor. Or store it on your phone in some way. What matters is that the QR code can be scanned during a ticket check.
You can use the app to plan your trips without needing to add the pass.