Quickstart
17 min
back4app is a low code backend platform that simplifies building modern applications this guide will help you quickly set up back4app and start saving data back4app main features database (real time capability) cloud code functions apis (graphql and rest) file storage authentication web deployment push notifications 5 minutes quick start after creating your back4app account and first app, go to your app dashboard and get your app keys under app settings > security & keys app settings > security & keys (check the image below) note that you will always need two keys to connect with back4app, the application id application id , and another key according to the sdk sdk you will use 1\ install and configure the parse sdk to integrate the parse sdk, follow these general steps install the parse sdk javascript / node js npm install parse save react native npm install parse @react native async storage/async storage save , then run cd ios && pod install flutter add parse server sdk flutter to pubspec yaml android (java) add your app's build gradle inside dependencies{} build gradle implementation "com github parse community parse sdk android\ parse\ latest version" ios (swift) install cocoapods (sudo gem install cocoapods) and add parse to your podfile initialize the parse sdk with your application id and the appropriate key parse initialize('your application id', 'your javascript key'); parse serverurl = 'https //parseapi back4app com/'; the example above is for javascript/node js adjust accordingly for your platform 2\ save data on back4app create and save a sample object to confirm that the sdk is properly set up use the example below and adapt it to your programming language async function savenewplayer() { const player = new parse object('player'); player set('name', 'alex'); player set('yearofbirth', 1997); player set('emailcontact', 'alex\@email com'); player set('attributes', \['fast', 'good endurance']); try { const result = await player save(); console log('new object created with id ', result id); } catch (error) { console error('failed to save object ', error message); } } after saving, you can verify the data in the app dashboard on back4app 3\ platform specific setup javascript react / angular install the sdk npm install parse save initialize with your app keys and back4app server url flutter add parse server sdk flutter in your pubspec yaml pubspec yaml dependencies parse server sdk flutter ^latest version 2\ initialize parse in main dart await parse() initialize('your application id', 'https //parseapi back4app com', clientkey 'your client key'); android (kotlin/java) include the sdk in build gradle and configure network permissions in androidmanifest xml initialize in app kt parse initialize(new parse configuration builder(this) applicationid(getstring(r string back4app app id)) clientkey(getstring(r string back4app client key)) server(getstring(r string back4app server url)) build() ); ios (swift) add parseswift to your project using cocoapods initialize parse in appdelegate swift appdelegate swift let configuration = parseclientconfiguration { $0 applicationid = "your application id" $0 clientkey = "your client key" $0 server = "https //parseapi back4app com" } parse initialize(with configuration) php install the sdk with composer by creating a composer json with composer json { "require" { "parse/php sdk" "1 6 " } } then, run composer install 2\ initialize parse in your php script require 'vendor/autoload php'; parseclient initialize('your app id', 'your rest key', 'your master key'); parseclient setserverurl('https //parseapi back4app com', '/'); 3\ save data in php composer json $player = new parseobject("player"); $player >set("name", "alex"); $player >set("yearofbirth", 1997); $player >set("emailcontact", "alex\@email com"); $player >setarray("attributes", \["fast", "good endurance"]); $player >save(); net (c#) install parse sdk through nuget package manager in visual studio initialize parse in your application parseclient initialize(new parseclient configuration { applicationid = "your app id", server = "https //parseapi back4app com", clientkey = "your client key" }); 3\ save data in c# var player = new parseobject("player") { \["name"] = "alex", \["yearofbirth"] = 1997, \["emailcontact"] = "alex\@email com", \["attributes"] = new list\<object> { "fast", "good endurance" } }; await player saveasync(); rest api save data via rest by sending a post request curl x post \\ h "x parse application id your app id" \\ h "x parse rest api key your rest key" \\ h "content type application/json" \\ d '{"name" "alex", "yearofbirth" 1997, "emailcontact" "alex\@email com", "attributes" \["fast", "good endurance"]}' \\ https //parseapi back4app com/classes/player 4\ additional resources and examples there are many example apps and starter projects to get going reactjs slack clone a react template using real time, relational queries and authentication flutter user login/signup a user sign up/login flutter template using parse user parse user class react native associations a template on react native digging deeper into associations and relational queries using pointers pointers and relations relations flutter file storage saving files from a flutter app geopointers on kotlin android exploring geopointers in android todo list example is swift ios a todo list example in swift find more examples in back4app templates what to do next? after completing the quick start, we encourage you to explore back4app's key features through the guides below you'll learn how to store and query relational data, implement cloud functions for backend logic, use real time subscriptions to keep users updated, manage file storage, send push notifications, and set up authentication select the technology that best fits your project and enjoy the journey! react native flutter android ios javascript graphql ionic xamarin