# Create Database

Haska models are connect to the backend services by databases via _data sources_ that provide create, retrieve, update, and delete (CRUD) functions. Haska also generalizes other backend services, such as REST APIs, SOAP web services, and storage services, and so on, as data sources.\
Data sources are backed by _connectors_ that implement the data exchange logic using database drivers or other client APIs.

So let's start by connect your first database to your back-end services. Below is create database section in Haska:

![](https://4224935670-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLJWqvJtjL4p5b0wMai%2F-LLYcM_VAlq6XstV3P9p%2F-LLYdrPFQvsrCyK7IOAs%2FScreen%20Shot%202018-09-04%20at%2012.39.16%20PM.png?alt=media\&token=b44c562d-66a2-43d3-b4b2-76a341966b24)

As default we create memory type database for your models but you can connect another types of databases such as **mongodb, mysql, postgressql, oracle and redis** by fill out your database configuration&#x73;**.**&#x20;

As you can see in the picture we have to set some information to connect our database like **Name, Host address (localhost/server), Port, Username and Password** for your database security if exist.

When you click on check icon, your database gonna save to your Haska back-end services and you can assign your db to each model your want that we gonna explain that in next step.

{% content-ref url="connect-to-model" %}
[connect-to-model](connect-to-model)
{% endcontent-ref %}
