> For the complete documentation index, see [llms.txt](https://sebloix.gitbook.io/gstore-node/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sebloix.gitbook.io/gstore-node/v4.x/model/creation.md).

# Creation

Once you have defined your schema, you can create a model calling\
`gstore.model(<EntityKind>, <schema>)`

As you can see, the name of the model will be the entity kind in the Datastore.

Example:

```javascript
const gstore = require('gstore-node')();
const Schema = gstore.Schema;

const userSchema = new Schema({
    name:{},
    lastname:{},
    email:{}
});

// Create the "User" model
const User = gstore.model('User', userSchema);
```
