# in-app-purchases

Firstly , you should add in-app-purchases in App Store Connect. You can read this tutorial for detailed information: <https://www.raywenderlich.com/5456-in-app-purchase-tutorial-getting-started>

![IAP page in AppStore](https://1457591251-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9YkN0hj4wJ-rNGDfi8%2F-M9_3OQQPhEd5hGMTyfF%2F-M9_3hdC9G4ZCivRBygl%2Fiap.png?alt=media\&token=ec1371c4-c83b-4b63-8984-1522a7a84c44)

![Config.swift](https://1457591251-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9YkN0hj4wJ-rNGDfi8%2F-M9_3OQQPhEd5hGMTyfF%2F-M9_3mYh76Tb1n9GLXDN%2Fconfig.png?alt=media\&token=83e90b35-4cb0-41bb-b32d-63d7aff32cb2)

Then you should set product ids for IAP.
