Here are the steps you need to follow in order to get started with the App42 platform
Register with the App42 platform
Create an App once you are on Quick-start page (after registration)
If you are already registered, login to theAppHQ console and create an App from the App Manager -> Create App link.
Once the App is created, you will get an ApiKey/SecretKey that you will use in your App for initialization of the SDK.
Include App42_RUBY_SDK gem in your application Gemfile
run “bundle update” command which will update all your gem dependencies to their latest versions
Now Create a YML file app42baas.yml inside the config folder of the application, which looks like:
Now create a second file in the config/initializers folder e.g. app42_load.rb and paste the following code inside that app42_load.rb
You have to instantiate ServiceAPI class and pass your ApiKey/SecretKey to initialize the SDK.
Once you have initialized your SDK with the API Key/SecretKey you have to build the target service that you want to use in your App. For example, User Service can be built with following snippet. Similarly you can build other services with the same notation. Want to know about all the services of App42 Platform? Click Here
Go To Creating App User for learning App User Management
Go To Saving App Data to learn about App Data Storage.