How to set up API for erpnext (gcp)?

I want to develop a mobile application for my erpnext server. I want to exchange data via api. So how do I set up the api (what folder is the code in? how to call it from outside?) If anyone has any knowledge about google cloud can you show me how to download the erpnext source code that I installed on Can it be sent to my device?