# Create a record

To create a new record, click the **Add** button from the Table View.

![](/files/-Lykdr0GJooKAcPTqFEE)

{% hint style="warning" %}
There's no **Add** button? Record creation might be [disabled](/user-guide/project-settings/teams-and-users/manage-roles.md#collection-permissions-1) for your current role.
{% endhint %}

Once on the creation form, fill out all required fields as per your database's constraints:

![](/files/-LynMh3CbIDFH856Lk5e)

{% hint style="info" %}
This form can be customized. Check out [this section](/user-guide/getting-started/master-your-ui/using-the-layout-editor-mode/customize-your-creation-and-edition-forms.md#customizing-a-creation-form) to do so.
{% endhint %}

When creating a record, you can also link an *existing* `belongsTo` records **(2)** or create a *new* one **(3)**.

You can also add existing **(4)** or new **(5)** `hasMany` records from its *related data* collections **(1)**:

![](/files/-Lyo1OvJLDjhPE7tYkdH)

{% hint style="info" %}
If the `orders` field of collection *Customers* is **read-only**, you won't be able to add any order.
{% endhint %}

{% hint style="warning" %}
Disabling **record creation** for collection Orders will remove "Create new order" **(5)** in this creation form. However you'll still be able to "Add existing order" **(4)**.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.forestadmin.com/user-guide/collections/actions/create-a-record.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
