> For the complete documentation index, see [llms.txt](https://docs.hormo.studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hormo.studio/database/create-database.md).

# Create Database

Hormo Studio models are connect to the backend services by databases via *data sources* that provide create, retrieve, update, and delete (CRUD) functions. Hormo Studio also generalizes other backend services, such as REST APIs, SOAP web services, 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 Hormo Studio:

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/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;**.**

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 Hormo Studio 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="/pages/-Lz7-hWc4wZ-e5UaEn9n" %}
[Connect to model](/database/connect-to-model.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hormo.studio/database/create-database.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
