Register for a new account for a product

I’m writing an app for my particle product. In the console, I’ve set up the product so that user can create a particle account from my app. But now I’m looking for a way how user can create a particle account from my app? Is the particle-setup-ios library supporting this? Or users have to go to particle.io and register for an account there?

OK, after trying the particle-setup-sdk https://github.com/spark/ios-app-example-carthage, I can see that users can create a new account from here. I’ll take a closer look at the sdk