- Enginio Manual
- Getting Started with Enginio using Qt Quick
- Enginio 1.0.6 Reference Documentation

Enginio Installation and Prerequisites Getting Started with Enginio using C++

# Getting Started with Enginio using Qt Quick

## Setup a Qt Quick 2 application project

Create a new Qt Quick 2 Application.

You can use Qt Creator to get started with a template. (File ⇒ New File or Project ⇒ Applications ⇒ Qt Quick 2 Application)

## Initialize Enginio Client

To use Enginio's QML API, you have to import the library.

    import Enginio 1.0

Initialize the EnginioClient with the `backend id` value, which can be copied from the Dashboard.

Go to Dashboard ⇒ Your Backend home-view ⇒ See ’Keys box’ ⇒ Copy backend id value.

    EnginioClient {
        id: enginio
        backendId: "YOUR_OWN_BACKEND_ID"
    }

## Store your first Object

Now you can store an object with Enginio. First, create an object in JSON format and fill it with data as needed. Then call create on the client with the JSON object as a parameter.

    Component.onCompleted: {
        var city = {
            objectType: "objects.city",
            name: "Helsinki",
            population: 606000
        };
        enginio.create(city);
    }

Now you can check the Enginio dashboard for the newly created object.